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_;
A HashTable to objects of type <T> with a label key.
static processorTopology New(const PatchListType &patches, const label comm)
Factory method to create topology, schedule and proc/patch maps.
const labelListList & procAdjacency() const
The complete processor to processor connection adjacency table. Globally synchronized information.
label procPatchLookup(const label proci) const
Which local boundary is attached to specified neighbour processor.
processorTopology(const processorTopology &)=default
Copy construct.
const labelList & procNeighbours() const
The neighbour processor connections (ascending order) associated with the local rank.
processorTopology(processorTopology &&)=default
Move construct.
const lduSchedule & patchSchedule() const noexcept
Order in which the patches should be initialised/evaluated corresponding to the schedule.
processorTopology() noexcept
Default construct (empty).
processorTopology & operator=(const processorTopology &)=default
Copy assignment.
label comm() const noexcept
The communicator used during creation of the topology.
processorTopology & operator=(processorTopology &&)=default
Move assignment.
const polyBoundaryMesh & patches
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
List< lduScheduleEntry > lduSchedule
A List of lduSchedule entries.