mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: snappyHexMesh: use iterator
This commit is contained in:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user