mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
COMP: surfaceCheck: edgei vs edgeI
This commit is contained in:
@ -896,12 +896,12 @@ int main(int argc, char *argv[])
|
|||||||
|
|
||||||
forAll(surf.edges(), edgei)
|
forAll(surf.edges(), edgei)
|
||||||
{
|
{
|
||||||
const edge& e = surf.edges()[edgeI];
|
const edge& e = surf.edges()[edgei];
|
||||||
const point& start = surf.points()[surf.meshPoints()[e[0]]];
|
const point& start = surf.points()[surf.meshPoints()[e[0]]];
|
||||||
const point& end = surf.points()[surf.meshPoints()[e[1]]];
|
const point& end = surf.points()[surf.meshPoints()[e[1]]];
|
||||||
|
|
||||||
// Exclude hits of connected triangles
|
// Exclude hits of connected triangles
|
||||||
treeDataTriSurface::findSelfIntersectOp exclOp(tree, edgeI);
|
treeDataTriSurface::findSelfIntersectOp exclOp(tree, edgei);
|
||||||
|
|
||||||
pointIndexHit hitInfo(tree.findLineAny(start, end, exclOp));
|
pointIndexHit hitInfo(tree.findLineAny(start, end, exclOp));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user