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... | |
polyMeshGen & | mesh_ |
reference to the mesh More... | |
Definition at line 51 of file tetMeshExtractorOctree.H.
|
private |
Disallow default bitwise copy construct.
tetMeshExtractorOctree | ( | const meshOctree & | octree, |
const IOdictionary & | meshDict, | ||
polyMeshGen & | mesh | ||
) |
Construct from octree and mesh data.
Definition at line 245 of file tetMeshExtractorOctree.C.
Definition at line 257 of file tetMeshExtractorOctree.C.
|
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().
|
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().
|
private |
Disallow default bitwise assignment.
void createMesh | ( | ) |
copy tet points into the mesh
create the mesh
Definition at line 262 of file tetMeshExtractorOctree.C.
References polyMeshGenCells::cells(), tetMeshExtractorOctree::createPoints(), tetMeshExtractorOctree::createPolyMesh(), Foam::endl(), polyMeshGenFaces::faces(), Foam::Info, tetMeshExtractorOctree::mesh_, Foam::nl, polyMeshGenPoints::points(), polyMeshGenModifier::removeUnusedVertices(), polyMeshGenModifier::reorderBoundaryFaces(), cellListPMG::size(), faceListPMG::size(), and pointFieldPMG::size().
Referenced by tetMeshGenerator::createTetMesh().
|
private |
create tets
Definition at line 55 of file tetMeshExtractorOctree.H.
Referenced by tetMeshExtractorOctree::createPoints(), and tetMeshExtractorOctree::createPolyMesh().
|
private |
reference to the mesh
Definition at line 58 of file tetMeshExtractorOctree.H.
Referenced by tetMeshExtractorOctree::createMesh(), tetMeshExtractorOctree::createPoints(), and tetMeshExtractorOctree::createPolyMesh().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.