escript
Revision_
|
#include <SharedComponents.h>
Public Member Functions | |
SharedComponents (dim_t localLength, dim_t nNeighbours, const Esys_MPI_rank *neighbours, const index_t *sharedArray, const index_t *offset, index_t m, index_t b, Esys_MPIInfo *mpiInfo) | |
~SharedComponents () | |
Public Attributes | |
dim_t | local_length |
local array length shared | |
dim_t | numNeighbors |
number of processors sharing values with this processor | |
index_t * | offsetInShared |
Esys_MPI_rank * | neighbor |
list of the processors sharing values with this processor | |
index_t * | shared |
dim_t | numSharedComponents |
= offsetInShared[numNeighbors] | |
Esys_MPIInfo * | mpi_info |
paso::SharedComponents::SharedComponents | ( | dim_t | localLength, |
dim_t | nNeighbours, | ||
const Esys_MPI_rank * | neighbours, | ||
const index_t * | sharedArray, | ||
const index_t * | offset, | ||
index_t | m, | ||
index_t | b, | ||
Esys_MPIInfo * | mpiInfo | ||
) | [inline] |
References Esys_MPIInfo_getReference(), mpi_info, neighbor, numNeighbors, numSharedComponents, offsetInShared, and shared.
paso::SharedComponents::~SharedComponents | ( | ) | [inline] |
References Esys_MPIInfo_free(), mpi_info, neighbor, offsetInShared, and shared.
local array length shared
Referenced by SharedComponents(), and ~SharedComponents().
list of the processors sharing values with this processor
Referenced by SharedComponents(), and ~SharedComponents().
number of processors sharing values with this processor
Referenced by SharedComponents().
= offsetInShared[numNeighbors]
Referenced by SharedComponents().
offsetInSharedInput[i] points to the first input value in array shared for processor i. Has length numNeighbors+1
Referenced by SharedComponents(), and ~SharedComponents().
list of the (local) components which are shared with other processors. Has length numSharedComponents
Referenced by SharedComponents(), and ~SharedComponents().