Apply coding style recommendations:

- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
This commit is contained in:
Mark Olesen
2009-11-30 08:55:03 +01:00
parent 6bdb7fb7b5
commit 909e6b27e4
148 changed files with 343 additions and 342 deletions

View File

@ -106,7 +106,7 @@ int main(int argc, char *argv[])
plot3dFile >> coord;
// if statement ignores the first layer in i and j
if(i>0 && j>0)
if (i>0 && j>0)
{
points[p++][comp] = coord;
}
@ -117,7 +117,7 @@ int main(int argc, char *argv[])
// correct error in biconic meshes
forAll(points, i)
{
if(points[i][1] < 1e-07)
if (points[i][1] < 1e-07)
{
points[i][1] = 0.0;
}

View File

@ -19,7 +19,7 @@
)*rUAf;
adjustPhi(phi, U, p);
for(int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
for (int nonOrth=0; nonOrth<=nNonOrthCorr; nonOrth++)
{
fvScalarMatrix pEqn
(