Public Member Functions | List of all members
meshDualiser Class Reference

Creates dual of polyMesh. Every point becomes a cell (or multiple cells for feature points), a walk around every edge creates faces between them. More...

Public Member Functions

 ClassName ("meshDualiser")
 
 meshDualiser (const polyMesh &)
 
const labelListListpointToDualCells () const
 
const labelListpointToDualPoint () const
 
const labelListcellToDualPoint () const
 
const labelListfaceToDualPoint () const
 
const labelListedgeToDualPoint () const
 
void setRefinement (const bool splitFace, const labelList &featureFaces, const labelList &featureEdges, const labelList &singleCellFeaturePoints, const labelList &multiCellFeaturePoints, polyTopoChange &meshMod)
 

Detailed Description

Creates dual of polyMesh. Every point becomes a cell (or multiple cells for feature points), a walk around every edge creates faces between them.

Put all points you want in the final mesh into featurePoints; all edge(mid)s you want in the final mesh into featureEdges; all face(centre)s in faceFaces.

Usually to preserve boundaries:

In same way you can also preserve internal faces (e.g. faceZones)

Source files

Definition at line 64 of file meshDualiser.H.

Constructor & Destructor Documentation

◆ meshDualiser()

meshDualiser ( const polyMesh )

Member Function Documentation

◆ ClassName()

ClassName ( "meshDualiser"  )

◆ pointToDualCells()

const labelListList& pointToDualCells ( ) const
inline

Definition at line 193 of file meshDualiser.H.

◆ pointToDualPoint()

const labelList& pointToDualPoint ( ) const
inline

Definition at line 199 of file meshDualiser.H.

◆ cellToDualPoint()

const labelList& cellToDualPoint ( ) const
inline

Definition at line 206 of file meshDualiser.H.

◆ faceToDualPoint()

const labelList& faceToDualPoint ( ) const
inline

Definition at line 213 of file meshDualiser.H.

◆ edgeToDualPoint()

const labelList& edgeToDualPoint ( ) const
inline

Definition at line 220 of file meshDualiser.H.

◆ setRefinement()

void setRefinement ( const bool  splitFace,
const labelList featureFaces,
const labelList featureEdges,
const labelList singleCellFeaturePoints,
const labelList multiCellFeaturePoints,
polyTopoChange meshMod 
)

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