cellFeatures Class Reference

Cell analysis class. More...

Public Member Functions

 cellFeatures (const primitiveMesh &, const scalar minCos, const label celli)
 Construct from cell in mesh. More...
 
 cellFeatures (const cellFeatures &)=delete
 Disallow default bitwise copy construction. More...
 
 ~cellFeatures ()
 Destructor. More...
 
const labelHashSetfeatureEdge () const
 
const faceListfaces () 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...
 
void operator= (const cellFeatures &)=delete
 Disallow default bitwise assignment. More...
 

Detailed Description

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'.

Source files

Definition at line 61 of file cellFeatures.H.

Constructor & Destructor Documentation

◆ cellFeatures() [1/2]

cellFeatures ( const primitiveMesh mesh,
const scalar  minCos,
const label  celli 
)

Construct from cell in mesh.

Definition at line 376 of file cellFeatures.C.

References primitiveMesh::cellEdges(), forAll, and HashSet< Key, Hash >::insert().

Here is the call graph for this function:

◆ cellFeatures() [2/2]

cellFeatures ( const cellFeatures )
delete

Disallow default bitwise copy construction.

◆ ~cellFeatures()

Destructor.

Definition at line 406 of file cellFeatures.C.

References Foam::deleteDemandDrivenData().

Here is the call graph for this function:

Member Function Documentation

◆ featureEdge()

const labelHashSet& featureEdge ( ) const
inline

Definition at line 131 of file cellFeatures.H.

Referenced by cellFeatures::faceMap().

Here is the caller graph for this function:

◆ faces()

const faceList& faces ( ) const
inline

Definition at line 136 of file cellFeatures.H.

Referenced by topoCellLooper::cut().

Here is the caller graph for this function:

◆ faceMap()

const List<DynamicList<label> >& faceMap ( ) const
inline

New to old faceMap. Guaranteed to be shrunk.

Definition at line 146 of file cellFeatures.H.

References cellFeatures::featureEdge(), HashTable< T, Key, Hash >::found(), cellFeatures::isFeatureEdge(), cellFeatures::isFeaturePoint(), cellFeatures::isFeatureVertex(), and cellFeatures::operator=().

Here is the call graph for this function:

◆ isFeatureEdge()

bool isFeatureEdge ( const label  edgeI) const
inline

Is edge a feature edge (uniquely determined since on cell.

only two faces sharing edge)

Definition at line 160 of file cellFeatures.H.

Referenced by cellFeatures::faceMap().

Here is the caller graph for this function:

◆ isFeaturePoint()

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 414 of file cellFeatures.C.

References Foam::abort(), primitiveMesh::edges(), edge::end(), Foam::FatalError, FatalErrorInFunction, Foam::mag(), primitiveMesh::nEdges(), primitiveMesh::points(), edge::start(), and edge::vec().

Referenced by cellFeatures::faceMap(), and cellFeatures::isFeatureVertex().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ isFeatureVertex()

bool isFeatureVertex ( const label  facei,
const label  vertI 
) const

Is vertexI on facei used by two edges that form feature.

point

Definition at line 481 of file cellFeatures.C.

References Foam::abort(), Foam::meshTools::edgeOnFace(), primitiveMesh::faces(), Foam::FatalError, FatalErrorInFunction, forAll, cellFeatures::isFeaturePoint(), primitiveMesh::nFaces(), primitiveMesh::nPoints(), and primitiveMesh::pointEdges().

Referenced by cellFeatures::faceMap().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ operator=()

void operator= ( const cellFeatures )
delete

Disallow default bitwise assignment.

Referenced by cellFeatures::faceMap().

Here is the caller graph for this function:

The documentation for this class was generated from the following files: