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