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