mirror of
https://github.com/NGSolve/netgen.git
synced 2025-05-04 17:50:50 +05:00
return invalid surfaceindex (index is 0 based)
This commit is contained in:
parent
b84975586c
commit
a9e8f2a1c9
@ -163,7 +163,7 @@ namespace netgen
|
|||||||
if(mesh.PointContainedIn2DElement(p,lami,ii))
|
if(mesh.PointContainedIn2DElement(p,lami,ii))
|
||||||
return ii;
|
return ii;
|
||||||
}
|
}
|
||||||
return 0;
|
return SurfaceElementIndex::INVALID;
|
||||||
}
|
}
|
||||||
|
|
||||||
SegmentIndex Find1dElement (const Mesh& mesh,
|
SegmentIndex Find1dElement (const Mesh& mesh,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user