Decomposes polyMesh into tets or pyramids. More...
Public Types | |
enum | decompositionType { FACE_CENTRE_TRIS, FACE_DIAG_TRIS, PYRAMID } |
Public Member Functions | |
ClassName ("tetDecomposer") | |
tetDecomposer (const polyMesh &) | |
const labelList & | cellToPoint () const |
const labelList & | faceToPoint () const |
const labelListList & | faceOwnerCells () const |
const labelListList & | faceNeighbourCells () const |
void | setRefinement (const decompositionType decomposeType, const bitSet &decomposeCell, polyTopoChange &meshMod) |
void | updateMesh (const mapPolyMesh &) |
Static Public Attributes | |
static const Enum< decompositionType > | decompositionTypeNames |
Decomposes polyMesh into tets or pyramids.
Cells neighbouring decomposed cells are not decomposed themselves so will be polyhedral.
Definition at line 59 of file tetDecomposer.H.
enum decompositionType |
Enumerator | |
---|---|
FACE_CENTRE_TRIS | |
FACE_DIAG_TRIS | |
PYRAMID |
Definition at line 65 of file tetDecomposer.H.
tetDecomposer | ( | const polyMesh & | mesh | ) |
Definition at line 174 of file tetDecomposer.C.
ClassName | ( | "tetDecomposer" | ) |
|
inline |
Definition at line 154 of file tetDecomposer.H.
|
inline |
Definition at line 160 of file tetDecomposer.H.
|
inline |
Definition at line 169 of file tetDecomposer.H.
|
inline |
Definition at line 177 of file tetDecomposer.H.
void setRefinement | ( | const decompositionType | decomposeType, |
const bitSet & | decomposeCell, | ||
polyTopoChange & | meshMod | ||
) |
Definition at line 183 of file tetDecomposer.C.
References Foam::abort(), polyTopoChange::addCell(), polyTopoChange::addPoint(), HashTable::clear(), Foam::constant::electromagnetic::e, HashTable::end(), f(), Foam::FatalError, FatalErrorInFunction, HashTable::find(), faceZone::flipMap(), forAll, HashTable::insert(), Foam::max(), face::nextLabel(), p0, face::prevLabel(), List::setSize(), PackedList::setSize(), syncTools::swapBoundaryFaceList(), and faceZone::whichFace().
void updateMesh | ( | const mapPolyMesh & | map | ) |
Definition at line 845 of file tetDecomposer.C.
References forAll, Foam::inplaceRenumber(), mapPolyMesh::reverseCellMap(), and mapPolyMesh::reversePointMap().
|
static |
Definition at line 72 of file tetDecomposer.H.
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.