escript
Revision_
|
#include <SharedComponents.h>
Public Member Functions | |
SharedComponents (dim_t localLength, const std::vector< int > &neighbours, const index_t *sharedArray, const std::vector< index_t > &offset, index_t m=1, index_t b=0) | |
~SharedComponents () | |
Public Attributes | |
dim_t | local_length |
local array length shared More... | |
std::vector< int > | neighbour |
list of the processors sharing values with this processor More... | |
std::vector< index_t > | offsetInShared |
index_t * | shared |
dim_t | numSharedComponents |
= offsetInShared[numNeighbours] More... | |
|
inline |
References numSharedComponents, offsetInShared, and shared.
|
inline |
References shared.
dim_t paso::SharedComponents::local_length |
local array length shared
std::vector<int> paso::SharedComponents::neighbour |
list of the processors sharing values with this processor
dim_t paso::SharedComponents::numSharedComponents |
= offsetInShared[numNeighbours]
Referenced by SharedComponents().
std::vector<index_t> paso::SharedComponents::offsetInShared |
offsetInShared[i] points to the first input value in array shared for processor i. Has length numNeighbors+1
Referenced by SharedComponents().
index_t* paso::SharedComponents::shared |
list of the (local) components which are shared with other processors. Has length numSharedComponents
Referenced by SharedComponents(), and ~SharedComponents().