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 aa4b93068b
commit 4500971827
365 changed files with 4877 additions and 4877 deletions

View File

@ -250,24 +250,24 @@ autoPtr<mapPolyMesh> mergeSharedPoints
forAll(constructMap, i)
{
label oldPointI = constructMap[i];
label oldPointi = constructMap[i];
// New label of point after changeMesh.
label newPointI = map().reversePointMap()[oldPointI];
label newPointi = map().reversePointMap()[oldPointi];
if (newPointI < -1)
if (newPointi < -1)
{
constructMap[i] = -newPointI-2;
constructMap[i] = -newPointi-2;
}
else if (newPointI >= 0)
else if (newPointi >= 0)
{
constructMap[i] = newPointI;
constructMap[i] = newPointi;
}
else
{
FatalErrorInFunction
<< "Problem. oldPointI:" << oldPointI
<< " newPointI:" << newPointI << abort(FatalError);
<< "Problem. oldPointi:" << oldPointi
<< " newPointi:" << newPointi << abort(FatalError);
}
}
}