OpenFOAM logo
Open Source CFD Toolkit

directEdgeCollapser Class Reference

Collaboration diagram for directEdgeCollapser:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 ClassName ("directEdgeCollapser")
 Runtime type information.
 directEdgeCollapser (const polyMesh &mesh)
 Construct from mesh.
const labelListpointRegion () 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 (directPolyTopoChange &)
 Play commands into polyTopoChange to create mesh. Return true.

Constructor & Destructor Documentation

directEdgeCollapser const polyMesh mesh  ) 
 

Construct from mesh.


Member Function Documentation

ClassName "directEdgeCollapser"   ) 
 

Runtime type information.

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)

const labelList& pointRegion  )  const [inline]
 

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

Definition at line 144 of file directEdgeCollapser.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 153 of file directEdgeCollapser.H.

bool setRefinement directPolyTopoChange  ) 
 

Play commands into polyTopoChange to create mesh. Return true.

if anything changed.

bool unaffectedEdge const label  edgeI  )  const
 

Check that edge is not marked for anything.


The documentation for this class was generated from the following file:
For further information go to www.openfoam.org