OpenFOAM logo
Open Source CFD Toolkit

fvMeshSubset Class Reference

Inheritance diagram for fvMeshSubset:

Inheritance graph
[legend]
Collaboration diagram for fvMeshSubset:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 fvMeshSubset (const IOobject &io)
 Construct given a mesh and the map of cells to subset.
 ~fvMeshSubset ()
void setCellSubset (const labelHashSet &globalCellMap, const label patchID=-1)
 Set the subset. Create "oldInternalFaces" patch for exposed.
void setLargeCellSubset (const labelList &region, const label currentRegion, const label patchID=-1)
 Set the subset from all cells with region == currentRegion.
void setLargeCellSubset (const labelHashSet &globalCellMap, const label patchID=-1)
 setLargeCellSubset but with labelHashSet.
const fvMesh & subMesh () const
 Return reference to subset mesh.
const labelList & pointMap () const
 Return point map.
const labelList & faceMap () const
 Return face map.
const labelList & cellMap () const
 Return cell map.
const labelList & patchMap () const
 Return patch map.
template<class Type>
tmp< GeometricField< Type,
fvPatchField, volMesh > > 
interpolate (const GeometricField< Type, fvPatchField, volMesh > &) const
 Map volume field.
template<class Type>
tmp< GeometricField< Type,
fvPatchField, surfaceMesh > > 
interpolate (const GeometricField< Type, fvPatchField, surfaceMesh > &) const
 Map surface field.

Constructor & Destructor Documentation

fvMeshSubset (  const IOobject &  io  )  [explicit]
 

Construct given a mesh and the map of cells to subset.

~fvMeshSubset (   ) 
 


Member Function Documentation

const labelList& cellMap (   )  const
 

Return cell map.

const labelList& faceMap (   )  const
 

Return face map.

tmp<GeometricField<Type, fvPatchField, surfaceMesh> > interpolate (  const GeometricField< Type, fvPatchField, surfaceMesh > &   )  const
 

Map surface field.

tmp<GeometricField<Type, fvPatchField, volMesh> > interpolate (  const GeometricField< Type, fvPatchField, volMesh > &   )  const
 

Map volume field.

const labelList& patchMap (   )  const
 

Return patch map.

const labelList& pointMap (   )  const
 

Return point map.

void setCellSubset (  const labelHashSet &  globalCellMap,
const label  patchID = -1
) 
 

Set the subset. Create "oldInternalFaces" patch for exposed.

internal faces (patchID==-1) or use supplied patch. Does not handle coupled patches correctly if only one side gets deleted.

void setLargeCellSubset (  const labelHashSet &  globalCellMap,
const label  patchID = -1
) 
 

setLargeCellSubset but with labelHashSet.

void setLargeCellSubset (  const labelList &  region,
const label  currentRegion,
const label  patchID = -1
) 
 

Set the subset from all cells with region == currentRegion.

Create "oldInternalFaces" patch for exposed internal faces (patchID==-1) or use supplied patch. Handles coupled patches by if nessecary making coupled patch face part of patchID (so uncoupled)

const fvMesh& subMesh (   )  const
 

Return reference to subset mesh.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org