38 #ifndef singleCellFvMesh_H
39 #define singleCellFvMesh_H
110 if (addressing_[i].
empty())
120 return addressing_.
size();
123 virtual bool direct()
const
172 return patchFaceAgglomeration_.size() > 0;
178 return patchFaceMap_;
190 return reverseFaceMap_;
197 return reversePointMap_;
#define forAll(list, i)
Loop across all elements in list.
Generic GeometricField class.
bool empty() const
Return true if the hash table is empty.
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
void size(const label)
Override size to be inconsistent with allocated storage.
Mesh data needed to do the Finite Volume discretisation.
Patch field mapper class for agglomerated meshes.
virtual label size() const
virtual const labelListList & addressing() const
agglomPatchFieldMapper(const labelListList &addressing, const scalarListList &weights)
Construct given addressing.
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
virtual bool direct() const
virtual const scalarListList & weights() const
fvMesh as subset of other mesh. Consists of one cell and all original boundary faces....
const labelListList & patchFaceMap() const
From patchFace on this back to original mesh or agglomeration.
const labelList & reversePointMap() const
From point on original mesh to point on this (or -1 for removed.
const labelList & pointMap() const
From point on this back to original mesh.
const labelList & reverseFaceMap() const
From face on original mesh to face on this.
void operator=(const singleCellFvMesh &)=delete
Disallow default bitwise assignment.
tmp< VolField< Type > > interpolate(const VolField< Type > &) const
Map volField. Internal field set to average, patch fields straight.
singleCellFvMesh(const IOobject &io, const fvMesh &)
Construct from fvMesh and no agglomeration.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.