Public Member Functions | |
partTet () | |
Null construct. More... | |
partTet (const label a, const label b, const label c, const label d) | |
Construct from point labels. More... | |
~partTet () | |
label | a () const |
Return vertices. More... | |
label | b () const |
label | c () const |
label | d () const |
label | size () const |
label | whichPosition (const label) const |
find position of the node in the partTet More... | |
template<class PointField > | |
vector | Sa (const PointField &) const |
Return face normal. More... | |
template<class PointField > | |
vector | Sb (const PointField &) const |
template<class PointField > | |
vector | Sc (const PointField &) const |
template<class PointField > | |
vector | Sd (const PointField &) const |
template<class PointField > | |
scalar | mag (const PointField &) const |
Return volume. More... | |
template<class PointField > | |
point | crcmCentre (const PointField &) const |
Return circum-centre. More... | |
template<class PointField > | |
scalar | crcmRadius (const PointField &) const |
template<class PointField > | |
point | centroid (const PointField &) const |
Return centroid of the tetrahedron. More... | |
FixedList< edge, 6 > | edges () const |
Return edges. More... | |
edge | getEdge (const label) const |
Return edge. More... | |
label | operator[] (const label) const |
void | operator= (const partTet &) |
bool | operator== (const partTet &) const |
bool | operator!= (const partTet &) const |
Protected Attributes | |
label | data_ [4] |
Friends | |
Ostream & | operator<< (Ostream &, const partTet &) |
|
inline |
Null construct.
Definition at line 39 of file partTetI.H.
Construct from point labels.
Definition at line 44 of file partTetI.H.
References Foam::constant::physicoChemical::b, and Foam::constant::universal::c.
|
inline |
Definition at line 57 of file partTetI.H.
|
inline |
Return vertices.
Definition at line 63 of file partTetI.H.
References partTet::data_.
Referenced by tetMeshExtractorOctree::createPolyMesh(), volumeOptimizer::evaluateFunc(), volumeOptimizer::evaluateGradientsExact(), volumeOptimizer::evaluateStabilisationFactor(), knuppMetric::knuppMetric(), Foam::operator<<(), partTet::operator==(), volumeOptimizer::optimiseSteepestDescent(), meshUntangler::optimizeNodePosition(), partTetMeshSimplex::partTetMeshSimplex(), quadricMetric::quadricMetric(), and simplexSmoother::simplexSmoother().
|
inline |
Definition at line 68 of file partTetI.H.
References partTet::data_.
Referenced by tetMeshExtractorOctree::createPolyMesh(), volumeOptimizer::evaluateFunc(), volumeOptimizer::evaluateGradientsExact(), volumeOptimizer::evaluateStabilisationFactor(), knuppMetric::knuppMetric(), Foam::operator<<(), partTet::operator==(), volumeOptimizer::optimiseSteepestDescent(), meshUntangler::optimizeNodePosition(), partTetMeshSimplex::partTetMeshSimplex(), quadricMetric::quadricMetric(), and simplexSmoother::simplexSmoother().
|
inline |
Definition at line 73 of file partTetI.H.
References partTet::data_.
Referenced by tetMeshExtractorOctree::createPolyMesh(), volumeOptimizer::evaluateFunc(), volumeOptimizer::evaluateGradientsExact(), volumeOptimizer::evaluateStabilisationFactor(), knuppMetric::knuppMetric(), Foam::operator<<(), partTet::operator==(), volumeOptimizer::optimiseSteepestDescent(), meshUntangler::optimizeNodePosition(), partTetMeshSimplex::partTetMeshSimplex(), quadricMetric::quadricMetric(), and simplexSmoother::simplexSmoother().
|
inline |
Definition at line 78 of file partTetI.H.
References partTet::data_.
Referenced by tetMeshExtractorOctree::createPolyMesh(), volumeOptimizer::evaluateFunc(), volumeOptimizer::evaluateGradientsExact(), volumeOptimizer::evaluateStabilisationFactor(), Foam::operator<<(), partTet::operator==(), partTetMeshSimplex::partTetMeshSimplex(), and simplexSmoother::simplexSmoother().
|
inline |
Definition at line 83 of file partTetI.H.
find position of the node in the partTet
Definition at line 88 of file partTetI.H.
References partTet::data_.
Referenced by voronoiMeshExtractor::createAddressing(), and partTetMeshSimplex::partTetMeshSimplex().
|
inline |
Return face normal.
Definition at line 98 of file partTetI.H.
References partTet::data_, triangle::normal(), and points.
|
inline |
Definition at line 112 of file partTetI.H.
References partTet::data_, triangle::normal(), and points.
|
inline |
Definition at line 126 of file partTetI.H.
References partTet::data_, triangle::normal(), and points.
|
inline |
Definition at line 140 of file partTetI.H.
References partTet::data_, triangle::normal(), and points.
Referenced by partTetMesh::updateVertex(), and partTetMesh::updateVerticesSMP().
|
inline |
Return volume.
Definition at line 154 of file partTetI.H.
References partTet::data_, tetrahedron::mag(), and points.
Referenced by volumeOptimizer::optimiseSteepestDescent(), partTetMesh::updateVertex(), and partTetMesh::updateVerticesSMP().
|
inline |
Return circum-centre.
Definition at line 169 of file partTetI.H.
References tetrahedron::circumCentre(), partTet::data_, and points.
|
inline |
Definition at line 183 of file partTetI.H.
References tetrahedron::circumRadius(), partTet::data_, and points.
|
inline |
Return centroid of the tetrahedron.
Definition at line 197 of file partTetI.H.
References partTet::data_, p, and points.
Referenced by partTetMesh::updateVertex(), and partTetMesh::updateVerticesSMP().
Return edges.
Definition at line 207 of file partTetI.H.
References partTet::data_.
Referenced by voronoiMeshExtractor::createAddressing().
Return edge.
Definition at line 220 of file partTetI.H.
References Foam::abort(), partTet::data_, Foam::FatalError, and FatalErrorIn.
Definition at line 256 of file partTetI.H.
References partTet::data_.
|
inline |
Definition at line 261 of file partTetI.H.
References partTet::data_.
|
inline |
Definition at line 267 of file partTetI.H.
References partTet::a(), partTet::b(), partTet::c(), and partTet::d().
Referenced by partTet::operator!=().
|
inline |
Definition at line 281 of file partTetI.H.
References partTet::operator==().
Definition at line 288 of file partTetI.H.
|
protected |
Definition at line 58 of file partTet.H.
Referenced by partTet::a(), partTet::b(), partTet::c(), partTet::centroid(), partTet::crcmCentre(), partTet::crcmRadius(), partTet::d(), partTet::edges(), partTet::getEdge(), partTet::mag(), partTet::operator=(), partTet::operator[](), partTet::Sa(), partTet::Sb(), partTet::Sc(), partTet::Sd(), and partTet::whichPosition().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.