62 #ifndef Foam_zoneDistribute_H 63 #define Foam_zoneDistribute_H 83 public MeshObject<fvMesh, TopologicalMeshObject, zoneDistribute>
109 template<
typename Type>
118 template<
typename Type>
162 return globalNumbering_;
167 template<
typename Type>
176 template<
typename Type>
184 template<
typename Type>
const labelListList & getStencil() noexcept
Stencil reference.
Map< Type > getDatafromOtherProc(const boolList &zone, const VolumeField< Type > &phi)
Returns stencil and provides a Map with globalNumbering.
virtual ~zoneDistribute()=default
Destructor.
Map< Field< Type > > getFields(const boolList &zone, const VolumeField< Type > &phi)
Returns stencil and provides a Map with globalNumbering.
computes a cell point cell stencil in a narrow band. resizes in case of topological change ...
Generic GeometricField class.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
static zoneDistribute & New(const fvMesh &)
Selector.
Base class for mesh zones.
zoneDistribute(const fvMesh &)
Construct from fvMesh.
void setUpCommforZone(const boolList &zone, bool updateStencil=true)
Update stencil with boolList the size has to match mesh nCells.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Mesh data needed to do the Finite Volume discretisation.
TypeName("zoneDistribute")
Runtime information.
void updateStencil(const boolList &zone)
Updates stencil with boolList the size has to match mesh nCells.
Class for parallel communication in a narrow band. It either provides a Map with the neighbouring val...
const globalIndex & globalNumbering() const noexcept
Addressing reference.
A HashTable to objects of type <T> with a label key.
Type getValue(const VolumeField< Type > &phi, const Map< Type > &valuesFromOtherProc, const label gblIdx) const
Gives patchNumber and patchFaceNumber for a given Geometric volume field.