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

meshCutAndRemove Class Reference

like meshCutter but also removes non-anchor side of cell. More...

Inheritance diagram for meshCutAndRemove:
Collaboration diagram for meshCutAndRemove:

List of all members.


Public Member Functions

 ClassName ("meshCutAndRemove")
 Runtime type information.
 meshCutAndRemove (const polyMesh &mesh)
 Construct from mesh.
void setRefinement (const label exposedPatchI, const cellCuts &cuts, const labelList &cutPatch, polyTopoChange &meshMod)
 Do actual cutting with cut description. Inserts mesh changes.
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change.
const Map< label > & addedFaces () const
 Faces added. Per split cell label of added face.
const HashTable< label, edge,
Hash< edge > > & 
addedPoints () const
 Points added. Per split edge label of added point.

Detailed Description

like meshCutter but also removes non-anchor side of cell.

Source files

Definition at line 56 of file meshCutAndRemove.H.


Constructor & Destructor Documentation

meshCutAndRemove ( const polyMesh &  mesh  ) 

Construct from mesh.

Definition at line 573 of file meshCutAndRemove.C.


Member Function Documentation

ClassName ( "meshCutAndRemove"   ) 

Runtime type information.

void setRefinement ( const label  exposedPatchI,
const cellCuts &  cuts,
const labelList &  cutPatch,
polyTopoChange &  meshMod 
)

Do actual cutting with cut description. Inserts mesh changes.

into meshMod. cuts: all loops and topological information cutPatch: for every cell that has loop the patch number exposedPatch: patch for other exposed faces

Definition at line 584 of file meshCutAndRemove.C.

void updateMesh ( const mapPolyMesh &  map  ) 

Force recalculation of locally stored data on topological change.

Definition at line 1301 of file meshCutAndRemove.C.

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

Faces added. Per split cell label of added face.

Definition at line 231 of file meshCutAndRemove.H.

const HashTable<label, edge, Hash<edge> >& addedPoints (  )  const [inline]

Points added. Per split edge label of added point.

(note: fairly useless across topology changes since one of the points of the edge will probably disappear)

Definition at line 241 of file meshCutAndRemove.H.


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