Go to the documentation of this file.
41 #ifndef ProcessorTopology_H
42 #define ProcessorTopology_H
56 template<
class Container,
class ProcPatch>
labelList procNeighbours(const label nProcs, const Container &)
Return all neighbouring processors of this processor. Set.
labelList procPatchMap_
Local map from neighbour proc to patchI. Different per processor!
static lduSchedule nonBlockingSchedule(const Container &patches)
Calculate non-blocking (i.e. unscheduled) schedule.
ProcessorTopology(const Container &patches, const label comm)
Construct from boundaryMesh.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
lduSchedule patchSchedule_
Order in which the patches should be initialised/evaluated.
Determines processor-processor connection. After instantiation contains on all processors the process...
const lduSchedule & patchSchedule() const
Order in which the patches should be initialised/evaluated.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const labelList & procPatchMap() const
From neighbour processor to index in boundaryMesh. Local information.