61 #ifndef Foam_fvMeshSubset_H 62 #define Foam_fvMeshSubset_H 109 void doCoupledPatches
119 void calcFaceFlipMap()
const;
157 const bitSet& selectedCells,
159 const bool syncPar =
true 169 const bool syncPar =
true 179 const bool syncPar =
true 190 const bool syncPar =
true 261 const
bitSet& selectedCells,
263 const
bool syncPar = true
271 const
bool syncPar = true
279 const
bool syncPar = true
288 const
bool syncCouples = true
297 const
bitSet& selectedCells,
299 const
bool syncPar = true
310 const bool syncPar =
true 321 const bool syncPar =
true 333 const bool syncPar =
true 344 static tmp<DimensionedField<Type, volMesh>>
347 const DimensionedField<Type, volMesh>&,
355 static tmp<GeometricField<Type, fvPatchField, volMesh>>
358 const GeometricField<Type, fvPatchField, volMesh>&,
363 const bool allowUnmapped =
false 370 static tmp<GeometricField<Type, fvsPatchField, surfaceMesh>>
373 const GeometricField<Type, fvsPatchField, surfaceMesh>&,
401 const bool allowUnmapped =
false 411 const bool allowUnmapped =
false 422 const bool allowUnmapped =
false 433 const bool allowUnmapped =
false
static tmp< DimensionedField< Type, volMesh > > interpolate(const DimensionedField< Type, volMesh > &, const fvMesh &sMesh, const labelUList &cellMap)
Map volume internal (dimensioned) field.
void setCellSubset(const bitSet &selectedCells, const label patchID=-1, const bool syncPar=true)
Use the specified subset of cells. Same as reset()
bool hasSubMesh() const noexcept
Have subMesh?
const labelList & faceFlipMap() const
Return face map with sign to encode flipped faces.
const fvMesh & baseMesh() const noexcept
Original mesh.
const labelList & faceMap() const
Return face map.
UList< label > labelUList
A UList of labels.
Mesh representing a set of points created from polyMesh.
HashSet< label, Hash< label > > labelHashSet
A HashSet of labels, uses label hasher.
const labelList & patchMap() const
Return patch map.
const fvMesh & subMesh() const
Return reference to subset mesh.
bool checkHasSubMesh() const
FatalError if subset has not been performed.
A class for handling words, derived from Foam::string.
const labelList & pointMap() const
Return point map.
void reset()
Reset subMesh and all maps. Same as clear()
const labelList & cellMap() const
Return cell map.
Holds a reference to the original mesh (the baseMesh) and optionally to a subset of that mesh (the su...
const fvMesh & mesh() const noexcept
Return baseMesh or subMesh, depending on the current state.
void operator=(const fvMeshSubset &)=delete
No copy assignment.
static word exposedPatchName
Name for exposed internal faces (default: oldInternalFaces)
fvMeshSubset(const fvMeshSubset &)=delete
No copy construct.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
Mesh data needed to do the Finite Volume discretisation.
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
A class representing the concept of 0 (zero) that can be used to avoid manipulating objects known to ...
Pointer management similar to std::unique_ptr, with some additional methods and type checking...
A class for managing temporary objects.
void clear()
Reset subMesh and all maps.