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

meshCutAndRemove Class Reference

Inheritance diagram for meshCutAndRemove:

Inheritance graph
[legend]
Collaboration diagram for meshCutAndRemove:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 70 of file meshCutAndRemove.H.


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.

Constructor & Destructor Documentation

meshCutAndRemove ( const polyMesh &  mesh  ) 

Construct from mesh.


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

void updateMesh ( const mapPolyMesh &   ) 

Force recalculation of locally stored data on topological change.

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

Faces added. Per split cell label of added face.

Definition at line 245 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 255 of file meshCutAndRemove.H.


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