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:
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user