OpenFOAM logo
The Open Source CFD Toolbox
  Programmer’s C++ Doxygen OpenCFD Solutions Contact OpenFOAM

fvMeshSubset Class Reference

Collaboration diagram for fvMeshSubset:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 82 of file fvMeshSubset.H.


Public Member Functions

 fvMeshSubset (const fvMesh &)
 Construct given a mesh 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, const bool syncCouples=true)
 Set the subset from all cells with region == currentRegion.
void setLargeCellSubset (const labelHashSet &globalCellMap, const label patchID=-1, const bool syncPar=true)
 setLargeCellSubset but with labelHashSet.
const fvMesh & baseMesh () const
 Original mesh.
const fvMesh & subMesh () const
 Return reference to subset mesh.
fvMesh & subMesh ()
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,
fvsPatchField, surfaceMesh > > 
interpolate (const GeometricField< Type, fvsPatchField, surfaceMesh > &) const
 Map surface field.

Classes

class  patchFieldSubset
 Patch-field subset interpolation class. More...

Constructor & Destructor Documentation

fvMeshSubset ( const fvMesh &   )  [explicit]

Construct given a mesh to subset.

~fvMeshSubset (  ) 


Member Function Documentation

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 labelList &  region,
const label  currentRegion,
const label  patchID = -1,
const bool  syncCouples = true 
)

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)

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

setLargeCellSubset but with labelHashSet.

const fvMesh& baseMesh (  )  const [inline]

Original mesh.

Definition at line 273 of file fvMeshSubset.H.

const fvMesh& subMesh (  )  const

Return reference to subset mesh.

fvMesh& subMesh (  ) 

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.

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

Map volume field.

Map surface field.


The documentation for this class was generated from the following file: Copyright © 2000-2007 OpenCFD Ltd