escript  Revision_
Public Member Functions | Public Attributes | List of all members
paso::SharedComponents Struct Reference

#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, const esysUtils::JMPI &mpiInfo)
 
 ~SharedComponents ()
 

Public Attributes

dim_t local_length
 local array length shared More...
 
dim_t numNeighbors
 number of processors sharing values with this processor More...
 
index_toffsetInShared
 
Esys_MPI_rankneighbor
 list of the processors sharing values with this processor More...
 
index_tshared
 
dim_t numSharedComponents
 = offsetInShared[numNeighbors] More...
 
const esysUtils::JMPI mpi_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,
const esysUtils::JMPI mpiInfo 
)
inline
paso::SharedComponents::~SharedComponents ( )
inline

References neighbor, offsetInShared, and shared.

Member Data Documentation

dim_t paso::SharedComponents::local_length

local array length shared

const esysUtils::JMPI paso::SharedComponents::mpi_info
Esys_MPI_rank* paso::SharedComponents::neighbor

list of the processors sharing values with this processor

Referenced by SharedComponents(), and ~SharedComponents().

dim_t paso::SharedComponents::numNeighbors

number of processors sharing values with this processor

Referenced by SharedComponents().

dim_t paso::SharedComponents::numSharedComponents

= offsetInShared[numNeighbors]

Referenced by SharedComponents().

index_t* paso::SharedComponents::offsetInShared

offsetInSharedInput[i] points to the first input value in array shared for processor i. Has length numNeighbors+1

Referenced by SharedComponents(), and ~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().


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