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

Public Member Functions

 tetMeshExtractorOctree (const meshOctree &octree, const IOdictionary &meshDict, polyMeshGen &mesh)
 Construct from octree and mesh data. More...
 
 ~tetMeshExtractorOctree ()
 
void createMesh ()
 

Private Member Functions

void createPoints ()
 copy tetPoints_ into mesh More...
 
void createPolyMesh ()
 create mesh data More...
 
 tetMeshExtractorOctree (const tetMeshExtractorOctree &)
 Disallow default bitwise copy construct. More...
 
void operator= (const tetMeshExtractorOctree &)
 Disallow default bitwise assignment. More...
 

Private Attributes

tetCreatorOctree tetCreator_
 create tets More...
 
polyMeshGenmesh_
 reference to the mesh More...
 

Detailed Description

Definition at line 51 of file tetMeshExtractorOctree.H.

Constructor & Destructor Documentation

◆ tetMeshExtractorOctree() [1/2]

Disallow default bitwise copy construct.

◆ tetMeshExtractorOctree() [2/2]

tetMeshExtractorOctree ( const meshOctree octree,
const IOdictionary meshDict,
polyMeshGen mesh 
)

Construct from octree and mesh data.

Definition at line 245 of file tetMeshExtractorOctree.C.

◆ ~tetMeshExtractorOctree()

Definition at line 257 of file tetMeshExtractorOctree.C.

Member Function Documentation

◆ createPoints()

void createPoints ( )
private

copy tetPoints_ into mesh

Definition at line 47 of file tetMeshExtractorOctree.C.

References forAll, tetMeshExtractorOctree::mesh_, points, polyMeshGenModifier::pointsAccess(), FixedList::size(), tetMeshExtractorOctree::tetCreator_, and tetCreatorOctree::tetPoints().

Referenced by tetMeshExtractorOctree::createMesh().

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

◆ createPolyMesh()

void createPolyMesh ( )
private

create mesh data

set the number of cells

all faces of tetrahedral cells

set face labels

set sizes of cells and create all faces

first face

second face

third face

fourth face

find duplicate faces

do not check cells with greater labels they cannot be face owners

check faces created from a tet

do not compare faces with greater labels they shall not be removed here

check if the faces are equal

remove duplicate faces

set the size of faces

change cells

Definition at line 63 of file tetMeshExtractorOctree.C.

References partTet::a(), DynList< T, staticSize >::append(), partTet::b(), polyMeshGenModifier::boundariesAccess(), Foam::constant::universal::c, partTet::c(), cells, polyMeshGenModifier::cellsAccess(), partTet::d(), f(), f1, polyMeshGenModifier::facesAccess(), forAll, forAllRow, tetMeshExtractorOctree::mesh_, polyMeshGenPoints::points(), polyMeshGenModifier::procBoundariesAccess(), VRWGraph::reverseAddressing(), faceListPMG::setSize(), List::setSize(), faceListPMG::size(), pointFieldPMG::size(), LongList< T, Offset >::size(), DynList< T, staticSize >::size(), tetMeshExtractorOctree::tetCreator_, tetCreatorOctree::tets(), and faceListPMG::transfer().

Referenced by tetMeshExtractorOctree::createMesh().

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

◆ operator=()

void operator= ( const tetMeshExtractorOctree )
private

Disallow default bitwise assignment.

◆ createMesh()

void createMesh ( )

Field Documentation

◆ tetCreator_

tetCreatorOctree tetCreator_
private

◆ mesh_

polyMeshGen& mesh_
private

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