Cell analysis class. More...
Public Member Functions | |
cellFeatures (const primitiveMesh &, const scalar minCos, const label celli) | |
Construct from cell in mesh. More... | |
~cellFeatures () | |
Destructor. More... | |
const labelHashSet & | featureEdge () const |
const faceList & | faces () const |
const List< DynamicList< label > > & | faceMap () const |
New to old faceMap. Guaranteed to be shrunk. More... | |
bool | isFeatureEdge (const label edgeI) const |
Is edge a feature edge (uniquely determined since on cell. More... | |
bool | isFeaturePoint (const label edge0, const label edge1) const |
Are two edges connected at feature point? More... | |
bool | isFeatureVertex (const label facei, const label vertI) const |
Is vertexI on facei used by two edges that form feature. More... | |
Cell analysis class.
Constructs feature edges and feature points, which are edges/points with and angle > given specification. Can be asked for 'superFaces' which can be used to see if a cell is a 'splitHex'.
Definition at line 59 of file cellFeatures.H.
cellFeatures | ( | const primitiveMesh & | mesh, |
const scalar | minCos, | ||
const label | celli | ||
) |
~cellFeatures | ( | ) |
Destructor.
Definition at line 389 of file cellFeatures.C.
|
inline |
Definition at line 149 of file cellFeatures.H.
Referenced by cellFeatures::isFeatureEdge().
|
inline |
Definition at line 154 of file cellFeatures.H.
Referenced by topoCellLooper::cut().
|
inline |
New to old faceMap. Guaranteed to be shrunk.
Definition at line 166 of file cellFeatures.H.
|
inline |
Is edge a feature edge (uniquely determined since on cell.
only two faces sharing edge)
Definition at line 183 of file cellFeatures.H.
References cellFeatures::featureEdge(), and HashTable< T, Key, Hash >::found().
bool isFeaturePoint | ( | const label | edge0, |
const label | edge1 | ||
) | const |
Are two edges connected at feature point?
Is local to face since point might be seen as feature point from one face but not from another.
Definition at line 395 of file cellFeatures.C.
References Foam::abort(), edge::end(), Foam::FatalError, FatalErrorInFunction, edge::start(), and edge::unitVec().
bool isFeatureVertex | ( | const label | facei, |
const label | vertI | ||
) | const |
Is vertexI on facei used by two edges that form feature.
point
Definition at line 459 of file cellFeatures.C.
References Foam::abort(), Foam::meshTools::edgeOnFace(), Foam::FatalError, FatalErrorInFunction, and forAll.