Helper structure for the easy creation of a linear displacement with a the same length.
More...
#include <displacementTools.hpp>
|
int * | counts |
| The array with the counts.
|
|
int * | displs |
| The array with the displacements.
|
|
Helper structure for the easy creation of a linear displacement with a the same length.
◆ LinearDisplacements()
medi::LinearDisplacements::LinearDisplacements |
( |
int | commSize, |
|
|
int | length ) |
|
inline |
Create displacemnts where each displacement has the size length.
displs[0] = 0; displs[1] = length; displs[2] = 2 * length; ...
counts[i] = length;
- Parameters
-
[in] | commSize | The size of the communication object. |
[in] | length | The length of each displacement. |
◆ ~LinearDisplacements()
medi::LinearDisplacements::~LinearDisplacements |
( |
| ) |
|
|
inline |
◆ deleteFunc()
static void medi::LinearDisplacements::deleteFunc |
( |
void * | d | ) |
|
|
inlinestatic |
◆ counts
int* medi::LinearDisplacements::counts |
The array with the counts.
◆ displs
int* medi::LinearDisplacements::displs |
The array with the displacements.
The documentation for this struct was generated from the following file: