Go to the documentation of this file.
38 #ifndef singleCellFvMesh_H
39 #define singleCellFvMesh_H
129 virtual bool direct()
const
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
labelIOList reverseFaceMap_
From fine mesh faces to coarse mesh.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
virtual bool direct() const
#define forAll(list, i)
Loop across all elements in list.
A class for managing temporary objects.
virtual label size() const
const labelList & reverseFaceMap() const
From face on original mesh to face on this.
singleCellFvMesh(const singleCellFvMesh &)
Disallow default bitwise copy construct.
Patch field mapper class for agglomerated meshes.
const labelList & pointMap() const
From point on this back to original mesh.
virtual const labelListList & addressing() const
virtual const scalarListList & weights() const
fvMesh as subset of other mesh. Consists of one cell and all original bounday faces....
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Map volField. Internal field set to average, patch fields straight.
void operator=(const singleCellFvMesh &)
Disallow default bitwise assignment.
bool empty() const
Return true if the hash table is empty.
agglomPatchFieldMapper(const labelListList &addressing, const scalarListList &weights)
Construct given addressing.
const scalarListList & weights_
labelIOList reversePointMap_
From fine points to coarse mesh.
Mesh data needed to do the Finite Volume discretisation.
const labelListList & patchFaceMap() const
From patchFace on this back to original mesh or agglomeration.
const labelListIOList patchFaceAgglomeration_
void agglomerateMesh(const fvMesh &, const labelListList &)
Calculate agglomerated mesh.
labelListIOList patchFaceMap_
From patch faces back to agglomeration or fine mesh.
A 1D array of objects of type <T>, where the size of the vector is known and used for subscript bound...
const labelListList & addressing_
labelIOList pointMap_
From coarse points back to original mesh.
Foam::fvPatchFieldMapper.
void size(const label)
Override size to be inconsistent with allocated storage.
Generic GeometricField class.
const labelList & reversePointMap() const
From point on original mesh to point on this (or -1 for removed.