escript  Revision_
Public Member Functions | Public Attributes
paso::SharedComponents Struct Reference

#include <SharedComponents.h>

List of all members.

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_toffsetInShared
Esys_MPI_rankneighbor
 list of the processors sharing values with this processor
index_tshared
dim_t numSharedComponents
 = offsetInShared[numNeighbors]
Esys_MPIInfompi_info

Constructor & Destructor Documentation

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]

Member Data Documentation

local array length shared

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().


The documentation for this struct was generated from the following file: