mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use list methods find/found instead of findIndex function
This commit is contained in:
@ -1147,7 +1147,7 @@ Foam::label Foam::distributedTriSurfaceMesh::findTriangle
|
||||
if (f.region() == otherF.region())
|
||||
{
|
||||
// Find index of otherF[0]
|
||||
label fp0 = findIndex(f, otherF[0]);
|
||||
label fp0 = f.find(otherF[0]);
|
||||
// Check rest of triangle in same order
|
||||
label fp1 = f.fcIndex(fp0);
|
||||
label fp2 = f.fcIndex(fp1);
|
||||
|
||||
Reference in New Issue
Block a user