Public Member Functions | Private Member Functions | Private Attributes
sortEdgesIntoChains Class Reference
Collaboration diagram for sortEdgesIntoChains:
Collaboration graph
[legend]

Public Member Functions

 sortEdgesIntoChains (const DynList< edge > &bEdges)
 
 ~sortEdgesIntoChains ()
 
const DynList< DynList< label > > & sortedChains () const
 a list of points which have not yet been resolved More...
 

Private Member Functions

void createNodeLabels ()
 
bool findPointsBelongingToTheChain (const label currPos, DynList< bool > &chainEdges) const
 
void shrinkEdges (const DynList< bool > &chainEdges)
 
void createChainFromEdges (const DynList< bool > &chainEdges)
 
void sortEdges ()
 

Private Attributes

const DynList< edge > & bEdges_
 
bool openEdges_
 
Map< labelnewNodeLabel_
 
DynList< DynList< label > > edgesAtPoint_
 
DynList< DynList< label > > createdChains_
 

Detailed Description

Definition at line 49 of file sortEdgesIntoChains.H.

Constructor & Destructor Documentation

◆ sortEdgesIntoChains()

sortEdgesIntoChains ( const DynList< edge > &  bEdges)

Definition at line 248 of file sortEdgesIntoChains.C.

References sortEdgesIntoChains::sortEdges().

Here is the call graph for this function:

◆ ~sortEdgesIntoChains()

Definition at line 259 of file sortEdgesIntoChains.C.

Member Function Documentation

◆ createNodeLabels()

void createNodeLabels ( )
private

◆ findPointsBelongingToTheChain()

bool findPointsBelongingToTheChain ( const label  currPos,
DynList< bool > &  chainEdges 
) const
private

Definition at line 70 of file sortEdgesIntoChains.C.

References Foam::endl(), forAll, found, Foam::Info, DynList< T, staticSize >::setSize(), and DynList< T, staticSize >::size().

Referenced by sortEdgesIntoChains::sortEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ shrinkEdges()

void shrinkEdges ( const DynList< bool > &  chainEdges)
private

Definition at line 153 of file sortEdgesIntoChains.C.

References sortEdgesIntoChains::bEdges_, Foam::e, sortEdgesIntoChains::edgesAtPoint_, forAll, and sortEdgesIntoChains::newNodeLabel_.

Referenced by sortEdgesIntoChains::sortEdges().

Here is the caller graph for this function:

◆ createChainFromEdges()

void createChainFromEdges ( const DynList< bool > &  chainEdges)
private

Definition at line 171 of file sortEdgesIntoChains.C.

References sortEdgesIntoChains::bEdges_, sortEdgesIntoChains::createdChains_, sortEdgesIntoChains::edgesAtPoint_, Foam::endl(), forAll, found, Foam::Info, and sortEdgesIntoChains::newNodeLabel_.

Referenced by sortEdgesIntoChains::sortEdges().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ sortEdges()

void sortEdges ( )
private

◆ sortedChains()

const DynList< DynList< label > > & sortedChains ( ) const

a list of points which have not yet been resolved

Definition at line 264 of file sortEdgesIntoChains.C.

References sortEdgesIntoChains::createdChains_.

Referenced by meshUntangler::cutRegion::createPolyMeshFromRegion(), and meshUntangler::cutRegion::tieBreak().

Here is the caller graph for this function:

Field Documentation

◆ bEdges_

const DynList<edge>& bEdges_
private

◆ openEdges_

bool openEdges_
private

◆ newNodeLabel_

Map<label> newNodeLabel_
private

◆ edgesAtPoint_

DynList<DynList<label> > edgesAtPoint_
private

◆ createdChains_

DynList<DynList<label> > createdChains_
private

The documentation for this class was generated from the following files: