Class ArrayFunctorBase represents the base class for all functors to be used with any distributed array skeletons. More...
#include <functor_base.h>
Public Member Functions | |
void | init (int nl, int f) |
Initializes its attributes. More... | |
![]() | |
FunctorBase () | |
Default constructor. | |
bool | useLocalIndices () const |
Checks whether indices are local or global. More... | |
void | setLocalIndices (bool value) |
Use this function to configure your functor to use local indices instead of global indices. More... | |
int | getTileWidth () const |
Returns the tile_width. If tiling is not used, -1 will be returned. More... | |
void | setTileWidth (int value) |
Sets the tile width. More... | |
void | notify () |
Notifies all observed objects (additional arguments) to update. | |
void | addArgument (ArgumentType *arg) |
Adds an additional argument to the functor. More... | |
virtual | ~FunctorBase () |
Destructor. | |
Protected Attributes | |
int | nLocal |
int | first |
![]() | |
std::vector< ArgumentType * > | args |
int | tile_width |
bool | local_indices |
Class ArrayFunctorBase represents the base class for all functors to be used with any distributed array skeletons.
|
inline |
Initializes its attributes.
nl | Number of local rows. |
f | Index of first element of the local partition. |