mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Further standardization of loop index naming: pointI -> pointi, patchI -> patchi
This commit is contained in:
@ -70,13 +70,13 @@ int main(int argc, char *argv[])
|
||||
label minIndex = -1;
|
||||
scalar minDist = GREAT;
|
||||
|
||||
forAll(localPoints, pointI)
|
||||
forAll(localPoints, pointi)
|
||||
{
|
||||
const scalar dist = mag(localPoints[pointI] - samplePt);
|
||||
const scalar dist = mag(localPoints[pointi] - samplePt);
|
||||
if (dist < minDist)
|
||||
{
|
||||
minDist = dist;
|
||||
minIndex = pointI;
|
||||
minIndex = pointi;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user