STYLE: minor code formatting

This commit is contained in:
andy
2014-01-10 16:02:37 +00:00
parent 688a0a1827
commit 2aba2c995b
6 changed files with 14 additions and 14 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -181,7 +181,7 @@ void subsetVolFields
{
label oldFaceI = subsetter.faceMap()[newStart+j];
if(oldFaceI < oldStart || oldFaceI >= oldStart+oldSize)
if (oldFaceI < oldStart || oldFaceI >= oldStart+oldSize)
{
fld[j] = exposedValue;
}
@ -254,7 +254,7 @@ void subsetSurfaceFields
{
label oldFaceI = subsetter.faceMap()[newStart+j];
if(oldFaceI < oldStart || oldFaceI >= oldStart+oldSize)
if (oldFaceI < oldStart || oldFaceI >= oldStart+oldSize)
{
fld[j] = exposedValue;
}

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2012-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -154,8 +154,8 @@ public:
{
int l = c.lv() ;
if( l >= _max_level ) return false;
if( l < min_level_ ) return true;
if ( l >= _max_level ) return false;
if ( l < min_level_ ) return true;
treeBoundBox bb
(

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011-2013 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2014 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -443,7 +443,7 @@ int main(int argc, char *argv[])
forAll(availablePoints, iPoint)
{
point cfFine = availablePoints[iPoint];
if(mag(cfFine-cfo) < dist)
if (mag(cfFine-cfo) < dist)
{
dist = mag(cfFine-cfo);
cf = cfFine;