MCPcopy Create free account
hub / github.com/OpenFOAM/OpenFOAM-dev / cellLabel

Method cellLabel

src/meshTools/edgeFaceCirculator/edgeFaceCirculatorI.H:173–187  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

171
172
173Foam::label Foam::edgeFaceCirculator::cellLabel() const
174{
175 if (ownerSide_)
176 {
177 return mesh_.faceOwner()[faceLabel_];
178 }
179 else if (mesh_.isInternalFace(faceLabel_))
180 {
181 return mesh_.faceNeighbour()[faceLabel_];
182 }
183 else
184 {
185 return -1;
186 }
187}
188
189
190bool Foam::edgeFaceCirculator::sameOrder(const label v0, const label v1) const

Callers 1

createFacesAroundEdgeFunction · 0.45

Calls 1

isInternalFaceMethod · 0.80

Tested by

no test coverage detected