86 if (cellModelPtr_ ==
nullptr)
90 return *cellModelPtr_;
103 return 2*(v0*numVert + v1);
110 const label localVertI,
118 return (localVertI + 1) % size;
123 return (size + localVertI - 1) % size;
A HashTable to objects of type <T> with a label key.
const faceList & localFaces() const
const cellModel & model() const
labelListList pointFaceIndex_
pointFaceIndex[localVertI][localFacei] is index in localFace
labelList faceMap_
Map from local to mesh face numbering.
const word cellModelName_
CellModel name.
labelList edgeFaces_
Map from 'edge' to neighbouring faces.
const labelList & faceMap() const
const labelList & faceLabels() const
labelList pointMap_
Map from local to mesh vertex numbering.
labelList faceLabels_
After matching: holds mesh faces in cellmodel order.
static label nextVert(const label, const label, const bool)
Step along face either in righthand or lefthand direction.
const cellModel * cellModelPtr_
const Map< label > & localPoint() const
labelList vertLabels_
After matching: holds mesh vertices in cellmodel order.
const labelList & pointMap() const
const labelList & vertLabels() const
labelList faceSize_
Number of vertices per face in localFaces_.
const labelList & faceSize() const
static label edgeKey(const label numVert, const label v0, const label v1)
Given start and end of edge generate unique key.
const labelListList & pointFaceIndex() const
const labelList & edgeFaces() const
faceList localFaces_
Faces using local vertex numbering.
Maps a geometry to a set of cell primitives.
static const cellModel * ptr(const modelType model)
Look up pointer to cellModel by enumeration, or nullptr on failure.
List< labelList > labelListList
List of labelList.
List< label > labelList
A List of labels.
List< face > faceList
List of faces.