Go to the documentation of this file.
55 #ifndef fvMeshSubset_H
56 #define fvMeshSubset_H
103 bool checkCellSubset()
const;
106 void calcFaceFlipMap()
const;
109 void doCoupledPatches
118 const bitSet& cellsToRemove,
121 const bool syncCouples
139 const bitSet& selectedCells
175 const bitSet& selectedCells,
177 const bool syncPar =
true
187 const bool syncPar =
true
197 const bool syncPar =
true
208 const bool syncPar =
true
260 const bitSet& selectedCells,
262 const bool syncPar =
true
271 const bool syncPar =
true
280 const bool syncPar =
true
289 const bool syncCouples =
true
302 const bitSet& selectedCells,
303 const bool syncCouples =
true
315 const bool syncCouples =
true
322 const bitSet& selectedCells,
325 const bool syncCouples =
true
336 const bool syncCouples =
true
421 const label currentRegion,
423 const bool syncCouples =
true
426 Info<<
"WARNING: using highly deprecated method: "
427 <<
"fvMeshSubset::setLargeCellSubset()" <<
nl;
445 const bool syncPar =
true
448 Info<<
"WARNING: using highly deprecated method: "
449 <<
"fvMeshSubset::setLargeCellSubset()" <<
nl;
465 const bool syncCouples =
true
468 Info<<
"WARNING: using highly deprecated method: "
469 <<
"fvMeshSubset::setLargeCellSubset()" <<
nl;
A class for handling words, derived from Foam::string.
A bitSet stores bits (elements with only two states) in packed internal format and supports a variety...
const labelList & cellMap() const
Return cell map.
const labelList & pointMap() const
Return point map.
A class for managing temporary objects.
Given the original mesh and the list of selected cells, it creates the mesh consisting only of the de...
static word exposedPatchName
Name for exposed internal faces (default: oldInternalFaces)
void setCellSubset(const bitSet &selectedCells, const label patchID=-1, const bool syncPar=true)
Define cell subset based on the selectedCells.
const labelList & faceFlipMap() const
Return face map with sign to encode flipped faces.
void clear()
Reset maps and subsetting.
const fvMesh & baseMesh() const
Original mesh.
const fvMesh & subMesh() const
Return reference to subset mesh.
messageStream Info
Information stream (uses stdout - output is on the master only)
Mesh data needed to do the Finite Volume discretisation.
Mesh representing a set of points created from polyMesh.
void setLargeCellSubset(const labelUList ®ion, const label currentRegion, const label patchID=-1, const bool syncCouples=true)
Deprecated(2018-07) old method name and old parameter ordering.
Pointer management similar to std::unique_ptr, with some additional methods and type checking.
labelList getExposedFaces(const bitSet &selectedCells, const bool syncCouples=true) const
Get labels of exposed faces.
static tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &, const fvMesh &sMesh, const labelUList &patchMap, const labelUList &cellMap, const labelUList &faceMap)
Map volume field.
const labelList & faceMap() const
Return face map.
const labelList & patchMap() const
Return patch map.
const fvMesh & mesh() const
Return baseMesh or subMesh, depending on the current state.
bool hasSubMesh() const
Have subMesh?
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...