STYLE: snappyHexMesh: use iterator

This commit is contained in:
mattijs
2018-02-07 13:53:28 +00:00
parent 434a2cb1b9
commit 9ede061dfe

View File

@ -730,10 +730,8 @@ Foam::labelList Foam::meshRefinement::markFacesOnProblemCells
label nNonAnchorBoundary = 0;
label nonBoundaryAnchor = -1;
forAll(cPoints, i)
for (const label pointi : cPoints)
{
label pointi = cPoints[i];
if (pointLevel[pointi] <= cellLevel[celli])
{
// Anchor point