Go to the documentation of this file.
69 #ifndef edgeFaceCirculator_H
70 #define edgeFaceCirculator_H
141 const bool isBoundaryEdge
void operator=(const edgeFaceCirculator &iter)
bool isBoundaryEdge_
Is boundary edge?
bool operator!=(const edgeFaceCirculator &iter) const
edgeFaceCirculator & operator++()
Step to next face. Uses no edge addressing!
void setEnd()
Set to end() iterator.
label startFaceLabel_
Starting face so we know when to stop. Used when circulating over.
label faceLabel_
Current face.
static label getMinIndex(const face &f, const label v0, const label v1)
Helper: find index in face of edge or -1. Index is such that edge is.
Walks from starting face around edge.
void setFace(const label faceI, const label cellI)
Check and set faceLabel_ and ownerSide_.
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 edgeFaceCirculator endConstIter
End iterator.
edgeFaceCirculator(const primitiveMesh &mesh, const label faceLabel, const bool ownerSide, const label index, const bool isBoundaryEdge)
Construct from components.
void setCanonical()
Set edge to a unique state so different ones can be compared.
void otherFace(const label cellI)
Set faceLabel_ to be the other face on the cell that uses the.
const primitiveMesh & mesh_
Mesh.
const edgeFaceCirculator & end() const
Iterator set to beyond the end of the walk.
const edgeFaceCirculator & cend() const
bool sameOrder(const label v0, const label v1) const
Helper: return true if normal of generated face points along.
bool ownerSide_
Current side of face.
bool operator==(const edgeFaceCirculator &iter) const
edgeFaceCirculator cbegin() const
label cellLabel() const
Helper: get the neighbouring cell according to the ownerSide.
A face is a list of labels corresponding to mesh vertices.
Various functions to operate on Lists.
label index_
Edge (between index and index+1 on faces[faceLabel_].
edgeFaceCirculator begin() const
Iterator set to the beginning face. For internal edges this is.
Cell-face mesh analysis engine.