Detect extruded mesh structure given a set of patch faces. More...
Public Member Functions | |
ClassName ("meshStructure") | |
meshStructure (const polyMesh &mesh, const uindirectPrimitivePatch &) | |
Construct null. More... | |
bool | structured () const |
Is mesh structured? More... | |
const labelList & | cellToPatchFaceAddressing () const |
Cell to patch face. More... | |
labelList & | cellToPatchFaceAddressing () |
Cell to patch face. More... | |
const labelList & | cellLayer () const |
Cell to layer. More... | |
labelList & | cellLayer () |
Cell to layer. More... | |
const labelList & | faceToPatchFaceAddressing () const |
Face to patch face. More... | |
labelList & | faceToPatchFaceAddressing () |
Face to patch face. More... | |
const labelList & | faceToPatchEdgeAddressing () const |
Face to patch edge. More... | |
labelList & | faceToPatchEdgeAddressing () |
Face to patch edge. More... | |
const labelList & | faceLayer () const |
Face to layer. More... | |
labelList & | faceLayer () |
Face to layer. More... | |
const labelList & | pointToPatchPointAddressing () const |
Point to patch point. More... | |
labelList & | pointToPatchPointAddressing () |
Point to patch point. More... | |
const labelList & | pointLayer () const |
Point to layer. More... | |
labelList & | pointLayer () |
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... | |
Detect extruded mesh structure given a set of patch faces.
Definition at line 54 of file meshStructure.H.
meshStructure | ( | const polyMesh & | mesh, |
const uindirectPrimitivePatch & | pp | ||
) |
Construct null.
Definition at line 378 of file meshStructure.C.
References correct(), and mesh.
|
private |
Is cell structured.
Definition at line 43 of file meshStructure.C.
References f(), forAll, mesh, and List::size().
|
private |
Calculate all maps.
Definition at line 100 of file meshStructure.C.
References Foam::distance(), PrimitivePatch< Face, FaceList, PointField, PointType >::edges(), Foam::endl(), f(), HashTable::find(), forAll, Foam::gMax(), Foam::Info, HashTable::insert(), Foam::invertOneToMany(), Foam::labelMin, mesh, PrimitivePatch< Face, FaceList, PointField, PointType >::meshPoints(), PrimitivePatch< Face, FaceList, PointField, PointType >::nEdges(), Foam::nl, PrimitivePatch< Face, FaceList, PointField, PointType >::nPoints(), patchFaces(), Foam::reduce(), Foam::returnReduce(), and List::setSize().
ClassName | ( | "meshStructure" | ) |
|
inline |
Is mesh structured?
Definition at line 30 of file meshStructureI.H.
References meshStructure::structured_.
|
inline |
Cell to patch face.
Definition at line 36 of file meshStructureI.H.
|
inline |
Cell to patch face.
|
inline |
Cell to layer.
Definition at line 48 of file meshStructureI.H.
|
inline |
Cell to layer.
|
inline |
Face to patch face.
Definition at line 60 of file meshStructureI.H.
|
inline |
Face to patch face.
|
inline |
Face to patch edge.
Definition at line 72 of file meshStructureI.H.
|
inline |
Face to patch edge.
|
inline |
Face to layer.
Definition at line 84 of file meshStructureI.H.
|
inline |
Face to layer.
|
inline |
Point to patch point.
Definition at line 96 of file meshStructureI.H.
|
inline |
Point to patch point.
|
inline |
Point to layer.
Definition at line 108 of file meshStructureI.H.
|
inline |
Point to layer.
|
private |
Cell to patch face.
Definition at line 59 of file meshStructure.H.
|
private |
Cell to layer.
Definition at line 62 of file meshStructure.H.
|
private |
Face to patch face.
Definition at line 65 of file meshStructure.H.
|
private |
Face to patch edge.
Definition at line 68 of file meshStructure.H.
|
private |
Face to layer.
Definition at line 71 of file meshStructure.H.
|
private |
Point to patch point.
Definition at line 74 of file meshStructure.H.
|
private |
Point to layer.
Definition at line 77 of file meshStructure.H.
|
private |
Is mesh structured?
Definition at line 80 of file meshStructure.H.
Referenced by meshStructure::structured().
Copyright © 2011-2018 OpenFOAM | OPENFOAM® is a registered trademark of OpenCFD Ltd.