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>
A 1D vector of objects of type <T> that resizes itself as necessary to accept the new objects.
Generic GeometricField class.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
A HashTable to objects of type <T> with a label key.
Templated abstract base-class for optional mesh objects used to automate their allocation to the mesh...
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.
Calculates a unique integer (label so might not have enough room - 2G max) for processor + local inde...
computes a cell point cell stencil in a narrow band. resizes in case of topological change
Class for parallel communication in a narrow band. It either provides a Map with the neighbouring val...
TypeName("zoneDistribute")
Runtime information.
virtual ~zoneDistribute()=default
Destructor.
const globalIndex & globalNumbering() const noexcept
Addressing reference.
void updateStencil(const boolList &zone)
Updates stencil with boolList the size has to match mesh nCells.
void setUpCommforZone(const boolList &zone, bool updateStencil=true)
Update stencil with boolList the size has to match mesh nCells.
Type getValue(const VolumeField< Type > &phi, const Map< Type > &valuesFromOtherProc, const label gblIdx) const
static zoneDistribute & New(const fvMesh &)
Selector.
const labelListList & getStencil() noexcept
Stencil reference.
Map< Type > getDatafromOtherProc(const boolList &zone, const VolumeField< Type > &phi)
Returns stencil and provides a Map with globalNumbering.
Map< Field< Type > > getFields(const boolList &zone, const VolumeField< Type > &phi)
Returns stencil and provides a Map with globalNumbering.
Base class for mesh zones.
#define TypeName(TypeNameString)
Declare a ClassName() with extra virtual type info.