56 #ifndef fvMeshSubset_H 57 #define fvMeshSubset_H 103 bool checkCellSubset()
const;
112 void doCoupledPatches
134 const label currentRegion
168 const label patchID = -1,
169 const bool syncPar =
true 180 const label currentRegion,
181 const label patchID = -1,
182 const bool syncCouples =
true 189 const label patchID = -1,
190 const bool syncPar =
true 204 const label currentRegion,
205 const bool syncCouples =
true 213 const label currentRegion,
216 const bool syncCouples =
true
const labelList & faceFlipMap() const
Return face map with sign to encode flipped faces.
Generic GeometricField class.
TypeName("fvMeshSubset")
Runtime type information.
fvMeshSubset(const fvMesh &)
Construct given a mesh to subset.
const labelList & faceMap() const
Return face map.
Mesh representing a set of points created from polyMesh.
const labelList & patchMap() const
Return patch map.
const fvMesh & subMesh() const
Return reference to subset mesh.
labelList getExposedFaces(const labelList ®ion, const label currentRegion, const bool syncCouples=true) const
Get labels of exposed faces.
virtual ~fvMeshSubset()
Destructor.
const labelList & pointMap() const
Return point map.
const labelList & cellMap() const
Return cell map.
void setCellSubset(const labelHashSet &globalCellMap, const label patchID=-1, const bool syncPar=true)
Set the subset. Create "oldInternalFaces" patch for exposed.
Post-processing mesh subset tool. Given the original mesh and the list of selected cells...
void operator=(const fvMeshSubset &)=delete
Disallow default bitwise assignment.
static tmp< GeometricField< Type, fvPatchField, volMesh > > interpolate(const GeometricField< Type, fvPatchField, volMesh > &, const fvMesh &sMesh, const labelList &patchMap, const labelList &cellMap, const labelList &faceMap)
Map volume field.
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...
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
A class for managing temporary objects.
void setLargeCellSubset(const labelList ®ion, const label currentRegion, const label patchID=-1, const bool syncCouples=true)
Set the subset from all cells with region == currentRegion.
const fvMesh & baseMesh() const
Original mesh.
bool hasSubMesh() const
Have subMesh?