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

edgeCollapser Class Reference

Collaboration diagram for edgeCollapser:

Collaboration graph
[legend]
List of all members.

Detailed Description

Definition at line 67 of file edgeCollapser.H.


Public Member Functions

 ClassName ("edgeCollapser")
 Runtime type information.
 edgeCollapser (const polyMesh &mesh)
 Construct from mesh.
const labelList & pointRegion () const
 For every point the region it belongs to or -1.
const DynamicList< label > & pointRegionMaster () const
 For every region the master (i.e. the point the region will.
bool unaffectedEdge (const label edgeI) const
 Check that edge is not marked for anything.
bool collapseEdge (const label edgeI, const label master)
 Set edge to collapse and point to collapse it to.
bool setRefinement (polyTopoChange &)
 Play commands into polyTopoChange to create mesh. Return true.
void updateMesh (const mapPolyMesh &)

Constructor & Destructor Documentation

edgeCollapser ( const polyMesh &  mesh  ) 

Construct from mesh.


Member Function Documentation

ClassName ( "edgeCollapser"   ) 

Runtime type information.

const labelList& pointRegion (  )  const [inline]

For every point the region it belongs to or -1.

Definition at line 145 of file edgeCollapser.H.

const DynamicList<label>& pointRegionMaster (  )  const [inline]

For every region the master (i.e. the point the region will.

be replaced by)

Definition at line 154 of file edgeCollapser.H.

bool unaffectedEdge ( const label  edgeI  )  const

Check that edge is not marked for anything.

bool collapseEdge ( const label  edgeI,
const label  master 
)

Set edge to collapse and point to collapse it to.

Return true if collapse is valid. (always true at the moment)

bool setRefinement ( polyTopoChange &   ) 

Play commands into polyTopoChange to create mesh. Return true.

if anything changed.

void updateMesh ( const mapPolyMesh &   ) 


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