Commit 9ede061d authored by mattijs's avatar mattijs
Browse files

STYLE: snappyHexMesh: use iterator

parent 434a2cb1
......@@ -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
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment