|
|
| MPI_View () |
| | create a root environment
|
| |
|
virtual | ~MPI_View (void) |
| | destroy
|
| |
|
const tMPIIOIndex & | getStartIndex () const |
| | get the start index
|
| |
|
const tMPIType & | getType () const |
| | get the type of the element of the view
|
| |
|
const tMPIView & | getMPIView () const |
| | get the mpi view of the view
|
| |
| template<int N, typename T > |
| tBoolean | createSubArrayView (const std::array< int, N > &arraySize, const std::array< int, N > &startElement, const std::array< int, N > &subarraySize) |
| | create a sub array view of an array with N dimension More...
|
| |
| template<typename T > |
| tBoolean | createVariableStepView (const tMPICount &nElements, const std::valarray< tMPICount > &elementSizes, const std::valarray< tMPICount > &elementIndices) |
| | create a variable step view More...
|
| |
| template<class T > |
| std::shared_ptr< T > | getSharedPointer () |
| | return the shared pointer for this More...
|
| |
| template<class T > |
| std::shared_ptr< const T > | getConstSharedPointer () const |
| | return a const shared pointer for this More...
|
| |
| virtual tMemSize | getMemorySize () const |
| | return the memory size of the class and the memory size of all its attributes/associations More...
|
| |
| virtual tMemSize | getContentsMemorySize () const |
| | return nthe memory size of the included associations More...
|
| |
| template<class T > |
| tBoolean | isInstanceOf () const |
| | test if the clas T is an instance of this class More...
|
| |
| tString | getClassName () const |
| | return the name of the class More...
|
| |
| tString | getPointerString () const |
| | retrun the pointer of the class as a string More...
|
| |
| tString | getIdentityString () const |
| | retrun the string identification of the class More...
|
| |
| virtual tString | toString () const |
| | return the string representation of the object node More...
|
| |
This class describes a view as follow:
a view is a tDataType
- Author
- Stephane Despreaux
- Version
- 2.0
template<int N, typename T >
| tBoolean MPI_View::createSubArrayView |
( |
const std::array< int, N > & |
arraySize, |
|
|
const std::array< int, N > & |
startElement, |
|
|
const std::array< int, N > & |
subarraySize |
|
) |
| |
|
inline |
create a sub array view of an array with N dimension
- Template Parameters
-
| N | : dimesnion of the space |
| T | : type of the element |
- Parameters
-
| [in] | arraySize | size of the array ie number of elements per directions |
| [in] | startElement | : index of the start element within the array |
| [in] | subarraySize | size of the sub array ie the number of elements per directions |
exemple createSubarrayView<2,tInteger>({4,4},{0,1},{2,2})