Decomposes polyMesh into tets. More...
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 labelList & | cellToPoint () const |
From cell to tet point. More... | |
const labelList & | faceToPoint () const |
From face to tet point. More... | |
const labelListList & | faceOwnerCells () const |
Per face, per point (faceCentre) or triangle (faceDiag) More... | |
const labelListList & | faceNeighbourCells () 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 |
enum decompositionType |
Enumerator | |
---|---|
FACE_CENTRE_TRIS | |
FACE_DIAG_TRIS |
Definition at line 63 of file tetDecomposer.H.
tetDecomposer | ( | const polyMesh & | mesh | ) |
Construct from mesh.
Definition at line 174 of file tetDecomposer.C.
References tetDecomposer::setRefinement().
|
delete |
Disallow default bitwise copy construction.
ClassName | ( | "tetDecomposer" | ) |
Runtime type information.
|
inline |
From cell to tet point.
Definition at line 149 of file tetDecomposer.H.
|
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().
|
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().
|
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().
void setRefinement | ( | const decompositionType | decomposeType, |
polyTopoChange & | meshMod | ||
) |
Insert all changes into meshMod to convert the polyMesh into.
tets.
Definition at line 183 of file tetDecomposer.C.
References Foam::abort(), polyTopoChange::addCell(), polyTopoChange::addPoint(), polyMesh::boundaryMesh(), primitiveMesh::cellCentres(), primitiveMesh::cells(), polyMesh::cellZones(), HashTable< T, edge, Hash< edge > >::clear(), Foam::e, HashTableCore::end(), tetDecomposer::FACE_CENTRE_TRIS, primitiveMesh::faceCentres(), polyMesh::faceNeighbour(), polyMesh::faceOwner(), polyMesh::faces(), polyMesh::faceZones(), Foam::FatalError, FatalErrorInFunction, UList< T >::fcIndex(), HashTable< T, edge, Hash< edge > >::find(), Foam::findIndex(), faceZone::flipMap(), forAll, HashTable< T, edge, Hash< edge > >::insert(), primitiveMesh::nCells(), face::nextLabel(), primitiveMesh::nFaces(), primitiveMesh::nInternalFaces(), face::prevLabel(), UList< T >::rcIndex(), List< T >::setSize(), List< T >::size(), polyMesh::tetBasePtIs(), faceZone::whichFace(), polyBoundaryMesh::whichPatch(), and MeshZones< ZoneType, MeshType >::whichZone().
Referenced by tetDecomposer::faceToPoint(), and tetDecomposer::tetDecomposer().
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().
|
delete |
Disallow default bitwise assignment.
Referenced by tetDecomposer::faceToPoint().
|
static |
Definition at line 70 of file tetDecomposer.H.
Referenced by NamedEnum< compressibleField, 8 >::names().