38 #ifndef singleCellFvMesh_H 39 #define singleCellFvMesh_H 110 addressing_(addressing),
116 if (addressing_[i].
empty())
126 return addressing_.
size();
129 virtual bool direct()
const 174 return patchFaceAgglomeration_.
size() > 0;
180 return patchFaceMap_;
192 return reverseFaceMap_;
199 return reversePointMap_;
const labelList & reverseFaceMap() const
From face on original mesh to face on this.
Mesh data needed to do the Finite Volume discretisation.
Patch field mapper class for agglomerated meshes.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.
void size(const label)
Override size to be inconsistent with allocated storage.
Foam::fvPatchFieldMapper.
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.
const labelList & reversePointMap() const
From point on original mesh to point on this (or -1 for removed.
virtual bool direct() const
IOobject defines the attributes of an object for which implicit objectRegistry management is supporte...
const labelList & pointMap() const
From point on this back to original mesh.
Generic GeometricField class.
agglomPatchFieldMapper(const labelListList &addressing, const scalarListList &weights)
Construct given addressing.
virtual label size() const
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Map volField. Internal field set to average, patch fields straight.
bool hasUnmapped() const
Are there unmapped values? I.e. do all size() elements get.
bool empty() const
Return true if the hash table is empty.
A class for managing temporary objects.
const labelListList & patchFaceMap() const
From patchFace on this back to original mesh or agglomeration.
virtual const scalarListList & weights() const
virtual const labelListList & addressing() const