Public Member Functions | Private Attributes
extrudeLayer::addressingCalculator Class Reference
Collaboration diagram for extrudeLayer::addressingCalculator:
Collaboration graph
[legend]

Public Member Functions

 addressingCalculator (const faceListPMG &faces, const LongList< labelPair > &extrudedFaces, const LongList< bool > &pairOrientation, const VRWGraph &pointFaces)
 
 ~addressingCalculator ()
 
label origFaceLabel (const label extrudedI) const
 return label of the original face for the given face More...
 
label positionInFace (const label extrudedI, const label pointI) const
 return position of point in extruded face More...
 
label origPointLabel (const label extrudedI, const label pos) const
 return point label in the original face More...
 
label origPoint (const label extrudedI, const label pointI) const
 
label faceSharingEdge (const label extrudedI, const label eI) const
 find face sharing an edge with the given face More...
 
void facesSharingEdge (const label start, const label end, DynList< label > &) const
 find faces attached to both points More...
 

Private Attributes

const faceListPMGfaces_
 const reference to mesh faces More...
 
const LongList< labelPair > & extrudedFaces_
 const reference to extruded face pairs More...
 
LongList< bool > pairOrientation_
 const reference telling the orientation of each face pair More...
 
const VRWGraphpointExtruded_
 const reference to the extruded faces at points More...
 

Detailed Description

this class provides addressing data needed for generating cells emerging as a consequence of self-intersecting layers

Definition at line 102 of file extrudeLayer.H.

Constructor & Destructor Documentation

◆ addressingCalculator()

addressingCalculator ( const faceListPMG faces,
const LongList< labelPair > &  extrudedFaces,
const LongList< bool > &  pairOrientation,
const VRWGraph pointFaces 
)

Definition at line 52 of file extrudeLayer.C.

◆ ~addressingCalculator()

Definition at line 65 of file extrudeLayer.C.

Member Function Documentation

◆ origFaceLabel()

label origFaceLabel ( const label  extrudedI) const
inline

return label of the original face for the given face

Definition at line 38 of file extrudeLayerI.H.

◆ positionInFace()

label positionInFace ( const label  extrudedI,
const label  pointI 
) const
inline

return position of point in extruded face

Definition at line 46 of file extrudeLayerI.H.

References f().

Here is the call graph for this function:

◆ origPointLabel()

label origPointLabel ( const label  extrudedI,
const label  pos 
) const
inline

return point label in the original face

Definition at line 57 of file extrudeLayerI.H.

References Foam::abort(), Foam::FatalError, FatalErrorIn, Foam::pos(), and List::size().

Referenced by extrudeLayer::createLayerCells().

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

◆ origPoint()

label origPoint ( const label  extrudedI,
const label  pointI 
) const
inline

Definition at line 83 of file extrudeLayerI.H.

References Foam::abort(), f(), Foam::FatalError, FatalErrorIn, Foam::pos(), and List::size().

Referenced by extrudeLayer::createLayerCells().

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

◆ faceSharingEdge()

label faceSharingEdge ( const label  extrudedI,
const label  eI 
) const
inline

find face sharing an edge with the given face

Definition at line 111 of file extrudeLayerI.H.

References Foam::abort(), f(), Foam::FatalError, FatalErrorIn, forAllRow, and Foam::meshTools::otherFace().

Referenced by extrudeLayer::createLayerCells().

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

◆ facesSharingEdge()

void facesSharingEdge ( const label  start,
const label  end,
DynList< label > &  edgeFaces 
) const
inline

find faces attached to both points

Definition at line 147 of file extrudeLayerI.H.

References DynList< T, staticSize >::append(), DynList< T, staticSize >::clear(), and forAllRow.

Referenced by extrudeLayer::createLayerCells().

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

Field Documentation

◆ faces_

const faceListPMG& faces_
private

const reference to mesh faces

Definition at line 106 of file extrudeLayer.H.

◆ extrudedFaces_

const LongList<labelPair>& extrudedFaces_
private

const reference to extruded face pairs

Definition at line 109 of file extrudeLayer.H.

◆ pairOrientation_

LongList<bool> pairOrientation_
private

const reference telling the orientation of each face pair

Definition at line 112 of file extrudeLayer.H.

◆ pointExtruded_

const VRWGraph& pointExtruded_
private

const reference to the extruded faces at points

Definition at line 115 of file extrudeLayer.H.


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