Public Types | Public Member Functions | Static Public Attributes | List of all members
tetDecomposer Class Reference

Decomposes polyMesh into tets or pyramids. More...

Collaboration diagram for tetDecomposer:
Collaboration graph
[legend]

Public Types

enum  decompositionType { FACE_CENTRE_TRIS, FACE_DIAG_TRIS, PYRAMID }
 

Public Member Functions

 ClassName ("tetDecomposer")
 
 tetDecomposer (const polyMesh &)
 
const labelListcellToPoint () const
 
const labelListfaceToPoint () const
 
const labelListListfaceOwnerCells () const
 
const labelListListfaceNeighbourCells () const
 
void setRefinement (const decompositionType decomposeType, const bitSet &decomposeCell, polyTopoChange &meshMod)
 
void updateMesh (const mapPolyMesh &)
 

Static Public Attributes

static const Enum< decompositionTypedecompositionTypeNames
 

Detailed Description

Decomposes polyMesh into tets or pyramids.

Cells neighbouring decomposed cells are not decomposed themselves so will be polyhedral.

Source files

Definition at line 59 of file tetDecomposer.H.

Member Enumeration Documentation

◆ decompositionType

Enumerator
FACE_CENTRE_TRIS 
FACE_DIAG_TRIS 
PYRAMID 

Definition at line 65 of file tetDecomposer.H.

Constructor & Destructor Documentation

◆ tetDecomposer()

tetDecomposer ( const polyMesh mesh)

Definition at line 174 of file tetDecomposer.C.

Member Function Documentation

◆ ClassName()

ClassName ( "tetDecomposer"  )

◆ cellToPoint()

const labelList& cellToPoint ( ) const
inline

Definition at line 154 of file tetDecomposer.H.

◆ faceToPoint()

const labelList& faceToPoint ( ) const
inline

Definition at line 160 of file tetDecomposer.H.

◆ faceOwnerCells()

const labelListList& faceOwnerCells ( ) const
inline

Definition at line 169 of file tetDecomposer.H.

◆ faceNeighbourCells()

const labelListList& faceNeighbourCells ( ) const
inline

Definition at line 177 of file tetDecomposer.H.

◆ setRefinement()

void setRefinement ( const decompositionType  decomposeType,
const bitSet decomposeCell,
polyTopoChange meshMod 
)

◆ updateMesh()

void updateMesh ( const mapPolyMesh map)

Definition at line 845 of file tetDecomposer.C.

References forAll, Foam::inplaceRenumber(), mapPolyMesh::reverseCellMap(), and mapPolyMesh::reversePointMap().

Here is the call graph for this function:

Member Data Documentation

◆ decompositionTypeNames

const Foam::Enum< Foam::tetDecomposer::decompositionType > decompositionTypeNames
static

Definition at line 72 of file tetDecomposer.H.


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