OpenFOAM logo
The Open Source CFD Toolbox
  Source Guide OpenCFD Solutions Contact OpenFOAM

cellFeatures Class Reference

Cell analysis class. More...

Collaboration diagram for cellFeatures:

List of all members.


Public Member Functions

 cellFeatures (const primitiveMesh &, const scalar minCos, const label cellI)
 Construct from cell in mesh.
 ~cellFeatures ()
const labelHashSet & featureEdge () const
const faceList & faces () const
const List< DynamicList< label > > & faceMap () const
 New to old faceMap. Guaranteed to be shrunk.
bool isFeatureEdge (const label edgeI) const
 Is edge a feature edge (uniquely determined since on cell.
bool isFeaturePoint (const label edge0, const label edge1) const
 Are two edges connected at feature point?
bool isFeatureVertex (const label faceI, const label vertI) const
 Is vertexI on faceI used by two edges that form feature.

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 57 of file cellFeatures.H.


Constructor & Destructor Documentation

cellFeatures ( const primitiveMesh &  mesh,
const scalar  minCos,
const label  cellI 
)

Construct from cell in mesh.

Definition at line 376 of file cellFeatures.C.

~cellFeatures (  ) 

Definition at line 406 of file cellFeatures.C.


Member Function Documentation

const labelHashSet& featureEdge (  )  const [inline]

Definition at line 133 of file cellFeatures.H.

Referenced by cellFeatures::isFeatureEdge().

Here is the caller graph for this function:

const faceList& faces (  )  const [inline]

Definition at line 138 of file cellFeatures.H.

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

New to old faceMap. Guaranteed to be shrunk.

Definition at line 148 of file cellFeatures.H.

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 164 of file cellFeatures.H.

References cellFeatures::featureEdge().

Here is the call graph for this function:

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::deleteDemandDrivenData().

Here is the call graph for this function:

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

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

point

Definition at line 486 of file cellFeatures.C.


The documentation for this class was generated from the following files:
Copyright © 2000-2009 OpenCFD Ltd