59 : tile_width(-1), local_indices(false)
81 local_indices = value;
109 for (
size_t i = 0; i < args.size(); i++) {
110 args.at(i)->update();
132 std::vector<ArgumentType*> args;
152 void init(
int nl,
int ml,
int fr,
int fc)
161 int nLocal, mLocal, firstRow, firstCol;
199 for (
size_t i = 0; i < args.size(); i++) {
200 args.at(i)->update();
214 std::vector<ArgumentType*> args;
bool useLocalIndices() const
Checks whether indices are local or global.
Definition: functor_base.h:68
void addArgument(ArgumentType *arg)
Adds an additional argument to the functor.
Definition: functor_base.h:209
virtual ~FunctorBase()
Destructor.
Definition: functor_base.h:127
Class ArrayFunctorBase represents the base class for all functors to be used with any distributed arr...
Definition: functor_base.h:168
void setTileWidth(int value)
Sets the tile width.
Definition: functor_base.h:99
Class MatrixFunctorBase represents the base class for all functors to be used with any distributed ma...
Definition: functor_base.h:141
void init(int nl, int f)
Initializes its attributes.
Definition: functor_base.h:177
void notify()
Notifies all observed objects (additional arguments) to update.
Definition: functor_base.h:107
void setLocalIndices(bool value)
Use this function to configure your functor to use local indices instead of global indices...
Definition: functor_base.h:79
Class FunctorBase represents the base class for all functor classes.
Definition: functor_base.h:52
void init(int nl, int ml, int fr, int fc)
Initializes its attributes.
Definition: functor_base.h:152
void addArgument(ArgumentType *arg)
Adds an additional argument to the functor.
Definition: functor_base.h:119
FunctorBase()
Default constructor.
Definition: functor_base.h:58
int getTileWidth() const
Returns the tile_width. If tiling is not used, -1 will be returned.
Definition: functor_base.h:89
void notify()
Notifies all observed objects (additional arguments) to update.
Definition: functor_base.h:197
Base class for argument types of functors.
Definition: argtype.h:47
Class FarmFunctorBase represents the base class for all functors to be used with the farm skeleton...
Definition: functor_base.h:191