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

Decomposes polyMesh into tets. More...

Collaboration diagram for tetDecomposer:
Collaboration graph
[legend]

Public Types

enum  decompositionType { FACE_CENTRE_TRIS, FACE_DIAG_TRIS }
 

Public Member Functions

 ClassName ("tetDecomposer")
 Runtime type information. More...
 
 tetDecomposer (const polyMesh &)
 Construct from mesh. More...
 
const labelListcellToPoint () const
 From cell to tet point. More...
 
const labelListfaceToPoint () const
 From face to tet point. More...
 
const labelListListfaceOwnerCells () const
 Per face, per point (faceCentre) or triangle (faceDiag) More...
 
const labelListListfaceNeighbourCells () const
 Per face, per point (faceCentre) or triangle (faceDiag) More...
 
void setRefinement (const decompositionType decomposeType, polyTopoChange &meshMod)
 Insert all changes into meshMod to convert the polyMesh into. More...
 
void updateMesh (const mapPolyMesh &)
 Force recalculation of locally stored data on topological change. More...
 

Static Public Attributes

static const NamedEnum< decompositionType, 2 > decompositionTypeNames
 

Detailed Description

Decomposes polyMesh into tets.

Source files

Definition at line 57 of file tetDecomposer.H.

Member Enumeration Documentation

◆ decompositionType

Enumerator
FACE_CENTRE_TRIS 
FACE_DIAG_TRIS 

Definition at line 63 of file tetDecomposer.H.

Constructor & Destructor Documentation

◆ tetDecomposer()

tetDecomposer ( const polyMesh mesh)

Construct from mesh.

Definition at line 174 of file tetDecomposer.C.

References tetDecomposer::setRefinement().

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "tetDecomposer"  )

Runtime type information.

◆ cellToPoint()

const labelList& cellToPoint ( ) const
inline

From cell to tet point.

Definition at line 152 of file tetDecomposer.H.

◆ faceToPoint()

const labelList& faceToPoint ( ) const
inline

From face to tet point.

Definition at line 158 of file tetDecomposer.H.

References tetDecomposer::faceNeighbourCells(), tetDecomposer::faceOwnerCells(), tetDecomposer::setRefinement(), and tetDecomposer::updateMesh().

Here is the call graph for this function:

◆ faceOwnerCells()

const labelListList& faceOwnerCells ( ) const
inline

Per face, per point (faceCentre) or triangle (faceDiag)

the added tet on the owner side

Definition at line 166 of file tetDecomposer.H.

Referenced by tetDecomposer::faceToPoint().

Here is the caller graph for this function:

◆ faceNeighbourCells()

const labelListList& faceNeighbourCells ( ) const
inline

Per face, per point (faceCentre) or triangle (faceDiag)

the added tet on the neighbour side

Definition at line 173 of file tetDecomposer.H.

Referenced by tetDecomposer::faceToPoint().

Here is the caller graph for this function:

◆ setRefinement()

void setRefinement ( const decompositionType  decomposeType,
polyTopoChange meshMod 
)

◆ updateMesh()

void updateMesh ( const mapPolyMesh map)

Force recalculation of locally stored data on topological change.

Definition at line 697 of file tetDecomposer.C.

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

Referenced by tetDecomposer::faceToPoint().

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

Member Data Documentation

◆ decompositionTypeNames

const NamedEnum< tetDecomposer::decompositionType, 2 > decompositionTypeNames
static

Definition at line 70 of file tetDecomposer.H.

Referenced by NamedEnum< directionType, 3 >::names().


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