The Range class defines a simple mathematical range used by the Processor class.
More...
#include <range.h>
The Range class defines a simple mathematical range used by the Processor class.
Dummy range object with no data.
Range::Range |
( |
int |
rank, |
|
|
int |
nDecomposedElements, |
|
|
int |
nElementsTotal |
|
) |
| |
Sets up a range object by decomposing the number of elements to the given number of decomposed elements (number of processors).
int Range::firstElement |
( |
) | |
|
|
inline |
int Range::lastElement |
( |
) | |
|
|
inline |
std::ostream& operator<< |
( |
std::ostream & |
os, |
|
|
const Range & |
dt |
|
) |
| |
|
friend |
The documentation for this class was generated from the following files:
- /home/svenni/Dropbox/projects/programming/emdee/emdee/src/libs/range.h
- /home/svenni/Dropbox/projects/programming/emdee/emdee/src/libs/range.cpp