|
|
|
tetrahedron Class Template ReferenceCollaboration diagram for tetrahedron:![]() Detailed Descriptiontemplate<class Point, class PointRef>
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Types | |
| enum | { nVertices = 4, nEdges = 6 } |
Public Member Functions | |
| tetrahedron (const Point &a, const Point &b, const Point &c, const Point &d) | |
| Construct from points. | |
| tetrahedron (Istream &) | |
| Construct from Istream. | |
| const Point & | a () const |
| Return vertices. | |
| const Point & | b () const |
| const Point & | c () const |
| const Point & | d () const |
| vector | Sa () const |
| Return face normal. | |
| vector | Sb () const |
| vector | Sc () const |
| vector | Sd () const |
| scalar | mag () const |
| Return volume. | |
| vector | circumCentre () const |
| Return circum-centre. | |
| scalar | circumRadius () const |
| Return circum-radius. | |
| pointHit | containmentSphere (const scalar tol) const |
| Return (min)containment sphere, i.e. the smallest sphere with. | |
| void | gradNiSquared (scalarField &buffer) const |
| Fill buffer with shape function products. | |
| void | gradNiDotGradNj (scalarField &buffer) const |
| void | gradNiGradNi (tensorField &buffer) const |
| void | gradNiGradNj (tensorField &buffer) const |
Friends | |
| Istream & | operator>> (Istream &, tetrahedron &) |
| Ostream & | operator (Ostream &, const tetrahedron &) |
| anonymous enum |
| tetrahedron | ( | const Point & | a, | |
| const Point & | b, | |||
| const Point & | c, | |||
| const Point & | d | |||
| ) | [inline] |
| tetrahedron | ( | Istream & | ) | [inline] |
| const Point & a | ( | ) | const [inline] |
Return vertices.
Definition at line 82 of file tetrahedronI.H.
Referenced by tetrahedron::mag().
Here is the caller graph for this function:

| const Point & b | ( | ) | const [inline] |
Definition at line 89 of file tetrahedronI.H.
Referenced by tetrahedron::mag().
Here is the caller graph for this function:

| const Point & c | ( | ) | const [inline] |
Definition at line 96 of file tetrahedronI.H.
Referenced by tetrahedron::mag().
Here is the caller graph for this function:

| const Point & d | ( | ) | const [inline] |
Definition at line 103 of file tetrahedronI.H.
| vector Sa | ( | ) | const [inline] |
| vector Sb | ( | ) | const [inline] |
Definition at line 117 of file tetrahedronI.H.
| vector Sc | ( | ) | const [inline] |
Definition at line 124 of file tetrahedronI.H.
| vector Sd | ( | ) | const [inline] |
Definition at line 131 of file tetrahedronI.H.
| scalar mag | ( | ) | const [inline] |
Return volume.
Definition at line 138 of file tetrahedronI.H.
References tetrahedron::a(), tetrahedron::b(), tetrahedron::c(), and Foam::magSqr().
Here is the call graph for this function:

| vector circumCentre | ( | ) | const [inline] |
| scalar circumRadius | ( | ) | const [inline] |
Return circum-radius.
Definition at line 162 of file tetrahedronI.H.
References tetrahedron::a_, tetrahedron::b_, tetrahedron::c_, tetrahedron::d_, and Istream::readBegin().
Here is the call graph for this function:

| pointHit containmentSphere | ( | const scalar | tol | ) | const |
Return (min)containment sphere, i.e. the smallest sphere with.
all points inside. Returns pointHit with:
| void gradNiSquared | ( | scalarField & | buffer | ) | const |
Fill buffer with shape function products.
| void gradNiDotGradNj | ( | scalarField & | buffer | ) | const |
| void gradNiGradNi | ( | tensorField & | buffer | ) | const |
| void gradNiGradNj | ( | tensorField & | buffer | ) | const |
| Istream& operator>> | ( | Istream & | , | |
| tetrahedron< Point, PointRef > & | ||||
| ) | [friend] |
| Ostream& operator | ( | Ostream & | , | |
| const tetrahedron< Point, PointRef > & | ||||
| ) | [friend] |