45#ifndef Foam_faMeshSubset_H
46#define Foam_faMeshSubset_H
95 void calcEdgeFlipMap()
const;
189 const
bool allowUnmapped = false
212 const
bool allowUnmapped = false
221 const
bool allowUnmapped = false
232#include "faMeshSubsetI.H"
237 #include "faMeshSubset.txx"
Generic GeometricField class.
Mesh data needed to do the Finite Area discretisation.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
Mesh data needed to do the Finite Area discretisation.
faMeshSubset(const faMeshSubset &)=delete
No copy construct.
static word exposedPatchName
Name for exposed internal edges (default: oldInternalEdges).
const labelList & faceMap() const
Return face map.
void operator=(const faMeshSubset &)=delete
No copy assignment.
faMeshSubset(const faMesh &baseMesh, Foam::zero)
Construct a zero-sized subset mesh, non-processor patches only.
const labelList & cellMap() const
Return cell map.
const faMesh & mesh() const noexcept
Return baseMesh or subMesh, depending on the current state.
bool checkHasSubMesh() const
FatalError if subset has not been performed.
const faMesh & subMesh() const
Return reference to subset mesh.
const labelList & patchMap() const
Return patch map.
const labelList & pointMap() const
Return point map.
faMeshSubset(const faMesh &baseMesh) noexcept
Construct using the entire mesh (no subset).
void clear()
Reset subMesh and all maps.
bool hasSubMesh() const noexcept
Have subMesh?
void reset()
Reset subMesh and all maps. Same as clear().
static tmp< GeometricField< Type, faPatchField, areaMesh > > interpolate(const GeometricField< Type, faPatchField, areaMesh > &, const faMesh &sMesh, const bool allowUnmapped=false)
Map area field.
const labelList & edgeFlipMap() const
Return edge map with sign to encode flipped edges.
const faMesh & baseMesh() const noexcept
Original mesh.
Finite area mesh (used for 2-D non-Euclidian finite area method) defined using a patch of faces on a ...
faPatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cover...
faePatchField<Type> abstract base class. This class gives a fat-interface to all derived classes cove...
Class containing mesh-to-mesh mapping information after a mesh distribution where we send parts of me...
A class for managing temporary objects.
A class for handling words, derived from Foam::string.
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
List< label > labelList
A List of labels.