diff --git a/doc/Doxygen/Doxygen.css b/doc/Doxygen/Doxygen.css index 4505138e8..40f89d0f1 100644 --- a/doc/Doxygen/Doxygen.css +++ b/doc/Doxygen/Doxygen.css @@ -45,27 +45,27 @@ h3 { font-size: 14px; } * Give a slightly different background to make it easier to find. */ div.line { - font-family: monospace, fixed; - font-size: 13px; - line-height: 1.0; - text-wrap: unrestricted; - white-space: -moz-pre-wrap; /* Moz */ - white-space: -pre-wrap; /* Opera 4-6 */ - white-space: -o-pre-wrap; /* Opera 7 */ - white-space: pre-wrap; /* CSS3 */ - word-wrap: break-word; /* IE 5.5+ */ - text-indent: -53px; - padding-left: 53px; - padding-bottom: 0px; - margin: 0px; + font-family: monospace, fixed; + font-size: 13px; + line-height: 1.0; + text-wrap: unrestricted; + white-space: -moz-pre-wrap; /* Moz */ + white-space: -pre-wrap; /* Opera 4-6 */ + white-space: -o-pre-wrap; /* Opera 7 */ + white-space: pre-wrap; /* CSS3 */ + word-wrap: break-word; /* IE 5.5+ */ + text-indent: -53px; + padding-left: 53px; + padding-bottom: 0px; + margin: 0px; } span.lineno { - padding-right: 4px; - text-align: right; - border-right: 2px solid #ddddff; - background-color: #ddddff; - white-space: pre; + padding-right: 4px; + text-align: right; + border-right: 2px solid #ddddff; + background-color: #ddddff; + white-space: pre; } diff --git a/src/OSspecific/MSWindows/MSwindows.C b/src/OSspecific/MSWindows/MSwindows.C index f11037d3f..26b8ed11f 100644 --- a/src/OSspecific/MSWindows/MSwindows.C +++ b/src/OSspecific/MSWindows/MSwindows.C @@ -354,7 +354,7 @@ string getEnv(const word& envName) actualBuffer.get(), actualBufferSize); envAsString = actualBuffer.get(); - toUnixPath(envAsString); + toUnixPath(envAsString); } return envAsString; @@ -376,7 +376,7 @@ bool setEnv word hostName() { - const bool full = true; + const bool full = true; const DWORD bufferSize = MAX_COMPUTERNAME_LENGTH + 1; TCHAR buffer[bufferSize]; DWORD actualBufferSize = bufferSize; @@ -756,8 +756,8 @@ fileName::Type type(const fileName& name) if (attrs != INVALID_FILE_ATTRIBUTES) { fileType = (attrs & FILE_ATTRIBUTE_DIRECTORY) ? - fileName::DIRECTORY : - fileName::FILE; + fileName::DIRECTORY : + fileName::FILE; } return fileType; @@ -804,7 +804,7 @@ bool isFile(const fileName& name, const bool checkGzip) { const DWORD attrs = ::GetFileAttributes(name.c_str()); const bool success = ((attrs != INVALID_FILE_ATTRIBUTES) && - !(attrs & FILE_ATTRIBUTE_DIRECTORY)) || + !(attrs & FILE_ATTRIBUTE_DIRECTORY)) || (checkGzip && isGzFile(name)); return success; @@ -1322,7 +1322,7 @@ bool dlClose(void* const handle) if (success) { - getLoadedLibs().erase(handle); + getLoadedLibs().erase(handle); } return success; @@ -1342,8 +1342,8 @@ void* dlSym(void* handle, const std::string& symbol) if (NULL == fun) { WarningIn("dlSym(void*, const std::string&)") - << "Cannot lookup symbol " << symbol << " : " << MSwindows::getLastError() - << endl; + << "Cannot lookup symbol " << symbol << " : " << MSwindows::getLastError() + << endl; } return fun; @@ -1360,10 +1360,10 @@ bool dlSymFound(void* handle, const std::string& symbol) << " : GetProcAddress of " << symbol << endl; } - // get address of symbol - void* fun = (void*) ::GetProcAddress(static_cast(handle), symbol.c_str()); + // get address of symbol + void* fun = (void*) ::GetProcAddress(static_cast(handle), symbol.c_str()); - return (NULL != fun); + return (NULL != fun); } else { @@ -1375,17 +1375,17 @@ bool dlSymFound(void* handle, const std::string& symbol) fileNameList dlLoaded() { fileNameList libs; - int counter(0); + int counter(0); OfLoadedLibs & loadedLibs = getLoadedLibs(); for - ( - OfLoadedLibs::const_iterator it = loadedLibs.begin(); - it != loadedLibs.end(); - ++it - ) + ( + OfLoadedLibs::const_iterator it = loadedLibs.begin(); + it != loadedLibs.end(); + ++it + ) { - libs.newElmt(counter++) = it->second; + libs.newElmt(counter++) = it->second; } if (MSwindows::debug) diff --git a/src/OSspecific/MSWindows/fileStat.C b/src/OSspecific/MSWindows/fileStat.C index 23c7a346c..40a7a69a7 100644 --- a/src/OSspecific/MSWindows/fileStat.C +++ b/src/OSspecific/MSWindows/fileStat.C @@ -38,7 +38,7 @@ License # define major(dev) ((int)(((dev) >> 8) & 0xff)) # define minor(dev) ((int)((dev) & 0xff)) # define makedev(major, minor) ((((unsigned int) (major)) << 8) \ - | ((unsigned int) (minor))) + | ((unsigned int) (minor))) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // diff --git a/src/OSspecific/MSWindows/signals/sigQuit.C b/src/OSspecific/MSWindows/signals/sigQuit.C index 3f6ecee5a..e88e786d6 100644 --- a/src/OSspecific/MSWindows/signals/sigQuit.C +++ b/src/OSspecific/MSWindows/signals/sigQuit.C @@ -104,7 +104,7 @@ void Foam::sigQuit::set(const bool verbose) if( SIG_ERR == oldAction_ ) { - oldAction_ = SIG_DFL; + oldAction_ = SIG_DFL; FatalErrorIn ( diff --git a/src/foam/db/Time/foamTime.C b/src/foam/db/Time/foamTime.C index b368927cb..e46a8492b 100644 --- a/src/foam/db/Time/foamTime.C +++ b/src/foam/db/Time/foamTime.C @@ -253,7 +253,7 @@ Foam::Time::Time IOobject::NO_READ, IOobject::AUTO_WRITE ), - *this + *this ); } @@ -324,7 +324,7 @@ Foam::Time::Time IOobject::NO_READ, IOobject::AUTO_WRITE ), - *this + *this ); } @@ -391,7 +391,7 @@ Foam::Time::Time IOobject::NO_READ, IOobject::AUTO_WRITE ), - *this + *this ); } diff --git a/src/foam/global/profiling/profilingPool.H b/src/foam/global/profiling/profilingPool.H index 061a67157..36a27745d 100644 --- a/src/foam/global/profiling/profilingPool.H +++ b/src/foam/global/profiling/profilingPool.H @@ -86,9 +86,7 @@ class profilingPool // Private Member Functions //- Disallow default bitwise copy construct - profilingPool( - const profilingPool& - ); + profilingPool(const profilingPool&); //- Disallow default bitwise assignment void operator=(const profilingPool&); @@ -103,7 +101,8 @@ class profilingPool // Constructors //- Construct null - profilingPool( + profilingPool + ( const IOobject&, const Time& ); @@ -142,14 +141,13 @@ class profilingPool protected: - static void initProfiling( + static void initProfiling + ( const IOobject&, const Time& ); - static void stopProfiling( - const Time& - ); + static void stopProfiling(const Time&); public: diff --git a/src/mesh/cfMesh/utilities/octrees/meshOctree/refinementControls/objectRefinement/hollowConeRefinement.C b/src/mesh/cfMesh/utilities/octrees/meshOctree/refinementControls/objectRefinement/hollowConeRefinement.C index 623214fc8..d42b864fc 100644 --- a/src/mesh/cfMesh/utilities/octrees/meshOctree/refinementControls/objectRefinement/hollowConeRefinement.C +++ b/src/mesh/cfMesh/utilities/octrees/meshOctree/refinementControls/objectRefinement/hollowConeRefinement.C @@ -235,7 +235,7 @@ void hollowConeRefinement::operator=(const dictionary& d) { FatalErrorIn ( - "void hollowConeRefinement::operator=(const dictionary& d)" + "void hollowConeRefinement::operator=(const dictionary& d)" ) << "Entry radius0_Inner is not specified!" << exit(FatalError); r0Inner_ = -1.0; } @@ -272,11 +272,11 @@ void hollowConeRefinement::operator=(const dictionary& d) // specify radius if( dict.found("radius1_Inner") ) { - r1Inner_ = readScalar(dict.lookup("radius1_Inner")); + r1Inner_ = readScalar(dict.lookup("radius1_Inner")); } else { - FatalErrorIn + FatalErrorIn ( "void hollowConeRefinement::operator=(const dictionary& d)" ) << "Entry radius1_Inner is not specified!" << exit(FatalError); diff --git a/tutorials/mesh/cfMesh/cartesianMesh/ship5415Octree/system/meshDict b/tutorials/mesh/cfMesh/cartesianMesh/ship5415Octree/system/meshDict index 8b29a1b33..9d463ee33 100644 --- a/tutorials/mesh/cfMesh/cartesianMesh/ship5415Octree/system/meshDict +++ b/tutorials/mesh/cfMesh/cartesianMesh/ship5415Octree/system/meshDict @@ -39,32 +39,32 @@ anisotropicSources Box { type box; - centre (2800 0 250); - lengthX 6000; - lengthY 1000; - lengthZ 200; - scaleX 1; - scaleY 1; - scaleZ 0.3; + centre (2800 0 250); + lengthX 6000; + lengthY 1000; + lengthZ 200; + scaleX 1; + scaleY 1; + scaleZ 0.3; } /* planeUpper { - type plane; - normal (0 0 1); - origin (0 0 250); - scalingDistance 125; - scalingFactor 0.5; + type plane; + normal (0 0 1); + origin (0 0 250); + scalingDistance 125; + scalingFactor 0.5; } planeLower { - type plane; - normal (0 0 -1); - origin (0 0 250); - scalingDistance 125; - scalingFactor 0.5; + type plane; + normal (0 0 -1); + origin (0 0 250); + scalingDistance 125; + scalingFactor 0.5; } */ } diff --git a/tutorials/mesh/cfMesh/cartesianMesh/singleOrifice/system/meshDict b/tutorials/mesh/cfMesh/cartesianMesh/singleOrifice/system/meshDict index b9f2eea7f..e8a7efd91 100644 --- a/tutorials/mesh/cfMesh/cartesianMesh/singleOrifice/system/meshDict +++ b/tutorials/mesh/cfMesh/cartesianMesh/singleOrifice/system/meshDict @@ -31,8 +31,8 @@ anisotropicSources { type plane; origin (0 0 -20); - normal (0 0 1); - scalingDistance 45; + normal (0 0 1); + scalingDistance 45; scalingFactor 2; } } diff --git a/tutorials/mesh/cfMesh/pMesh/bunnyPoly/system/meshDict b/tutorials/mesh/cfMesh/pMesh/bunnyPoly/system/meshDict index 6876bdf09..86083ad17 100644 --- a/tutorials/mesh/cfMesh/pMesh/bunnyPoly/system/meshDict +++ b/tutorials/mesh/cfMesh/pMesh/bunnyPoly/system/meshDict @@ -7,66 +7,66 @@ \*---------------------------------------------------------------------------*/ FoamFile { -version 2; -format ascii; -class dictionary; -location "system"; -object meshDict; +version 2; +format ascii; +class dictionary; +location "system"; +object meshDict; } // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // -maxCellSize 40; -surfaceFile "bunnyWrapped.stl"; +maxCellSize 40; +surfaceFile "bunnyWrapped.stl"; objectRefinements { ear1 { -cellSize 20.1; -p0 ( -100 1873 -320 ); -p1 ( -560 1400 0 ); -radius0 200; -radius1 200; -type cone; + cellSize 20.1; + p0 ( -100 1873 -320 ); + p1 ( -560 1400 0 ); + radius0 200; + radius1 200; + type cone; } ear2 { -cellSize 20.1; -p0 ( -650 1873 -620 ); -p1 ( -670 1300 0 ); -radius0 200; -radius1 200; -type cone; + cellSize 20.1; + p0 ( -650 1873 -620 ); + p1 ( -670 1300 0 ); + radius0 200; + radius1 200; + type cone; } /* insideTheBody { -cellSize 20.1; -centre ( 0 700 0 ); -radius 50; -refinementThickness 50; -type sphere; + cellSize 20.1; + centre ( 0 700 0 ); + radius 50; + refinementThickness 50; + type sphere; } muzzlePiercing { -cellSize 20.1; -p0 ( -750 1000 450 ); -p1 ( -750 1500 450 ); -type line; + cellSize 20.1; + p0 ( -750 1000 450 ); + p1 ( -750 1500 450 ); + type line; } tail { -cellSize 20.1; -centre ( 500 500 150 ); -lengthX 100; -lengthY 150; -lengthZ 200; -type box; + cellSize 20.1; + centre ( 500 500 150 ); + lengthX 100; + lengthY 150; + lengthZ 200; + type box; } */ } diff --git a/tutorials/mesh/cfMesh/pMesh/multipleOrifices/system/meshDict b/tutorials/mesh/cfMesh/pMesh/multipleOrifices/system/meshDict index b26286502..e95417b8b 100644 --- a/tutorials/mesh/cfMesh/pMesh/multipleOrifices/system/meshDict +++ b/tutorials/mesh/cfMesh/pMesh/multipleOrifices/system/meshDict @@ -65,7 +65,7 @@ boundaryLayers allowDiscontinuity 0; } - "fixedWalls.*" + "fixedWalls.*" { nLayers 4; @@ -76,7 +76,7 @@ boundaryLayers allowDiscontinuity 0; } - "tubes.*" + "tubes.*" { nLayers 4; @@ -93,8 +93,8 @@ boundaryLayers renameBoundary { - defaultName fixedWalls; - defaultType wall; + defaultName fixedWalls; + defaultType wall; newPatchNames {