mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
Apply coding style recommendations:
- space between keyword and bracket in 'for(..)', 'if(..)', 'while(..)'
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
||||
@ -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
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user