OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cellSplitter Class Reference

Does pyramidal decomposition of selected cells. So all faces will become base of pyramid with as top a user-supplied point (usually the cell centre). More...

Collaboration diagram for cellSplitter:

List of all members.


Public Member Functions

 ClassName ("cellSplitter")
 Runtime type information.
 cellSplitter (const polyMesh &mesh)
 Construct from mesh.
 ~cellSplitter ()
void setRefinement (const Map< point > &cellToMidPoint, polyTopoChange &meshMod)
 Insert mesh changes into meshMod.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
const Map< label > & addedPoints () const
 Per cell the mid point added.

Detailed Description

Does pyramidal decomposition of selected cells. So all faces will become base of pyramid with as top a user-supplied point (usually the cell centre).

Source files

Definition at line 53 of file cellSplitter.H.


Constructor & Destructor Documentation

cellSplitter ( const polyMesh &  mesh  ) 

Construct from mesh.

~cellSplitter (  ) 


Member Function Documentation

ClassName ( "cellSplitter"   ) 

Runtime type information.

void setRefinement ( const Map< point > &  cellToMidPoint,
polyTopoChange &  meshMod 
)

Insert mesh changes into meshMod.

cellToMidPoint : cell to cut and position of its new midpoint

void updateMesh ( const mapPolyMesh &   ) 

Force recalculation of locally stored data on topological change.

const Map<label>& addedPoints (  )  const [inline]

Per cell the mid point added.

Definition at line 132 of file cellSplitter.H.


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