mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use forAllIter, forAllConstIter instead of long-hand version
STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
This commit is contained in:
@ -392,15 +392,9 @@ void collectCuts
|
||||
boolList edgeIsCut(mesh.nEdges(), false);
|
||||
scalarField edgeWeight(mesh.nEdges(), -GREAT);
|
||||
|
||||
for
|
||||
(
|
||||
cellSet::const_iterator iter = cellsToCut.begin();
|
||||
iter != cellsToCut.end();
|
||||
++iter
|
||||
)
|
||||
forAllConstIter(cellSet, cellsToCut, iter)
|
||||
{
|
||||
label cellI = iter.key();
|
||||
|
||||
const label cellI = iter.key();
|
||||
const labelList& cEdges = cellEdges[cellI];
|
||||
|
||||
forAll(cEdges, i)
|
||||
|
||||
Reference in New Issue
Block a user