Further standardization of loop index naming: pointI -> pointi, patchI -> patchi

This commit is contained in:
Henry Weller
2016-05-18 21:20:42 +01:00
parent ac632e7984
commit 67de20df25
365 changed files with 4877 additions and 4877 deletions

View File

@ -53,14 +53,14 @@ bool Foam::meshSearch::findNearer
{
bool nearer = false;
forAll(points, pointI)
forAll(points, pointi)
{
scalar distSqr = magSqr(points[pointI] - sample);
scalar distSqr = magSqr(points[pointi] - sample);
if (distSqr < nearestDistSqr)
{
nearestDistSqr = distSqr;
nearestI = pointI;
nearestI = pointi;
nearer = true;
}
}
@ -82,14 +82,14 @@ bool Foam::meshSearch::findNearer
forAll(indices, i)
{
label pointI = indices[i];
label pointi = indices[i];
scalar distSqr = magSqr(points[pointI] - sample);
scalar distSqr = magSqr(points[pointi] - sample);
if (distSqr < nearestDistSqr)
{
nearestDistSqr = distSqr;
nearestI = pointI;
nearestI = pointi;
nearer = true;
}
}