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

removeCells Class Reference

Collaboration diagram for removeCells:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 67 of file removeCells.H.


Public Member Functions

 ClassName ("removeCells")
 Runtime type information.
 removeCells (const polyMesh &mesh, const bool syncPar=true)
 Construct from mesh. syncPar: do parallel synchronization.
labelList getExposedFaces (const labelList &cellsToRemove) const
 Get labels of exposed faces. These are.
void setRefinement (const labelList &cellsToRemove, const labelList &facesToExpose, const labelList &patchIDs, polyTopoChange &) const
 Play commands into polyTopoChange to remove cells.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.

Constructor & Destructor Documentation

removeCells ( const polyMesh &  mesh,
const bool  syncPar = true 
)

Construct from mesh. syncPar: do parallel synchronization.


Member Function Documentation

ClassName ( "removeCells"   ) 

Runtime type information.

labelList getExposedFaces ( const labelList &  cellsToRemove  )  const

Get labels of exposed faces. These are.

  • internal faces that become boundary faces
  • coupled faces that become uncoupled (since one of the sides gets deleted)

void setRefinement ( const labelList &  cellsToRemove,
const labelList &  facesToExpose,
const labelList &  patchIDs,
polyTopoChange &   
) const

Play commands into polyTopoChange to remove cells.

patchIDs is for every element in facesToExpose (see above) the patch it has to go into. This cannot be a coupled patch!

void updateMesh ( const mapPolyMesh &   )  [inline]

Force recalculation of locally stored data on topological change.

Definition at line 126 of file removeCells.H.


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