escript Revision_
paso::SharedComponents Struct Reference

#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
 
std::vector< int > neighbour
 list of the processors sharing values with this processor
 
std::vector< index_toffsetInShared
 
index_tshared
 
dim_t numSharedComponents
 = offsetInShared[numNeighbours]
 

Constructor & Destructor Documentation

◆ SharedComponents()

paso::SharedComponents::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 )
inline

◆ ~SharedComponents()

paso::SharedComponents::~SharedComponents ( )
inline

Member Data Documentation

◆ local_length

dim_t paso::SharedComponents::local_length

local array length shared

◆ neighbour

std::vector<int> paso::SharedComponents::neighbour

list of the processors sharing values with this processor

◆ numSharedComponents

dim_t paso::SharedComponents::numSharedComponents

= offsetInShared[numNeighbours]

◆ offsetInShared

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

◆ shared

index_t* paso::SharedComponents::shared

list of the (local) components which are shared with other processors. Has length numSharedComponents


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