Muesli
 All Classes Namespaces Files Functions Typedefs Enumerations
Public Member Functions | Protected Attributes | List of all members
msl::detail::ArrayFunctorBase Class Reference

Class ArrayFunctorBase represents the base class for all functors to be used with any distributed array skeletons. More...

#include <functor_base.h>

Inheritance diagram for msl::detail::ArrayFunctorBase:
msl::detail::FunctorBase msl::AFoldFunctor< T, R > msl::AMapFunctor< T, R > msl::AMapIndexFunctor< T, R > msl::AMapStencilFunctor< T, R > msl::AZipFunctor< T1, T2, R > msl::AZipIndexFunctor< T1, T2, R >

Public Member Functions

void init (int nl, int f)
 Initializes its attributes. More...
 
- Public Member Functions inherited from msl::detail::FunctorBase
 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
 
- Protected Attributes inherited from msl::detail::FunctorBase
std::vector< ArgumentType * > args
 
int tile_width
 
bool local_indices
 

Detailed Description

Class ArrayFunctorBase represents the base class for all functors to be used with any distributed array skeletons.

Member Function Documentation

void msl::detail::ArrayFunctorBase::init ( int  nl,
int  f 
)
inline

Initializes its attributes.

Parameters
nlNumber of local rows.
fIndex of first element of the local partition.

The documentation for this class was generated from the following file: