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
Field with dimensions and associated with geometry type GeoMesh which is used to size the field and a...
Generic GeometricField class.
An auto-pointer similar to the STL auto_ptr but with automatic casting to a reference to the type and...
Post-processing mesh subset tool. Given the original mesh and the list of selected cells,...
const labelList & faceMap() const
Return face map.
const fvMesh & baseMesh() const
Original mesh.
void setCellSubset(const labelHashSet &globalCellMap, const label patchID=-1, const bool syncPar=true)
Set the subset. Create "oldInternalFaces" patch for exposed.
const labelList & cellMap() const
Return cell map.
void operator=(const fvMeshSubset &)=delete
Disallow default bitwise assignment.
fvMeshSubset(const fvMesh &)
Construct given a mesh to subset.
bool hasSubMesh() const
Have subMesh?
TypeName("fvMeshSubset")
Runtime type information.
const labelList & faceFlipMap() const
Return face map with sign to encode flipped faces.
virtual ~fvMeshSubset()
Destructor.
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 & subMesh() const
Return reference to subset mesh.
const labelList & patchMap() const
Return patch map.
const labelList & pointMap() const
Return point map.
labelList getExposedFaces(const labelList ®ion, const label currentRegion, const bool syncCouples=true) const
Get labels of exposed faces.
static tmp< VolField< Type > > interpolate(const VolField< Type > &, const fvMesh &sMesh, const labelList &patchMap, const labelList &cellMap, const labelList &faceMap)
Map volume field.
Mesh data needed to do the Finite Volume discretisation.
Mesh representing a set of points created from polyMesh.
A class for managing temporary objects.
intWM_LABEL_SIZE_t label
A label is an int32_t or int64_t as specified by the pre-processor macro WM_LABEL_SIZE.