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

Public Member Functions

 triangulateNonPlanarBaseFaces (polyMeshGen &mesh)
 Construct from mesh. More...
 
 ~triangulateNonPlanarBaseFaces ()
 
void setRelativeTolerance (const scalar tol)
 
void triangulateLayers ()
 splits inverted boundary layer prisms into triangular prisms More...
 

Static Public Member Functions

static void readSettings (const dictionary &, triangulateNonPlanarBaseFaces &)
 

Private Member Functions

bool findNonPlanarBoundaryFaces ()
 
void decomposeBoundaryFaces ()
 decompose existing faces More...
 
void decomposeCellsIntoPyramids ()
 decompose adjacent cells into pyramids More...
 
 triangulateNonPlanarBaseFaces (const triangulateNonPlanarBaseFaces &)
 Disallow bitwise copy construct. More...
 
void operator= (const triangulateNonPlanarBaseFaces &)
 Disallow bitwise assignment. More...
 

Private Attributes

polyMeshGenmesh_
 Reference to the mesh. More...
 
boolList invertedCell_
 boolean list containing information about inverted cells More...
 
boolList decomposeFace_
 classification of faces in the mesh More...
 
scalar tol_
 relative deviation compared to the layer thickness More...
 

Detailed Description

Definition at line 52 of file triangulateNonPlanarBaseFaces.H.

Constructor & Destructor Documentation

◆ triangulateNonPlanarBaseFaces() [1/2]

Disallow bitwise copy construct.

◆ triangulateNonPlanarBaseFaces() [2/2]

Construct from mesh.

Definition at line 40 of file triangulateNonPlanarBaseFaces.C.

◆ ~triangulateNonPlanarBaseFaces()

Definition at line 52 of file triangulateNonPlanarBaseFaces.C.

Member Function Documentation

◆ findNonPlanarBoundaryFaces()

bool findNonPlanarBoundaryFaces ( )
private

◆ decomposeBoundaryFaces()

void decomposeBoundaryFaces ( )
private

decompose existing faces

decompose base faces into triangles

update face subsets

Definition at line 112 of file triangulateNonPlanarBaseFacesFunctions.C.

References triangulateNonPlanarBaseFaces::decomposeFace_, decomposeFaces::decomposeMeshFaces(), triangulateNonPlanarBaseFaces::mesh_, decomposeFaces::newFacesForFace(), and polyMeshGenFaces::updateFaceSubsets().

Referenced by triangulateNonPlanarBaseFaces::triangulateLayers().

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

◆ decomposeCellsIntoPyramids()

void decomposeCellsIntoPyramids ( )
private

decompose adjacent cells into pyramids

Definition at line 123 of file triangulateNonPlanarBaseFacesFunctions.C.

References decomposeCells::decomposeMesh(), triangulateNonPlanarBaseFaces::invertedCell_, and triangulateNonPlanarBaseFaces::mesh_.

Referenced by triangulateNonPlanarBaseFaces::triangulateLayers().

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

◆ operator=()

void operator= ( const triangulateNonPlanarBaseFaces )
private

Disallow bitwise assignment.

◆ setRelativeTolerance()

void setRelativeTolerance ( const scalar  tol)

set the relative tolerance between the requested boundary layer thickness and the deviation from planarity the default is 1.0

Definition at line 57 of file triangulateNonPlanarBaseFaces.C.

References triangulateNonPlanarBaseFaces::tol_.

Referenced by triangulateNonPlanarBaseFaces::readSettings().

Here is the caller graph for this function:

◆ triangulateLayers()

void triangulateLayers ( )

splits inverted boundary layer prisms into triangular prisms

Definition at line 62 of file triangulateNonPlanarBaseFaces.C.

References triangulateNonPlanarBaseFaces::decomposeBoundaryFaces(), triangulateNonPlanarBaseFaces::decomposeCellsIntoPyramids(), Foam::endl(), triangulateNonPlanarBaseFaces::findNonPlanarBoundaryFaces(), and Foam::Info.

Here is the call graph for this function:

◆ readSettings()

void readSettings ( const dictionary meshDict,
triangulateNonPlanarBaseFaces triangulator 
)
static

Field Documentation

◆ mesh_

polyMeshGen& mesh_
private

◆ invertedCell_

boolList invertedCell_
private

boolean list containing information about inverted cells

Definition at line 59 of file triangulateNonPlanarBaseFaces.H.

Referenced by triangulateNonPlanarBaseFaces::decomposeCellsIntoPyramids(), and triangulateNonPlanarBaseFaces::findNonPlanarBoundaryFaces().

◆ decomposeFace_

boolList decomposeFace_
private

◆ tol_

scalar tol_
private

relative deviation compared to the layer thickness

Definition at line 65 of file triangulateNonPlanarBaseFaces.H.

Referenced by triangulateNonPlanarBaseFaces::findNonPlanarBoundaryFaces(), and triangulateNonPlanarBaseFaces::setRelativeTolerance().


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