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 labelList & cellToPatchFaceAddressing () const
 Cell to (global) patch face. More...
 
labelList & cellToPatchFaceAddressing ()
 Cell to (global) patch face. More...
 
const labelList & cellLayer () const
 Cell to layer. More...
 
labelList & cellLayer ()
 Cell to layer. More...
 
const labelList & faceToPatchFaceAddressing () const
 Face to (global) patch face. More...
 
labelList & faceToPatchFaceAddressing ()
 Face to (global) patch face. More...
 
const labelList & faceToPatchEdgeAddressing () const
 Face to (global) patch edge. More...
 
labelList & faceToPatchEdgeAddressing ()
 Face to (global) patch edge. More...
 
const labelList & faceLayer () const
 Face to layer. More...
 
labelList & faceLayer ()
 Face to layer. More...
 
const labelList & pointToPatchPointAddressing () const
 Point to (global) patch point. More...
 
labelList & pointToPatchPointAddressing ()
 Point to (global) patch point. More...
 
const labelList & pointLayer () const
 Point to layer. More...
 
labelList & pointLayer ()
 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 401 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 418 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: