28 #ifndef __PASO_SHAREDCOMPONENTS_H__ 29 #define __PASO_SHAREDCOMPONENTS_H__ 68 for (
dim_t i=0; i<offset[nNeighbours]; i++) {
69 const index_t itmp=m*sharedArray[i]+b;
70 for (
dim_t j=0; j < m; ++j)
111 #endif // __PASO_SHAREDCOMPONENTS_H__
#define PASO_DLL_API
Definition: Paso.h:41
dim_t numNeighbors
number of processors sharing values with this processor
Definition: SharedComponents.h:90
~SharedComponents()
Definition: SharedComponents.h:79
boost::shared_ptr< const SharedComponents > const_SharedComponents_ptr
Definition: SharedComponents.h:37
boost::shared_ptr< SharedComponents > SharedComponents_ptr
Definition: SharedComponents.h:35
const esysUtils::JMPI mpi_info
Definition: SharedComponents.h:106
dim_t local_length
local array length shared
Definition: SharedComponents.h:87
index_t * offsetInShared
Definition: SharedComponents.h:94
dim_t numSharedComponents
= offsetInShared[numNeighbors]
Definition: SharedComponents.h:104
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)
Definition: SharedComponents.h:42
int index_t
Definition: types.h:24
int Esys_MPI_rank
Definition: Esys_MPI.h:59
Definition: SharedComponents.h:40
index_t dim_t
Definition: types.h:27
Esys_MPI_rank * neighbor
list of the processors sharing values with this processor
Definition: SharedComponents.h:97
boost::shared_ptr< JMPI_ > JMPI
Definition: Esys_MPI.h:79
index_t * shared
Definition: SharedComponents.h:101