41#ifndef Foam_singleCellFvMesh_H
42#define Foam_singleCellFvMesh_H
86 singleCellFvMesh(
const singleCellFvMesh&) =
delete;
89 void operator=(
const singleCellFvMesh&) =
delete;
128 virtual label
size()
const
130 return addressing_.
size();
133 virtual bool direct()
const
163 const bool doInit=
true
174 const bool doInit=
true
178 singleCellFvMesh(
const IOobject&
io,
const bool doInit=
true);
185 return !patchFaceAgglomeration_.empty();
191 return patchFaceAgglomeration_;
197 return patchFaceMap_;
209 return reverseFaceMap_;
216 return reversePointMap_;
Generic GeometricField class.
Defines the attributes of an object for which implicit objectRegistry management is supported,...
void size(const label n)
Older name for setAddressableSize.
Mesh data needed to do the Finite Volume discretisation.
virtual void interpolate(volScalarField &) const
Interpolate interpolationCells only.
fvMesh(const fvMesh &)=delete
No copy construct.
A FieldMapper for finite-volume patch fields.
fvPatchFieldMapper()=default
Default construct.
Patch field mapper class for agglomerated meshes.
virtual label size() const
The size of the mapper.
agglomPatchFieldMapper(const labelListList &addressing, const scalarListList &weights)
Construct given addressing.
bool hasUnmapped() const
Any unmapped values?
virtual const scalarListList & weights() const
Return the interpolation weights.
virtual const labelListList & addressing() const
Return the interpolation addressing.
virtual bool direct() const
Is it a direct (non-interpolating) mapper?
fvMesh as subset of other mesh. Consists of one cell and all original boundary faces....
const labelListList & patchFaceAgglomeration() const noexcept
Fine patch face to agglomeration index addressing.
const labelList & reverseFaceMap() const noexcept
From face on original mesh to face on this.
const labelListList & patchFaceMap() const noexcept
From patchFace on this back to original mesh or agglomeration.
bool agglomerate() const noexcept
const labelList & reversePointMap() const noexcept
From point on original mesh to point on this (or -1 for removed points).
const labelList & pointMap() const noexcept
From point on this back to original mesh.
tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &) const
Map volField. Internal field set to average, patch fields straight copies.
A class for managing temporary objects.
List< scalarList > scalarListList
List of scalarList.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
IOList< label > labelIOList
IO for a List of label.
IOList< labelList > labelListIOList
IO for a List of labelList.