Public Member Functions | Private Member Functions | Private Attributes
meshStructure Class Reference

Detect extruded mesh structure given a set of patch faces. More...

Collaboration diagram for meshStructure:
Collaboration graph
[legend]

Public Member Functions

 ClassName ("meshStructure")
 
 meshStructure (const polyMesh &mesh, const uindirectPrimitivePatch &)
 Construct null. More...
 
bool structured () const
 Is mesh structured? More...
 
const labelListcellToPatchFaceAddressing () const
 Cell to patch face. More...
 
labelListcellToPatchFaceAddressing ()
 Cell to patch face. More...
 
const labelListcellLayer () const
 Cell to layer. More...
 
labelListcellLayer ()
 Cell to layer. More...
 
const labelListfaceToPatchFaceAddressing () const
 Face to patch face. More...
 
labelListfaceToPatchFaceAddressing ()
 Face to patch face. More...
 
const labelListfaceToPatchEdgeAddressing () const
 Face to patch edge. More...
 
labelListfaceToPatchEdgeAddressing ()
 Face to patch edge. More...
 
const labelListfaceLayer () const
 Face to layer. More...
 
labelListfaceLayer ()
 Face to layer. More...
 
const labelListpointToPatchPointAddressing () const
 Point to patch point. More...
 
labelListpointToPatchPointAddressing ()
 Point to patch point. More...
 
const labelListpointLayer () const
 Point to layer. More...
 
labelListpointLayer ()
 Point to layer. More...
 

Private Member Functions

bool isStructuredCell (const polyMesh &mesh, const label layerI, const label cellI) const
 Is cell structured. More...
 
void correct (const polyMesh &mesh, const uindirectPrimitivePatch &pp)
 Calculate all maps. More...
 

Private Attributes

labelList cellToPatchFaceAddressing_
 Cell to patch face. More...
 
labelList cellLayer_
 Cell to layer. More...
 
labelList faceToPatchFaceAddressing_
 Face to patch face. More...
 
labelList faceToPatchEdgeAddressing_
 Face to patch edge. More...
 
labelList faceLayer_
 Face to layer. More...
 
labelList pointToPatchPointAddressing_
 Point to patch point. More...
 
labelList pointLayer_
 Point to layer. More...
 
bool structured_
 Is mesh structured? More...
 

Detailed Description

Detect extruded mesh structure given a set of patch faces.

Source files

Definition at line 54 of file meshStructure.H.

Constructor & Destructor Documentation

◆ meshStructure()

meshStructure ( const polyMesh mesh,
const uindirectPrimitivePatch pp 
)

Construct null.

Definition at line 378 of file meshStructure.C.

References correct(), and mesh.

Here is the call graph for this function:

Member Function Documentation

◆ isStructuredCell()

bool isStructuredCell ( const polyMesh mesh,
const label  layerI,
const label  cellI 
) const
private

Is cell structured.

Definition at line 43 of file meshStructure.C.

References f(), forAll, mesh, and List::size().

Here is the call graph for this function:

◆ correct()

void correct ( const polyMesh mesh,
const uindirectPrimitivePatch pp 
)
private

◆ ClassName()

ClassName ( "meshStructure"  )

◆ structured()

bool structured ( ) const
inline

Is mesh structured?

Definition at line 30 of file meshStructureI.H.

References meshStructure::structured_.

◆ cellToPatchFaceAddressing() [1/2]

Foam::labelList & cellToPatchFaceAddressing ( ) const
inline

Cell to patch face.

Definition at line 36 of file meshStructureI.H.

◆ cellToPatchFaceAddressing() [2/2]

labelList& cellToPatchFaceAddressing ( )
inline

Cell to patch face.

◆ cellLayer() [1/2]

Foam::labelList & cellLayer ( ) const
inline

Cell to layer.

Definition at line 48 of file meshStructureI.H.

◆ cellLayer() [2/2]

labelList& cellLayer ( )
inline

Cell to layer.

◆ faceToPatchFaceAddressing() [1/2]

Foam::labelList & faceToPatchFaceAddressing ( ) const
inline

Face to patch face.

Definition at line 60 of file meshStructureI.H.

◆ faceToPatchFaceAddressing() [2/2]

labelList& faceToPatchFaceAddressing ( )
inline

Face to patch face.

◆ faceToPatchEdgeAddressing() [1/2]

Foam::labelList & faceToPatchEdgeAddressing ( ) const
inline

Face to patch edge.

Definition at line 72 of file meshStructureI.H.

◆ faceToPatchEdgeAddressing() [2/2]

labelList& faceToPatchEdgeAddressing ( )
inline

Face to patch edge.

◆ faceLayer() [1/2]

Foam::labelList & faceLayer ( ) const
inline

Face to layer.

Definition at line 84 of file meshStructureI.H.

◆ faceLayer() [2/2]

labelList& faceLayer ( )
inline

Face to layer.

◆ pointToPatchPointAddressing() [1/2]

Foam::labelList & pointToPatchPointAddressing ( ) const
inline

Point to patch point.

Definition at line 96 of file meshStructureI.H.

◆ pointToPatchPointAddressing() [2/2]

labelList& pointToPatchPointAddressing ( )
inline

Point to patch point.

◆ pointLayer() [1/2]

Foam::labelList & pointLayer ( ) const
inline

Point to layer.

Definition at line 108 of file meshStructureI.H.

◆ pointLayer() [2/2]

labelList& pointLayer ( )
inline

Point to layer.

Field Documentation

◆ cellToPatchFaceAddressing_

labelList cellToPatchFaceAddressing_
private

Cell to patch face.

Definition at line 59 of file meshStructure.H.

◆ cellLayer_

labelList cellLayer_
private

Cell to layer.

Definition at line 62 of file meshStructure.H.

◆ faceToPatchFaceAddressing_

labelList faceToPatchFaceAddressing_
private

Face to patch face.

Definition at line 65 of file meshStructure.H.

◆ faceToPatchEdgeAddressing_

labelList faceToPatchEdgeAddressing_
private

Face to patch edge.

Definition at line 68 of file meshStructure.H.

◆ faceLayer_

labelList faceLayer_
private

Face to layer.

Definition at line 71 of file meshStructure.H.

◆ pointToPatchPointAddressing_

labelList pointToPatchPointAddressing_
private

Point to patch point.

Definition at line 74 of file meshStructure.H.

◆ pointLayer_

labelList pointLayer_
private

Point to layer.

Definition at line 77 of file meshStructure.H.

◆ structured_

bool structured_
private

Is mesh structured?

Definition at line 80 of file meshStructure.H.

Referenced by meshStructure::structured().


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