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

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

#include <functor_base.h>

Inheritance diagram for msl::detail::MatrixFunctorBase:
msl::detail::FunctorBase msl::MFoldFunctor< T, R > msl::MMapFunctor< T, R > msl::MMapIndexFunctor< T, R > msl::MMapStencilFunctor< T, R > msl::MZipFunctor< T1, T2, R > msl::MZipIndexFunctor< T1, T2, R >

Public Member Functions

void init (int nl, int ml, int fr, int fc)
 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 mLocal
 
int firstRow
 
int firstCol
 
- Protected Attributes inherited from msl::detail::FunctorBase
std::vector< ArgumentType * > args
 
int tile_width
 
bool local_indices
 

Detailed Description

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

Member Function Documentation

void msl::detail::MatrixFunctorBase::init ( int  nl,
int  ml,
int  fr,
int  fc 
)
inline

Initializes its attributes.

Parameters
nlNumber of local rows.
mlNumber of local columns.
frIndex of first row of the local partition.
fcIndex of first column of the local partition.

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