tetDecomposer Class Reference

Decomposes polyMesh into tets. More...

Collaboration diagram for tetDecomposer:

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...
 
 tetDecomposer (const tetDecomposer &)=delete
 Disallow default bitwise copy construction. 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 topoChange (const polyTopoChangeMap &)
 Force recalculation of locally stored data on topological change. More...
 
void operator= (const tetDecomposer &)=delete
 Disallow default bitwise assignment. 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() [1/2]

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:

◆ tetDecomposer() [2/2]

tetDecomposer ( const tetDecomposer )
delete

Disallow default bitwise copy construction.

Member Function Documentation

◆ ClassName()

ClassName ( "tetDecomposer"  )

Runtime type information.

◆ cellToPoint()

const labelList& cellToPoint ( ) const
inline

From cell to tet point.

Definition at line 149 of file tetDecomposer.H.

◆ faceToPoint()

const labelList& faceToPoint ( ) const
inline

From face to tet point.

Definition at line 155 of file tetDecomposer.H.

References tetDecomposer::faceNeighbourCells(), tetDecomposer::faceOwnerCells(), tetDecomposer::operator=(), tetDecomposer::setRefinement(), and tetDecomposer::topoChange().

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 163 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 170 of file tetDecomposer.H.

Referenced by tetDecomposer::faceToPoint().

Here is the caller graph for this function:

◆ setRefinement()

◆ topoChange()

void topoChange ( const polyTopoChangeMap map)

Force recalculation of locally stored data on topological change.

Definition at line 697 of file tetDecomposer.C.

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

Referenced by tetDecomposer::faceToPoint().

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

◆ operator=()

void operator= ( const tetDecomposer )
delete

Disallow default bitwise assignment.

Referenced by tetDecomposer::faceToPoint().

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< compressibleField, 8 >::names().


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