Go to the documentation of this file.
44 #ifndef zoneDistribute_H
45 #define zoneDistribute_H
67 public MeshObject<fvMesh, UpdateableMeshObject, zoneDistribute>
86 template<
typename Type>
96 template<
typename Type>
143 template<
typename Type>
152 template<
typename Type>
160 template<
typename Type>
Type getValue(const GeometricField< Type, fvPatchField, volMesh > &phi, const Map< Type > &valuesFromOtherProc, const label gblIdx) const
Map< Type > getDatafromOtherProc(const boolList &zone, const GeometricField< Type, fvPatchField, volMesh > &phi)
Returns stencil and provides a Map with globalNumbering.
TypeName("zoneDistribute")
Runtime information.
virtual bool movePoints()
Base class for mesh zones.
A HashTable to objects of type <T> with a label key.
const labelListList & getStencil()
Stencil reference.
const globalIndex & globalNumbering() const
Global numbering for cells and boundary faces.
virtual void updateMesh(const mapPolyMesh &mpm)
zoneDistribute(const fvMesh &)
Construct from fvMesh.
Mesh data needed to do the Finite Volume discretisation.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
static zoneDistribute & New(const fvMesh &)
void setUpCommforZone(const boolList &zone, bool updateStencil=true)
Update stencil with boolList the size has to match mesh nCells.
void updateStencil(const boolList &zone)
Updates stencil with boolList the size has to match mesh nCells.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Class for parallel communication in a narrow band. It either provides a Map with the neighbouring val...
Map< Field< Type > > getFields(const boolList &zone, const GeometricField< Type, fvPatchField, volMesh > &phi)
Returns stencil and provides a Map with globalNumbering.
Class containing mesh-to-mesh mapping information after a change in polyMesh topology.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
const globalIndex & globalNumbering() const
Addressing reference.
computes a cell point cell stencil in a narrow band. resizes in case of topological change