STYLE: use forAllIter, forAllConstIter instead of long-hand version

STYLE: use 'forAll(' NOT 'forAll (', as per coding guide
This commit is contained in:
Mark Olesen
2010-04-12 11:18:38 +02:00
parent 0f58ac5a9b
commit a50f01b079
220 changed files with 1144 additions and 1898 deletions

View File

@ -299,15 +299,9 @@ void Foam::perfectInterface::setRefinement
// 2. Renumber (non patch0/1) faces.
for
(
labelHashSet::const_iterator iter = affectedFaces.begin();
iter != affectedFaces.end();
++iter
)
forAllConstIter(labelHashSet, affectedFaces, iter)
{
label faceI = iter.key();
const label faceI = iter.key();
const face& f = mesh.faces()[faceI];
face newFace(f.size());