meshStructure Class Reference

Detect extruded mesh structure given a set of faces (uindirectPrimitivePatch). More...

Public Member Functions

 ClassName ("meshStructure")
 
 meshStructure (const polyMesh &mesh, const uindirectPrimitivePatch &)
 Construct from mesh and faces in mesh. Any addressing to. More...
 
 meshStructure (const polyMesh &mesh, const uindirectPrimitivePatch &, const globalIndex &globalFaces, const globalIndex &globalEdges, const globalIndex &globalPoints)
 Construct from mesh and faces in mesh and global indexing. More...
 
bool structured () const
 Is mesh structured? More...
 
const labelListcellToPatchFaceAddressing () const
 Cell to (global) patch face. More...
 
labelListcellToPatchFaceAddressing ()
 Cell to (global) patch face. More...
 
const labelListcellLayer () const
 Cell to layer. More...
 
labelListcellLayer ()
 Cell to layer. More...
 
const labelListfaceToPatchFaceAddressing () const
 Face to (global) patch face. More...
 
labelListfaceToPatchFaceAddressing ()
 Face to (global) patch face. More...
 
const labelListfaceToPatchEdgeAddressing () const
 Face to (global) patch edge. More...
 
labelListfaceToPatchEdgeAddressing ()
 Face to (global) patch edge. More...
 
const labelListfaceLayer () const
 Face to layer. More...
 
labelListfaceLayer ()
 Face to layer. More...
 
const labelListpointToPatchPointAddressing () const
 Point to (global) patch point. More...
 
labelListpointToPatchPointAddressing ()
 Point to (global) patch point. More...
 
const labelListpointLayer () const
 Point to layer. More...
 
labelListpointLayer ()
 Point to layer. More...
 

Detailed Description

Detect extruded mesh structure given a set of faces (uindirectPrimitivePatch).

All indices to originating set are in terms of global faces, global edges, global points.

Source files

Definition at line 61 of file meshStructure.H.

Constructor & Destructor Documentation

◆ meshStructure() [1/2]

meshStructure ( const polyMesh mesh,
const uindirectPrimitivePatch pp 
)

Construct from mesh and faces in mesh. Any addressing to.

faces/edges/points on patch are global indices

Definition at line 400 of file meshStructure.C.

References correct(), mesh, PrimitivePatch< FaceList, PointField >::nEdges(), and PrimitivePatch< FaceList, PointField >::nPoints().

Here is the call graph for this function:

◆ meshStructure() [2/2]

meshStructure ( const polyMesh mesh,
const uindirectPrimitivePatch pp,
const globalIndex globalFaces,
const globalIndex globalEdges,
const globalIndex globalPoints 
)

Construct from mesh and faces in mesh and global indexing.

Definition at line 417 of file meshStructure.C.

References correct(), and mesh.

Here is the call graph for this function:

Member Function Documentation

◆ ClassName()

ClassName ( "meshStructure"  )

◆ structured()

bool structured ( ) const
inline

Is mesh structured?

Definition at line 32 of file meshStructureI.H.

◆ cellToPatchFaceAddressing() [1/2]

const Foam::labelList & cellToPatchFaceAddressing ( ) const
inline

Cell to (global) patch face.

Definition at line 38 of file meshStructureI.H.

◆ cellToPatchFaceAddressing() [2/2]

Foam::labelList & cellToPatchFaceAddressing ( )
inline

Cell to (global) patch face.

Definition at line 44 of file meshStructureI.H.

◆ cellLayer() [1/2]

const Foam::labelList & cellLayer ( ) const
inline

Cell to layer.

Definition at line 50 of file meshStructureI.H.

◆ cellLayer() [2/2]

Foam::labelList & cellLayer ( )
inline

Cell to layer.

Definition at line 56 of file meshStructureI.H.

◆ faceToPatchFaceAddressing() [1/2]

const Foam::labelList & faceToPatchFaceAddressing ( ) const
inline

Face to (global) patch face.

Definition at line 62 of file meshStructureI.H.

◆ faceToPatchFaceAddressing() [2/2]

Foam::labelList & faceToPatchFaceAddressing ( )
inline

Face to (global) patch face.

Definition at line 68 of file meshStructureI.H.

◆ faceToPatchEdgeAddressing() [1/2]

const Foam::labelList & faceToPatchEdgeAddressing ( ) const
inline

Face to (global) patch edge.

Definition at line 74 of file meshStructureI.H.

◆ faceToPatchEdgeAddressing() [2/2]

Foam::labelList & faceToPatchEdgeAddressing ( )
inline

Face to (global) patch edge.

Definition at line 80 of file meshStructureI.H.

◆ faceLayer() [1/2]

const Foam::labelList & faceLayer ( ) const
inline

Face to layer.

Definition at line 86 of file meshStructureI.H.

◆ faceLayer() [2/2]

Foam::labelList & faceLayer ( )
inline

Face to layer.

Definition at line 92 of file meshStructureI.H.

◆ pointToPatchPointAddressing() [1/2]

const Foam::labelList & pointToPatchPointAddressing ( ) const
inline

Point to (global) patch point.

Definition at line 98 of file meshStructureI.H.

◆ pointToPatchPointAddressing() [2/2]

Foam::labelList & pointToPatchPointAddressing ( )
inline

Point to (global) patch point.

Definition at line 104 of file meshStructureI.H.

◆ pointLayer() [1/2]

const Foam::labelList & pointLayer ( ) const
inline

Point to layer.

Definition at line 110 of file meshStructureI.H.

◆ pointLayer() [2/2]

Foam::labelList & pointLayer ( )
inline

Point to layer.

Definition at line 116 of file meshStructureI.H.


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