49 #ifndef Foam_processorTopology_H 50 #define Foam_processorTopology_H 129 template<
class ProcPatch,
class PatchListType>
156 return procPatchMap_.
lookup(proci, -1);
163 return patchSchedule_;
processorTopology & operator=(const processorTopology &)=default
Copy assignment.
processorTopology()
Default construct (empty)
const lduSchedule & patchSchedule() const noexcept
Order in which the patches should be initialised/evaluated corresponding to the schedule.
label procPatchLookup(const label proci) const
Which local boundary is attached to specified neighbour processor.
const labelListList & procAdjacency() const
The complete processor to processor connection adjacency table. Globally synchronized information...
label comm() const noexcept
The communicator used during creation of the topology.
Determines/represents processor-processor connection. After instantiation contains the processor-proc...
static processorTopology New(const PatchListType &patches, const label comm)
Factory method to create topology, schedule and proc/patch maps.
const labelList & procNeighbours() const
The neighbour processor connections (ascending order) associated with the local rank.
const T & lookup(const Key &key, const T &deflt) const
Return hashed entry if it exists, or return the given default.
const polyBoundaryMesh & patches