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

Function edgeOnFace

src/meshTools/meshTools/meshTools.C:295–303  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

293
294
295bool Foam::meshTools::edgeOnFace
296(
297 const primitiveMesh& mesh,
298 const label facei,
299 const label edgeI
300)
301{
302 return findIndex(mesh.faceEdges(facei), edgeI) != -1;
303}
304
305
306// Return true if facei part of celli

Callers 2

walkFaceFunction · 0.85
isFeatureVertexFunction · 0.85

Calls 1

findIndexFunction · 0.85

Tested by

no test coverage detected