38 #ifndef singleCellFvMesh_H 39 #define singleCellFvMesh_H 104 addressing_(addressing),
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.
fvMesh as subset of other mesh. Consists of one cell and all original bounday faces. Useful when manipulating boundary data. Single internal cell only needed to be able to manipulate in a standard way.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
const labelListList & patchFaceMap() const
From patchFace on this back to original mesh or agglomeration.
agglomPatchFieldMapper(const labelListList &addressing, const scalarListList &weights)
Construct given addressing.
virtual const scalarListList & weights() const
void size(const label)
Override size to be inconsistent with allocated storage.
bool empty() const
Return true if the hash table is empty.
Patch field mapper class for agglomerated meshes.
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Map volField. Internal field set to average, patch fields straight.
Generic GeometricField class.
void operator=(const singleCellFvMesh &)=delete
Disallow default bitwise assignment.
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.
virtual const labelListList & addressing() const
Mesh data needed to do the Finite Volume discretisation.
virtual label size() const
singleCellFvMesh(const IOobject &io, const fvMesh &)
Construct from fvMesh and no agglomeration.
A class for managing temporary objects.
virtual bool direct() const
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const labelList & reverseFaceMap() const
From face on original mesh to face on this.
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.