A tetrahedral cell primitive. More...
#include <OpenFOAM/tetCell.H>
A tetrahedral cell primitive.
It is important that the ordering of edges is the same for a tetrahedron class, a tetrahedron cell shape model and a tetCell
Definition at line 59 of file tetCell.H.
Inheritance diagram for tetCell:
Collaboration diagram for tetCell:Public Member Functions | |
| tetCell () | |
| Construct null.
| |
| tetCell (const label a, const label b, const label c, const label d) | |
| Construct from four points.
| |
| tetCell (const FixedList< label, 4 > &) | |
| Construct from FixedList.
| |
| tetCell (Istream &) | |
| Construct from Istream.
| |
| triFace | face (const label faceI) const |
| Return i-th face.
| |
| label | edgeFace (const label edgeI) const |
| Return first face adjacent to the given edge.
| |
| label | edgeAdjacentFace (const label edgeI, const label faceI) const |
| Return face adjacent to the given face sharing the same edge.
| |
| edge | tetEdge (const label edgeI) const |
| Return i-th edge.
| |
| cellShape | tetCellShape () const |
| Return tet shape cell.
| |
| tetPointRef | tet (const pointField &) const |
| Return the tetrahedron.
| |
| tetCell | ( | ) | [inline]
|
Construct null.
Definition at line 32 of file tetCellI.H.
| tetCell | ( | const label | a, |
| const label | b, | ||
| const label | c, | ||
| const label | d | ||
| ) | [inline]
|
Construct from FixedList.
Definition at line 51 of file tetCellI.H.
Construct from Istream.
Definition at line 57 of file tetCellI.H.
| Foam::triFace face | ( | const label | faceI ) | const [inline]
|
Return i-th face.
Definition at line 65 of file tetCellI.H.
References Foam::abort(), Foam::FatalError, FatalErrorIn, and triFace().
| Foam::label edgeFace | ( | const label | edgeI ) | const [inline]
|
Return first face adjacent to the given edge.
Definition at line 91 of file tetCellI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
| Foam::label edgeAdjacentFace | ( | const label | edgeI, |
| const label | faceI | ||
| ) | const [inline]
|
Return face adjacent to the given face sharing the same edge.
Definition at line 115 of file tetCellI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
| Foam::edge tetEdge | ( | const label | edgeI ) | const [inline]
|
Return i-th edge.
Definition at line 158 of file tetCellI.H.
References Foam::abort(), Foam::FatalError, and FatalErrorIn.
| Foam::cellShape tetCellShape | ( | ) | const |
Return tet shape cell.
Definition at line 35 of file tetCell.C.
References cellModeller::lookup(), and tetCell::tet().
| Foam::tetPointRef tet | ( | const pointField & | points ) | const [inline]
|
Return the tetrahedron.
Definition at line 179 of file tetCellI.H.
Referenced by tetCell::tetCellShape().