diff --git a/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C b/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C index ce80690224..6507c117a0 100644 --- a/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C +++ b/applications/solvers/combustion/dieselEngineFoam/dieselEngineFoam.C @@ -64,7 +64,7 @@ int main(int argc, char *argv[]) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.run()) { @@ -85,7 +85,7 @@ int main(int argc, char *argv[]) dieselSpray.evolve(); - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/combustion/dieselFoam/dieselFoam.C b/applications/solvers/combustion/dieselFoam/dieselFoam.C index 42d9534654..4769a00c77 100644 --- a/applications/solvers/combustion/dieselFoam/dieselFoam.C +++ b/applications/solvers/combustion/dieselFoam/dieselFoam.C @@ -61,7 +61,7 @@ int main(int argc, char *argv[]) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.run()) { @@ -72,11 +72,11 @@ int main(int argc, char *argv[]) runTime++; Info<< "Time = " << runTime.timeName() << nl << endl; - Info << "Evolving Spray" << endl; + Info<< "Evolving Spray" << endl; dieselSpray.evolve(); - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/combustion/engineFoam/engineFoam.C b/applications/solvers/combustion/engineFoam/engineFoam.C index dd584d03e2..5895c82b92 100644 --- a/applications/solvers/combustion/engineFoam/engineFoam.C +++ b/applications/solvers/combustion/engineFoam/engineFoam.C @@ -78,7 +78,7 @@ int main(int argc, char *argv[]) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.run()) { diff --git a/applications/solvers/combustion/reactingFoam/chemistry.H b/applications/solvers/combustion/reactingFoam/chemistry.H index 691b6dcb92..a1a978210d 100644 --- a/applications/solvers/combustion/reactingFoam/chemistry.H +++ b/applications/solvers/combustion/reactingFoam/chemistry.H @@ -1,5 +1,5 @@ { - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/combustion/reactingFoam/reactingFoam.C b/applications/solvers/combustion/reactingFoam/reactingFoam.C index 875191eea4..2d4ae7589a 100644 --- a/applications/solvers/combustion/reactingFoam/reactingFoam.C +++ b/applications/solvers/combustion/reactingFoam/reactingFoam.C @@ -54,7 +54,7 @@ int main(int argc, char *argv[]) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.run()) { diff --git a/applications/solvers/combustion/rhoReactingFoam/chemistry.H b/applications/solvers/combustion/rhoReactingFoam/chemistry.H index 691b6dcb92..a1a978210d 100644 --- a/applications/solvers/combustion/rhoReactingFoam/chemistry.H +++ b/applications/solvers/combustion/rhoReactingFoam/chemistry.H @@ -1,5 +1,5 @@ { - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C b/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C index 777718b3ea..cc37dd09c1 100644 --- a/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C +++ b/applications/solvers/combustion/rhoReactingFoam/rhoReactingFoam.C @@ -55,7 +55,7 @@ int main(int argc, char *argv[]) // * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * // - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.run()) { diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C index 66619cfc67..8869f52a27 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C +++ b/applications/solvers/discreteMethods/molecularDynamics/mdEquilibrationFoam/mdEquilibrationFoam.C @@ -50,14 +50,14 @@ int main(int argc, char *argv[]) label nAveragingSteps = 0; - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.loop()) { nAveragingSteps++; - Info << "Time = " << runTime.timeName() << endl; + Info<< "Time = " << runTime.timeName() << endl; molecules.evolve(); @@ -74,12 +74,12 @@ int main(int argc, char *argv[]) nAveragingSteps = 0; } - Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s" + Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << endl; } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C index 4f2eea1ccc..0bd07d0330 100644 --- a/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C +++ b/applications/solvers/discreteMethods/molecularDynamics/mdFoam/mdFoam.C @@ -48,14 +48,14 @@ int main(int argc, char *argv[]) label nAveragingSteps = 0; - Info << "\nStarting time loop\n" << endl; + Info<< "\nStarting time loop\n" << endl; while (runTime.loop()) { nAveragingSteps++; - Info << "Time = " << runTime.timeName() << endl; + Info<< "Time = " << runTime.timeName() << endl; molecules.evolve(); @@ -70,12 +70,12 @@ int main(int argc, char *argv[]) nAveragingSteps = 0; } - Info << "ExecutionTime = " << runTime.elapsedCpuTime() << " s" + Info<< "ExecutionTime = " << runTime.elapsedCpuTime() << " s" << " ClockTime = " << runTime.elapsedClockTime() << " s" << nl << endl; } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C b/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C index 54e1c8cb18..5a56c2709f 100644 --- a/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C +++ b/applications/solvers/heatTransfer/chtMultiRegionFoam/chtMultiRegionFoam.C @@ -117,7 +117,7 @@ int main(int argc, char *argv[]) << nl << endl; } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/solvers/incompressible/porousSimpleFoam/createFields.H b/applications/solvers/incompressible/porousSimpleFoam/createFields.H index 04d57d0571..6861ae0005 100644 --- a/applications/solvers/incompressible/porousSimpleFoam/createFields.H +++ b/applications/solvers/incompressible/porousSimpleFoam/createFields.H @@ -1,4 +1,4 @@ - Info << "Reading field p\n" << endl; + Info<< "Reading field p\n" << endl; volScalarField p ( IOobject @@ -12,7 +12,7 @@ mesh ); - Info << "Reading field U\n" << endl; + Info<< "Reading field U\n" << endl; volVectorField U ( IOobject diff --git a/applications/solvers/incompressible/simpleFoam/createFields.H b/applications/solvers/incompressible/simpleFoam/createFields.H index ab42496255..b957c72650 100644 --- a/applications/solvers/incompressible/simpleFoam/createFields.H +++ b/applications/solvers/incompressible/simpleFoam/createFields.H @@ -1,4 +1,4 @@ - Info << "Reading field p\n" << endl; + Info<< "Reading field p\n" << endl; volScalarField p ( IOobject @@ -12,7 +12,7 @@ mesh ); - Info << "Reading field U\n" << endl; + Info<< "Reading field U\n" << endl; volVectorField U ( IOobject diff --git a/applications/solvers/lagrangian/coalChemistryFoam/chemistry.H b/applications/solvers/lagrangian/coalChemistryFoam/chemistry.H index 3a8a5c20f1..5489dfefba 100644 --- a/applications/solvers/lagrangian/coalChemistryFoam/chemistry.H +++ b/applications/solvers/lagrangian/coalChemistryFoam/chemistry.H @@ -1,5 +1,5 @@ { - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/chemistry.H b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/chemistry.H index 3a8a5c20f1..5489dfefba 100644 --- a/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/chemistry.H +++ b/applications/solvers/lagrangian/porousExplicitSourceReactingParcelFoam/chemistry.H @@ -1,5 +1,5 @@ { - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/lagrangian/reactingParcelFoam/chemistry.H b/applications/solvers/lagrangian/reactingParcelFoam/chemistry.H index 3a8a5c20f1..5489dfefba 100644 --- a/applications/solvers/lagrangian/reactingParcelFoam/chemistry.H +++ b/applications/solvers/lagrangian/reactingParcelFoam/chemistry.H @@ -1,5 +1,5 @@ { - Info << "Solving chemistry" << endl; + Info<< "Solving chemistry" << endl; chemistry.solve ( diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/createFields.H b/applications/solvers/multiphase/twoPhaseEulerFoam/createFields.H index e422fe845b..8a12690581 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/createFields.H +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/createFields.H @@ -190,7 +190,7 @@ } } - Info << "dragPhase is " << dragPhase << endl; + Info<< "dragPhase is " << dragPhase << endl; kineticTheoryModel kineticTheory ( phasea, diff --git a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/newDragModel.C b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/newDragModel.C index 582fa4cdd3..8fb79ad403 100644 --- a/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/newDragModel.C +++ b/applications/solvers/multiphase/twoPhaseEulerFoam/interfacialModels/dragModels/dragModel/newDragModel.C @@ -41,7 +41,7 @@ Foam::autoPtr Foam::dragModel::New interfaceDict.lookup("dragModel" + phasea.name()) ); - Info << "Selecting dragModel for phase " + Info<< "Selecting dragModel for phase " << phasea.name() << ": " << dragModelType << endl; @@ -57,7 +57,7 @@ Foam::autoPtr Foam::dragModel::New << dragModelType << ", constructor not in hash table" << endl << endl << " Valid dragModel types are : " << endl; - Info << dictionaryConstructorTablePtr_->sortedToc() << abort(FatalError); + Info<< dictionaryConstructorTablePtr_->sortedToc() << abort(FatalError); } return cstrIter()(interfaceDict, alpha, phasea, phaseb); diff --git a/applications/test/Dictionary/DictionaryTest.C b/applications/test/Dictionary/DictionaryTest.C index 0af4dab661..0f09f4f4a6 100644 --- a/applications/test/Dictionary/DictionaryTest.C +++ b/applications/test/Dictionary/DictionaryTest.C @@ -84,7 +84,7 @@ public: ~Scalar() { - Info <<"delete Scalar: " << data_ << endl; + Info<<"delete Scalar: " << data_ << endl; } friend Ostream& operator<<(Ostream& os, const Scalar& val) @@ -169,7 +169,7 @@ int main(int argc, char *argv[]) { Info<< " = " << iter() << endl; } - + PtrDictionary scalarDict2; for (int i = 8; i<15; i++) { @@ -186,22 +186,22 @@ int main(int argc, char *argv[]) { Info<< "elem = " << *iter << endl; } - + scalarDict.transfer(scalarDict2); - + Scalar* p = scalarDict.lookupPtr("ent8"); - + // This does not (yet) work // Scalar* q = scalarDict.remove("ent10"); if (p) { - Info << "found: " << *p << endl; + Info<< "found: " << *p << endl; } else { - Info << "no p: " << endl; + Info<< "no p: " << endl; } scalarDict.clear(); diff --git a/applications/test/IndirectList/IndirectListTest.C b/applications/test/IndirectList/IndirectListTest.C index 365c58a383..b8abff9773 100644 --- a/applications/test/IndirectList/IndirectListTest.C +++ b/applications/test/IndirectList/IndirectListTest.C @@ -72,7 +72,7 @@ int main(int argc, char *argv[]) << "list: " << idl() << nl << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/LduMatrix/LduMatrixTest.C b/applications/test/LduMatrix/LduMatrixTest.C index 91a6dfb68d..bc244ff525 100644 --- a/applications/test/LduMatrix/LduMatrixTest.C +++ b/applications/test/LduMatrix/LduMatrixTest.C @@ -155,7 +155,7 @@ int main(int argc, char *argv[]) Info<< psi << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/LduMatrix/LduMatrixTest2.C b/applications/test/LduMatrix/LduMatrixTest2.C index 02db866ae5..5e47df1daf 100644 --- a/applications/test/LduMatrix/LduMatrixTest2.C +++ b/applications/test/LduMatrix/LduMatrixTest2.C @@ -155,7 +155,7 @@ int main(int argc, char *argv[]) Info<< psi << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/Map/MapTest.C b/applications/test/Map/MapTest.C index 7fb05e76a5..117f4337b6 100644 --- a/applications/test/Map/MapTest.C +++ b/applications/test/Map/MapTest.C @@ -53,15 +53,15 @@ int main(int argc, char *argv[]) if (bananaIter == banana.end()) { - Info << "not found" << endl; + Info<< "not found" << endl; } else { - Info << "5 is " << bananaIter() << endl; + Info<< "5 is " << bananaIter() << endl; } // Same with STL - Info << "Same with STL" << endl; + Info<< "Same with STL" << endl; std::map STLbanana; STLbanana[5] = true; @@ -69,11 +69,11 @@ int main(int argc, char *argv[]) if (STLbananaIter == STLbanana.end()) { - Info << "not found" << endl; + Info<< "not found" << endl; } else { - Info << "5 is " << STLbananaIter->second << endl; + Info<< "5 is " << STLbananaIter->second << endl; } diff --git a/applications/test/Matrix/MatrixTest.C b/applications/test/Matrix/MatrixTest.C index 5576291fd5..fabbb5c5f9 100644 --- a/applications/test/Matrix/MatrixTest.C +++ b/applications/test/Matrix/MatrixTest.C @@ -71,7 +71,7 @@ int main(int argc, char *argv[]) hmm4 = hmm5; Info<< hmm5 << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/NamedEnum/namedEnumTest.C b/applications/test/NamedEnum/namedEnumTest.C index 918e3b63b2..728d54ecb8 100644 --- a/applications/test/NamedEnum/namedEnumTest.C +++ b/applications/test/NamedEnum/namedEnumTest.C @@ -68,7 +68,7 @@ int main(int argc, char *argv[]) namedEnumTest::options hmm(namedEnumTest::namedEnum.read(Sin)); Info<< namedEnumTest::namedEnum[hmm] << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/ODETest/ODETest.C b/applications/test/ODETest/ODETest.C index 2d8cecfa9a..acb444a0a5 100644 --- a/applications/test/ODETest/ODETest.C +++ b/applications/test/ODETest/ODETest.C @@ -167,7 +167,7 @@ int main(int argc, char *argv[]) Info<< nl << "Analytical: y(2.0) = " << yEnd << endl; Info << "Numerical: y(2.0) = " << y << ", hEst = " << hEst << endl; - Info << "\nEnd\n" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/test/POSIX/POSIXTest.C b/applications/test/POSIX/POSIXTest.C index 86679c2c90..08052ecba9 100644 --- a/applications/test/POSIX/POSIXTest.C +++ b/applications/test/POSIX/POSIXTest.C @@ -37,7 +37,7 @@ int main(int argc, char *argv[]) { rmDir("hmm"); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/PackedList2/PackedListTest2.C b/applications/test/PackedList2/PackedListTest2.C index ef027fee2e..d6e8c93bc2 100644 --- a/applications/test/PackedList2/PackedListTest2.C +++ b/applications/test/PackedList2/PackedListTest2.C @@ -386,7 +386,7 @@ int main(int argc, char *argv[]) << " s" << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/PtrList/PtrListTest.C b/applications/test/PtrList/PtrListTest.C index 7fbff08d11..61f0985ea3 100644 --- a/applications/test/PtrList/PtrListTest.C +++ b/applications/test/PtrList/PtrListTest.C @@ -54,7 +54,7 @@ public: ~Scalar() { - Info <<"delete Scalar: " << data_ << endl; + Info<<"delete Scalar: " << data_ << endl; } autoPtr clone() const; diff --git a/applications/test/Tuple2/Tuple2Test.C b/applications/test/Tuple2/Tuple2Test.C index d770b4f839..b535f6a45c 100644 --- a/applications/test/Tuple2/Tuple2Test.C +++ b/applications/test/Tuple2/Tuple2Test.C @@ -44,7 +44,7 @@ int main() Info<< t2 << " " << t2.first() << " " << t2.second() << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/UIndirectListTest/UIndirectListTest.C b/applications/test/UIndirectListTest/UIndirectListTest.C index 67943b7d94..120217b673 100644 --- a/applications/test/UIndirectListTest/UIndirectListTest.C +++ b/applications/test/UIndirectListTest/UIndirectListTest.C @@ -100,7 +100,7 @@ int main(int argc, char *argv[]) dynList.append(UIndirectList(completeList, addresses)); Info<< "DynamicList::append(UIndirectList): " << dynList << endl; - Info << "\nEnd\n" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/test/callback/callbackTest.C b/applications/test/callback/callbackTest.C index dc34424678..f9d35dd023 100644 --- a/applications/test/callback/callbackTest.C +++ b/applications/test/callback/callbackTest.C @@ -118,7 +118,7 @@ int main(int argc, char *argv[]) cbr.testCallbackFunction(); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/dimensionedType/dimensionedTypeTest.C b/applications/test/dimensionedType/dimensionedTypeTest.C index d87391ab6d..400d9a5d21 100644 --- a/applications/test/dimensionedType/dimensionedTypeTest.C +++ b/applications/test/dimensionedType/dimensionedTypeTest.C @@ -42,7 +42,7 @@ int main(int argc, char *argv[]) Info<< ds*dt << " " << dt*ds << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/fileName/fileNameTest.C b/applications/test/fileName/fileNameTest.C index c4791f6f38..81ebd5c255 100644 --- a/applications/test/fileName/fileNameTest.C +++ b/applications/test/fileName/fileNameTest.C @@ -108,8 +108,7 @@ int main() Info<< " badName(die) => " << findEtcFile("badName", true) << nl << endl; - Info<< "\nEnd" << endl; - + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/test/fileNameClean/fileNameCleanTest.C b/applications/test/fileNameClean/fileNameCleanTest.C index b41cc434ca..2d791439e9 100644 --- a/applications/test/fileNameClean/fileNameCleanTest.C +++ b/applications/test/fileNameClean/fileNameCleanTest.C @@ -95,8 +95,7 @@ int main(int argc, char *argv[]) printCleaning(pathName); } - Info<< "\nEnd" << endl; - + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/test/liquid/liquidTest.C b/applications/test/liquid/liquidTest.C index 34837df39a..fe32c13e28 100644 --- a/applications/test/liquid/liquidTest.C +++ b/applications/test/liquid/liquidTest.C @@ -39,7 +39,7 @@ int main() Info<< fuel.rho(1e5, 300) << endl; Info<< fuel << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/mesh/meshTest.C b/applications/test/mesh/meshTest.C index 5041983675..91a003bc17 100644 --- a/applications/test/mesh/meshTest.C +++ b/applications/test/mesh/meshTest.C @@ -59,7 +59,7 @@ int main(int argc, char *argv[]) Info<< Cf << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/pTraits/pTraitsTest.C b/applications/test/pTraits/pTraitsTest.C index 4fcdfce719..2697e6b732 100644 --- a/applications/test/pTraits/pTraitsTest.C +++ b/applications/test/pTraits/pTraitsTest.C @@ -38,7 +38,7 @@ int main() { Info<< pTraits::typeName << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/primitivePatch/testPrimitivePatch.C b/applications/test/primitivePatch/testPrimitivePatch.C index e19b7d0512..cf24ab3435 100644 --- a/applications/test/primitivePatch/testPrimitivePatch.C +++ b/applications/test/primitivePatch/testPrimitivePatch.C @@ -137,7 +137,7 @@ void writeFaceEdges const labelList& myEdges = faceEdges[faceI]; forAll(myEdges, i) - { + { const edge& e = edges[myEdges[i]]; feStream<< "l " << e.start()+1 << ' ' << e.end()+1 << endl; @@ -172,7 +172,7 @@ void writeEdgeFaces const labelList& myFaces = edgeFaces[edgeI]; forAll(myFaces, i) - { + { efStream<< "l " << myFaces[0]+1 << ' ' << myFaces[i]+1 << endl; } } @@ -249,7 +249,7 @@ int main(int argc, char *argv[]) writeFaceFaces(localPoints, localFaces, faceFaces); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/readCHEMKINIII/readCHEMKINIII.C b/applications/test/readCHEMKINIII/readCHEMKINIII.C index 50721d64ea..10514de3fe 100644 --- a/applications/test/readCHEMKINIII/readCHEMKINIII.C +++ b/applications/test/readCHEMKINIII/readCHEMKINIII.C @@ -91,7 +91,7 @@ int main(int argc, char *argv[]) Info<< testReactions << endl; } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/simpleMatrix/simpleMatrixTest.C b/applications/test/simpleMatrix/simpleMatrixTest.C index e26c4ea4a7..709eb819f3 100644 --- a/applications/test/simpleMatrix/simpleMatrixTest.C +++ b/applications/test/simpleMatrix/simpleMatrixTest.C @@ -56,7 +56,7 @@ int main(int argc, char *argv[]) Info<< hmm.LUsolve() << endl; Info<< hmm << endl; - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/test/string/stringTest.C b/applications/test/string/stringTest.C index 2ed59bf88f..7c74de93ed 100644 --- a/applications/test/string/stringTest.C +++ b/applications/test/string/stringTest.C @@ -102,8 +102,7 @@ int main(int argc, char *argv[]) Info<< "Ostream<< >" << s2 << "<\n"; Info<< "hash:" << hex << string::hash()(s2) << endl; - Info << "End\n" << endl; - + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/test/testPointEdgeWave/testPointEdgeWave.C b/applications/test/testPointEdgeWave/testPointEdgeWave.C index 124b7a921a..10856cbead 100644 --- a/applications/test/testPointEdgeWave/testPointEdgeWave.C +++ b/applications/test/testPointEdgeWave/testPointEdgeWave.C @@ -52,7 +52,7 @@ int main(int argc, char *argv[]) // Get name of patch word patchName(args.additionalArgs()[0]); - + // Find the label in patches by name. label patchI = patches.findPatchID(patchName); @@ -131,8 +131,7 @@ int main(int argc, char *argv[]) psf.write(); - Info << nl << "End" << endl; - + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/errorEstimation/estimateScalarError/estimateScalarError.C b/applications/utilities/errorEstimation/estimateScalarError/estimateScalarError.C index 9fb3a646d6..76f67f6cdb 100644 --- a/applications/utilities/errorEstimation/estimateScalarError/estimateScalarError.C +++ b/applications/utilities/errorEstimation/estimateScalarError/estimateScalarError.C @@ -98,10 +98,10 @@ int main(int argc, char *argv[]) if (THeader.headerOk() && Uheader.headerOk()) { - Info << "Reading T" << endl; + Info<< "Reading T" << endl; volScalarField T(THeader, mesh); - Info << "Reading U" << endl; + Info<< "Reading U" << endl; volVectorField U(Uheader, mesh); # include "createPhi.H" diff --git a/applications/utilities/errorEstimation/icoErrorEstimate/icoErrorEstimate.C b/applications/utilities/errorEstimation/icoErrorEstimate/icoErrorEstimate.C index c236b76eb4..df1069f0bf 100644 --- a/applications/utilities/errorEstimation/icoErrorEstimate/icoErrorEstimate.C +++ b/applications/utilities/errorEstimation/icoErrorEstimate/icoErrorEstimate.C @@ -93,10 +93,10 @@ int main(int argc, char *argv[]) if (pHeader.headerOk() && Uheader.headerOk()) { - Info << "Reading p" << endl; + Info<< "Reading p" << endl; volScalarField p(pHeader, mesh); - Info << "Reading U" << endl; + Info<< "Reading U" << endl; volVectorField U(Uheader, mesh); # include "createPhi.H" diff --git a/applications/utilities/errorEstimation/icoMomentError/icoMomentError.C b/applications/utilities/errorEstimation/icoMomentError/icoMomentError.C index 67551e1eec..edfe1a3b59 100644 --- a/applications/utilities/errorEstimation/icoMomentError/icoMomentError.C +++ b/applications/utilities/errorEstimation/icoMomentError/icoMomentError.C @@ -94,10 +94,10 @@ int main(int argc, char *argv[]) if (pHeader.headerOk() && Uheader.headerOk()) { - Info << "Reading p" << endl; + Info<< "Reading p" << endl; volScalarField p(pHeader, mesh); - Info << "Reading U" << endl; + Info<< "Reading U" << endl; volVectorField U(Uheader, mesh); # include "createPhi.H" diff --git a/applications/utilities/errorEstimation/momentScalarError/momentScalarError.C b/applications/utilities/errorEstimation/momentScalarError/momentScalarError.C index f1767e75b0..145f03f737 100644 --- a/applications/utilities/errorEstimation/momentScalarError/momentScalarError.C +++ b/applications/utilities/errorEstimation/momentScalarError/momentScalarError.C @@ -99,10 +99,10 @@ int main(int argc, char *argv[]) if (THeader.headerOk() && Uheader.headerOk()) { - Info << "Reading T" << endl; + Info<< "Reading T" << endl; volScalarField T(THeader, mesh); - Info << "Reading U" << endl; + Info<< "Reading U" << endl; volVectorField U(Uheader, mesh); # include "createPhi.H" diff --git a/applications/utilities/mesh/advanced/autoRefineMesh/autoRefineMesh.C b/applications/utilities/mesh/advanced/autoRefineMesh/autoRefineMesh.C index 82e6f2c4c9..858ceb2fdb 100644 --- a/applications/utilities/mesh/advanced/autoRefineMesh/autoRefineMesh.C +++ b/applications/utilities/mesh/advanced/autoRefineMesh/autoRefineMesh.C @@ -1015,7 +1015,7 @@ int main(int argc, char *argv[]) } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C b/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C index 51ae42fb25..bc0a575207 100644 --- a/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C +++ b/applications/utilities/mesh/advanced/collapseEdges/collapseEdges.C @@ -596,7 +596,7 @@ int main(int argc, char *argv[]) mesh.write(); } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/combinePatchFaces/combinePatchFaces.C b/applications/utilities/mesh/advanced/combinePatchFaces/combinePatchFaces.C index 5e240daff1..5fc2803c8d 100644 --- a/applications/utilities/mesh/advanced/combinePatchFaces/combinePatchFaces.C +++ b/applications/utilities/mesh/advanced/combinePatchFaces/combinePatchFaces.C @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) Info<< "Mesh unchanged." << endl; } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C b/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C index a91361897d..efe2b761ed 100644 --- a/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C +++ b/applications/utilities/mesh/advanced/modifyMesh/modifyMesh.C @@ -560,7 +560,7 @@ int main(int argc, char *argv[]) } // Write resulting mesh - Info << "Writing modified mesh to time " << runTime.timeName() << endl; + Info<< "Writing modified mesh to time " << runTime.timeName() << endl; mesh.write(); } else if (edgeToPos.size()) @@ -613,7 +613,7 @@ int main(int argc, char *argv[]) } // Write resulting mesh - Info << "Writing modified mesh to time " << runTime.timeName() << endl; + Info<< "Writing modified mesh to time " << runTime.timeName() << endl; mesh.write(); } else @@ -656,13 +656,12 @@ int main(int argc, char *argv[]) } // Write resulting mesh - Info << "Writing modified mesh to time " << runTime.timeName() << endl; + Info<< "Writing modified mesh to time " << runTime.timeName() << endl; mesh.write(); } - Info << nl << "End" << endl; - + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C b/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C index 4e48feeea5..7e42676f3a 100644 --- a/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C +++ b/applications/utilities/mesh/advanced/refineWallLayer/refineWallLayer.C @@ -234,11 +234,11 @@ int main(int argc, char *argv[]) } // Write resulting mesh - Info << "Writing refined morphMesh to time " << runTime.timeName() << endl; + Info<< "Writing refined morphMesh to time " << runTime.timeName() << endl; mesh.write(); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C b/applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C index 402b26295d..d3b1e14c63 100644 --- a/applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C +++ b/applications/utilities/mesh/advanced/refinementLevel/refinementLevel.C @@ -355,8 +355,7 @@ int main(int argc, char *argv[]) << nl << endl; } - Info << nl << "End" << endl; - + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/selectCells/selectCells.C b/applications/utilities/mesh/advanced/selectCells/selectCells.C index c7dbdd8e42..4d690016be 100644 --- a/applications/utilities/mesh/advanced/selectCells/selectCells.C +++ b/applications/utilities/mesh/advanced/selectCells/selectCells.C @@ -469,7 +469,7 @@ int main(int argc, char *argv[]) MESH, // meshType NONMESH, // fill type mesh.nCells() - ); + ); Info<< "Removing points connecting cells unconnected by faces ..." @@ -510,7 +510,7 @@ int main(int argc, char *argv[]) writeSet(selectedCells, "cells selected for meshing"); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/advanced/splitCells/splitCells.C b/applications/utilities/mesh/advanced/splitCells/splitCells.C index c916be8daa..6cad468c2c 100644 --- a/applications/utilities/mesh/advanced/splitCells/splitCells.C +++ b/applications/utilities/mesh/advanced/splitCells/splitCells.C @@ -701,7 +701,7 @@ int main(int argc, char *argv[]) mesh.write(); } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L b/applications/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L index cbb52ab0e0..c985d3ab4f 100644 --- a/applications/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L +++ b/applications/utilities/mesh/conversion/ansysToFoam/ansysToFoam.L @@ -267,7 +267,7 @@ int main(int argc, char *argv[]) while(lexer.yylex() != 0) {} - Info << "Creating points" << endl; + Info<< "Creating points" << endl; pointField points(slPoints.size()); @@ -297,7 +297,7 @@ int main(int argc, char *argv[]) pointMap[pointMapIter()] = i++; } - Info << "Creating cells" << endl; + Info<< "Creating cells" << endl; labelList cellMap(maxCelli+1); @@ -409,7 +409,7 @@ int main(int argc, char *argv[]) { 4, 2, 1, 3, 0, 5}, // hex }; - Info << "Creating boundary patches" << endl; + Info<< "Creating boundary patches" << endl; faceListList boundary(slPatchCells.size()); wordList patchNames(slPatchCells.size()); @@ -442,11 +442,11 @@ int main(int argc, char *argv[]) boundary[patchI] = patchFaces; patchNames[patchI] = word("patch") + name(patchI + 1); - Info << "Patch " << patchI << " named " << patchNames[patchI] + Info<< "Patch " << patchI << " named " << patchNames[patchI] << ": " << boundary[patchI].size() << " faces" << endl; } - Info << "ansysToFoam: " << endl + Info<< "ansysToFoam: " << endl << "Ansys file format does not provide information about the type of " << "the patch (eg. wall, symmetry plane, cyclic etc)." << endl << "All the patches have been created " @@ -491,7 +491,7 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pShapeMesh.write(); Info<< nl << "end" << endl; diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/cfx4ToFoam.C b/applications/utilities/mesh/conversion/cfx4ToFoam/cfx4ToFoam.C index d193a48133..7684db4c32 100644 --- a/applications/utilities/mesh/conversion/cfx4ToFoam/cfx4ToFoam.C +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/cfx4ToFoam.C @@ -73,7 +73,7 @@ int main(int argc, char *argv[]) cfxFile >> nblock >> npatch >> nglue >> nelem >> npoint; - Info << "Reading blocks" << endl; + Info<< "Reading blocks" << endl; PtrList blocks(nblock); @@ -90,7 +90,7 @@ int main(int argc, char *argv[]) } } - Info << "Reading patch definitions" << endl; + Info<< "Reading patch definitions" << endl; wordList cfxPatchTypes(npatch); wordList cfxPatchNames(npatch); @@ -126,7 +126,7 @@ int main(int argc, char *argv[]) } } - Info << "Reading block glueing information" << endl; + Info<< "Reading block glueing information" << endl; labelList glueMasterPatches(nglue, -1); labelList glueSlavePatches(nglue, -1); @@ -145,15 +145,15 @@ int main(int argc, char *argv[]) } } - Info << "Reading block points" << endl; + Info<< "Reading block points" << endl; forAll (blocks, blockI) { - Info << "block " << blockI << " is a "; + Info<< "block " << blockI << " is a "; blocks[blockI].readPoints(cfxFile); } - Info << "Calculating block offsets" << endl; + Info<< "Calculating block offsets" << endl; labelList blockOffsets(nblock, -1); @@ -172,7 +172,7 @@ int main(int argc, char *argv[]) + blocks[blockI - 1].nBlockPoints(); } - Info << "Assembling patches" << endl; + Info<< "Assembling patches" << endl; faceListList rawPatches(npatch); @@ -203,13 +203,13 @@ int main(int argc, char *argv[]) } } - Info << "Merging points "; + Info<< "Merging points "; labelList pointMergeList(nMeshPoints, -1); // In order to ensure robust merging, it is necessary to traverse // the patch glueing list until the pointMergeList stops changing. - // + // // For efficiency, create merge pairs in the first pass labelListListList glueMergePairs(glueMasterPatches.size()); @@ -396,7 +396,7 @@ int main(int argc, char *argv[]) ) { changedPointMerge = true; - + pointMergeList[PpointLabel] = pointMergeList[NpointLabel] = min @@ -408,10 +408,10 @@ int main(int argc, char *argv[]) } } } - Info << "." << flush; + Info<< "." << flush; } while (changedPointMerge && nPasses < 8); - Info << endl; + Info<< endl; if (changedPointMerge == true) { @@ -509,7 +509,7 @@ int main(int argc, char *argv[]) nMeshPoints = nNewPoints; - Info << "Creating points" << endl; + Info<< "Creating points" << endl; pointField points(nMeshPoints); @@ -536,7 +536,7 @@ int main(int argc, char *argv[]) points *= scaleFactor; } - Info << "Creating cells" << endl; + Info<< "Creating cells" << endl; cellShapeList cellShapes(nMeshCells); @@ -568,7 +568,7 @@ int main(int argc, char *argv[]) } } - Info << "Creating boundary patches" << endl; + Info<< "Creating boundary patches" << endl; faceListList boundary(npatch); wordList patchNames(npatch); @@ -600,7 +600,7 @@ int main(int argc, char *argv[]) if (existingPatch >= 0) { - Info << "CFX patch " << patchI + Info<< "CFX patch " << patchI << ", of type " << cfxPatchTypes[patchI] << ", name " << cfxPatchNames[patchI] << " already exists as FOAM patch " << existingPatch @@ -652,7 +652,7 @@ int main(int argc, char *argv[]) } } - Info << "CFX patch " << patchI + Info<< "CFX patch " << patchI << ", of type " << cfxPatchTypes[patchI] << ", name " << cfxPatchNames[patchI] << " converted into FOAM patch " << nCreatedPatches @@ -660,7 +660,7 @@ int main(int argc, char *argv[]) if (cfxPatchTypes[patchI] == "WALL") { - Info << "wall." << endl; + Info<< "wall." << endl; patchTypes[nCreatedPatches] = wallPolyPatch::typeName; patchNames[nCreatedPatches] = cfxPatchNames[patchI]; @@ -668,7 +668,7 @@ int main(int argc, char *argv[]) } else if (cfxPatchTypes[patchI] == "SYMMET") { - Info << "symmetryPlane." << endl; + Info<< "symmetryPlane." << endl; patchTypes[nCreatedPatches] = symmetryPolyPatch::typeName; patchNames[nCreatedPatches] = cfxPatchNames[patchI]; @@ -683,7 +683,7 @@ int main(int argc, char *argv[]) || cfxPatchTypes[patchI] == "USER2D" ) { - Info << "generic." << endl; + Info<< "generic." << endl; patchTypes[nCreatedPatches] = polyPatch::typeName; patchNames[nCreatedPatches] = cfxPatchNames[patchI]; @@ -737,10 +737,10 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pShapeMesh.write(); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C b/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C index b9bfee00ff..bf16792211 100644 --- a/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C @@ -70,12 +70,12 @@ void hexBlock::readPoints(Istream& is) if (((i ^ j) & k) > 0) { - Info << "right-handed block" << endl; + Info<< "right-handed block" << endl; blockHandedness_ = right; } else { - Info << "left-handed block" << endl; + Info<< "left-handed block" << endl; blockHandedness_ = left; } } diff --git a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L index 35b268d3e8..6ccb2697f4 100644 --- a/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L +++ b/applications/utilities/mesh/conversion/fluent3DMeshToFoam/fluent3DMeshToFoam.L @@ -1356,7 +1356,7 @@ int main(int argc, char *argv[]) mesh.write(); - Info<< nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMeshToFoam.L b/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMeshToFoam.L index d1afc4523a..bcba234fe1 100644 --- a/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMeshToFoam.L +++ b/applications/utilities/mesh/conversion/fluentMeshToFoam/fluentMeshToFoam.L @@ -1729,7 +1729,7 @@ int main(int argc, char *argv[]) } } - Info<< nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/foamMeshToFluent/fluentFvMesh.C b/applications/utilities/mesh/conversion/foamMeshToFluent/fluentFvMesh.C index 65ee7d1b49..228194e4c3 100644 --- a/applications/utilities/mesh/conversion/foamMeshToFluent/fluentFvMesh.C +++ b/applications/utilities/mesh/conversion/foamMeshToFluent/fluentFvMesh.C @@ -63,7 +63,7 @@ void Foam::fluentFvMesh::writeFluentMesh() const ).c_str() ); - Info << "Writing Header" << endl; + Info<< "Writing Header" << endl; fluentMeshFile << "(0 \"FOAM to Fluent Mesh File\")" << std::endl << std::endl diff --git a/applications/utilities/mesh/conversion/foamMeshToFluent/foamMeshToFluent.C b/applications/utilities/mesh/conversion/foamMeshToFluent/foamMeshToFluent.C index a276e534a1..a4d8b25f3b 100644 --- a/applications/utilities/mesh/conversion/foamMeshToFluent/foamMeshToFluent.C +++ b/applications/utilities/mesh/conversion/foamMeshToFluent/foamMeshToFluent.C @@ -57,7 +57,7 @@ int main(int argc, char *argv[]) mesh.writeFluentMesh(); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L b/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L index d349f7709c..4f8708710d 100644 --- a/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L +++ b/applications/utilities/mesh/conversion/gambitToFoam/gambitToFoam.L @@ -233,7 +233,7 @@ mtype {space}"MTYPE:"{space} {space}{word} { - Info << "Written by " << YYText() << " "; + Info<< "Written by " << YYText() << " "; BEGIN(controlInfo); } @@ -245,20 +245,20 @@ mtype {space}"MTYPE:"{space} {space}{versionNumber} { - Info << " version " << YYText() << endl; + Info<< " version " << YYText() << endl; BEGIN(controlInfo); } {space}{dateDDMonYYYY}{space}{time} { - Info << "File written on " << YYText() << endl; + Info<< "File written on " << YYText() << endl; } {space}{dateDDMMYYYY}{space}{time} { - Info << "File written on " << YYText() << endl; + Info<< "File written on " << YYText() << endl; } @@ -304,7 +304,7 @@ mtype {space}"MTYPE:"{space} {nodalCoords}{spaceNl} { curNumberOfNodes = 0; - Info << "Reading nodal coordinates" << endl; + Info<< "Reading nodal coordinates" << endl; BEGIN(nodalCoords); } @@ -332,7 +332,7 @@ mtype {space}"MTYPE:"{space} {cellsAndElements}{spaceNl} { curNumberOfCells = 0; - Info << "Reading cells" << endl; + Info<< "Reading cells" << endl; BEGIN(cellsAndElements); } @@ -422,7 +422,7 @@ mtype {space}"MTYPE:"{space} /* ------ Reading element group information ------ */ {cellStreams}{spaceNl} { - Info << "Reading cell streams" << endl; + Info<< "Reading cell streams" << endl; BEGIN(cellStreams); } @@ -504,7 +504,7 @@ mtype {space}"MTYPE:"{space} {labelList} { - Info << "Reading cell stream labels" << endl; + Info<< "Reading cell stream labels" << endl; BEGIN(cellStreamLabels); } @@ -529,7 +529,7 @@ mtype {space}"MTYPE:"{space} {endOfSection}\n { - Info << "Finished reading cell stream labels" << endl; + Info<< "Finished reading cell stream labels" << endl; // reset current group ID and a number of flags curGroupID = 0; @@ -541,7 +541,7 @@ mtype {space}"MTYPE:"{space} {boundaryPatch}{spaceNl} { curPatchFace = 0; - Info << "Reading patches" << endl; + Info<< "Reading patches" << endl; BEGIN(boundaryPatchParams); } @@ -668,7 +668,7 @@ int main(int argc, char *argv[]) while(lexer.yylex() != 0) {} - Info << "Finished lexing" << endl; + Info<< "Finished lexing" << endl; // make a point mapping array label maxPointIndex = 0; @@ -815,7 +815,7 @@ int main(int argc, char *argv[]) } } - Info << "gambitToFoam: " << endl + Info<< "gambitToFoam: " << endl << "Gambit file format does not provide information about the type of " << "the patch (eg. wall, symmetry plane, cyclic etc)." << endl << "All the patches have been created " @@ -864,10 +864,10 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pShapeMesh.write(); - Info<< nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/kivaToFoam/kivaToFoam.C b/applications/utilities/mesh/conversion/kivaToFoam/kivaToFoam.C index f76e4dae46..551741974b 100644 --- a/applications/utilities/mesh/conversion/kivaToFoam/kivaToFoam.C +++ b/applications/utilities/mesh/conversion/kivaToFoam/kivaToFoam.C @@ -103,7 +103,7 @@ int main(int argc, char *argv[]) # include "readKivaGrid.H" - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C b/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C index c1f781f899..3ed248a86e 100644 --- a/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C +++ b/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C @@ -70,7 +70,7 @@ void hexBlock::setHandedness() } else { - Info << "Left-handed block." << endl; + Info<< "Left-handed block." << endl; blockHandedness_ = left; } return; diff --git a/applications/utilities/mesh/conversion/sammToFoam/createPolyBoundary.C b/applications/utilities/mesh/conversion/sammToFoam/createPolyBoundary.C index efca6a37b5..f3fc9a6e1d 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/createPolyBoundary.C +++ b/applications/utilities/mesh/conversion/sammToFoam/createPolyBoundary.C @@ -111,8 +111,8 @@ void sammMesh::createPolyBoundary() // reset the size of the face list meshFaces_.setSize(nCreatedFaces); - Info << "Number of boundary faces: " << nBoundaryFacesFound << endl; - Info << "Total number of faces: " << nCreatedFaces << endl; + Info<< "Number of boundary faces: " << nBoundaryFacesFound << endl; + Info<< "Total number of faces: " << nCreatedFaces << endl; } diff --git a/applications/utilities/mesh/conversion/sammToFoam/createPolyCells.C b/applications/utilities/mesh/conversion/sammToFoam/createPolyCells.C index b2f1a54c4f..80dd2e7541 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/createPolyCells.C +++ b/applications/utilities/mesh/conversion/sammToFoam/createPolyCells.C @@ -55,7 +55,7 @@ void sammMesh::createPolyCells() maxFaces += cellFaces_[cellI].size(); } - Info << "Maximum possible number of faces in mesh: " << maxFaces << endl; + Info<< "Maximum possible number of faces in mesh: " << maxFaces << endl; meshFaces_.setSize(maxFaces); @@ -72,7 +72,7 @@ void sammMesh::createPolyCells() // Insertion cannot be done in one go as the faces need to be // added into the list in the increasing order of neighbour // cells. Therefore, all neighbours will be detected first - // and then added in the correct order. + // and then added in the correct order. const faceList& curFaces = cellFaces_[cellI]; @@ -109,7 +109,7 @@ void sammMesh::createPolyCells() label curNei = curNeighbours[neiI]; // reject neighbours with the lower label. This should - // also reject current cell. + // also reject current cell. if (curNei > cellI) { // get the list of search faces diff --git a/applications/utilities/mesh/conversion/sammToFoam/purgeCellShapes.C b/applications/utilities/mesh/conversion/sammToFoam/purgeCellShapes.C index 50fd89ce8f..3abcdd645f 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/purgeCellShapes.C +++ b/applications/utilities/mesh/conversion/sammToFoam/purgeCellShapes.C @@ -55,12 +55,12 @@ void sammMesh::purgeCellShapes() if (!found) { - Info << "Purging cell shape " << cellI << endl; + Info<< "Purging cell shape " << cellI << endl; cellShapes_[cellI] = cellShape(*unknownPtr_, labelList(0)); break; } } - } + } } diff --git a/applications/utilities/mesh/conversion/sammToFoam/readCouples.C b/applications/utilities/mesh/conversion/sammToFoam/readCouples.C index 161123803e..3d9609e84d 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/readCouples.C +++ b/applications/utilities/mesh/conversion/sammToFoam/readCouples.C @@ -40,7 +40,7 @@ void sammMesh::readCouples() if (couplesFile.good()) { - Info << "\nReading couples" << endl; + Info<< "\nReading couples" << endl; // A mesh with couples cannot be a shape mesh isShapeMesh_ = false; @@ -71,7 +71,7 @@ void sammMesh::readCouples() // get reference to master cell faces faceList& masterFaces = cellFaces_[masterCell - 1]; -// Info << "Master cell: " << masterCell - 1 << " index: " +// Info<< "Master cell: " << masterCell - 1 << " index: " // << cellShapes_[masterCell - 1].model().index() // << " face: " << // masterFaces @@ -116,14 +116,14 @@ void sammMesh::readCouples() [slaveFace] ].reverseFace(); -// Info << " slave cell: " << slaveCell - 1 << " index: " +// Info<< " slave cell: " << slaveCell - 1 << " index: " // << cellShapes_[slaveCell - 1].model().index() // << " face: " << masterFaces[slaveToAdd] << endl; slaveToAdd++; } -// Info << endl; +// Info<< endl; } diff --git a/applications/utilities/mesh/conversion/sammToFoam/sammMesh.C b/applications/utilities/mesh/conversion/sammToFoam/sammMesh.C index a5bfd9791c..8ed4ddea84 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/sammMesh.C +++ b/applications/utilities/mesh/conversion/sammToFoam/sammMesh.C @@ -104,7 +104,7 @@ List sammMesh::sammAddressingTable // Make polyhedral mesh data (packing) void sammMesh::createPolyMeshData() { - Info << "Creating a polyMesh" << endl; + Info<< "Creating a polyMesh" << endl; createPolyCells(); @@ -124,7 +124,7 @@ void sammMesh::createPolyMeshData() { if (curFaceLabels[faceI] == -1) { - Info << "cell " << cellI + Info<< "cell " << cellI << " has got an unmatched face. " << "Index: " << cellShapes_[cellI].model().index() << endl // << "cell shape: " << cellShapes_[cellI] << endl @@ -142,7 +142,7 @@ void sammMesh::createPolyMeshData() if (nProblemCells > 0) { - Info << "Number of problem cells: " << nProblemCells << endl; + Info<< "Number of problem cells: " << nProblemCells << endl; } } diff --git a/applications/utilities/mesh/conversion/sammToFoam/sammToFoam.C b/applications/utilities/mesh/conversion/sammToFoam/sammToFoam.C index 8095529d32..0f5f2a2eb8 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/sammToFoam.C +++ b/applications/utilities/mesh/conversion/sammToFoam/sammToFoam.C @@ -61,10 +61,10 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing mesh" << endl; + Info<< "Writing mesh" << endl; makeMesh.writeMesh(); - Info<< nl << "End" << nl << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/sammToFoam/writeMesh.C b/applications/utilities/mesh/conversion/sammToFoam/writeMesh.C index 546b6e24de..141765be35 100644 --- a/applications/utilities/mesh/conversion/sammToFoam/writeMesh.C +++ b/applications/utilities/mesh/conversion/sammToFoam/writeMesh.C @@ -37,7 +37,7 @@ void sammMesh::writeMesh() { if (isShapeMesh_) { - Info << "This is a shapeMesh." << endl; + Info<< "This is a shapeMesh." << endl; polyMesh pShapeMesh ( @@ -57,7 +57,7 @@ void sammMesh::writeMesh() patchPhysicalTypes_ ); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pShapeMesh.write(); } else @@ -66,7 +66,7 @@ void sammMesh::writeMesh() createPolyMeshData(); - Info << "This is a polyMesh" << endl; + Info<< "This is a polyMesh" << endl; polyMesh pMesh ( @@ -83,7 +83,7 @@ void sammMesh::writeMesh() pMesh.addPatches(polyBoundaryPatches(pMesh)); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pMesh.write(); } } diff --git a/applications/utilities/mesh/conversion/starToFoam/createBoundaryFaces.C b/applications/utilities/mesh/conversion/starToFoam/createBoundaryFaces.C index 09a09de8d3..3875b68345 100644 --- a/applications/utilities/mesh/conversion/starToFoam/createBoundaryFaces.C +++ b/applications/utilities/mesh/conversion/starToFoam/createBoundaryFaces.C @@ -127,7 +127,7 @@ void starMesh::markBoundaryFaces() { const label curCellIndex = facePointCells[cellI]; - const faceList& curCellFaces = + const faceList& curCellFaces = cellFaces_[curCellIndex]; forAll(curCellFaces, cellFaceI) @@ -159,11 +159,11 @@ void starMesh::markBoundaryFaces() { if (curFace[spI] > -1 && curFace[spI] < starPointID_.size()) { - Info << "," << starPointID_[curFace[spI]]; + Info<< "," << starPointID_[curFace[spI]]; } else { - Info << ",???"; + Info<< ",???"; } } @@ -176,7 +176,7 @@ void starMesh::markBoundaryFaces() void starMesh::collectBoundaryFaces() { - Info << "Collecting boundary faces" << endl; + Info<< "Collecting boundary faces" << endl; forAll(boundary_, patchI) { faceList& patchFaces = boundary_[patchI]; @@ -193,7 +193,7 @@ void starMesh::collectBoundaryFaces() } } - Info << "Finished collecting boundary faces" << endl; + Info<< "Finished collecting boundary faces" << endl; } diff --git a/applications/utilities/mesh/conversion/starToFoam/createCoupleMatches.C b/applications/utilities/mesh/conversion/starToFoam/createCoupleMatches.C index 5857f03e24..f2fcc8c7c8 100644 --- a/applications/utilities/mesh/conversion/starToFoam/createCoupleMatches.C +++ b/applications/utilities/mesh/conversion/starToFoam/createCoupleMatches.C @@ -67,7 +67,7 @@ void starMesh::createCoupleMatches() { if (coupleI % infoJump == 0) { - Info << "Doing couple " << coupleI << ". STAR couple ID: " + Info<< "Doing couple " << coupleI << ". STAR couple ID: " << couples_[coupleI].coupleID() << endl; } @@ -179,7 +179,7 @@ void starMesh::createCoupleMatches() d -= n*(n & d); # ifdef DEBUG_COUPLE_INTERSECTION - Info << "curMasterEdge: " << curMasterEdge << endl + Info<< "curMasterEdge: " << curMasterEdge << endl << "P: " << P << endl << "d: " << d << endl; # endif @@ -198,7 +198,7 @@ void starMesh::createCoupleMatches() scalar det = -(e & (n ^ d)); # ifdef DEBUG_COUPLE_INTERSECTION - Info << "curSlaveEdge: " << curSlaveEdge << endl + Info<< "curSlaveEdge: " << curSlaveEdge << endl << "S: " << S << endl << "e: " << e << endl; # endif @@ -209,7 +209,7 @@ void starMesh::createCoupleMatches() scalar beta = ((S - P) & (n ^ d))/det; # ifdef DEBUG_COUPLE_INTERSECTION - Info << " beta: " << beta << endl; + Info<< " beta: " << beta << endl; # endif if (beta > -smallMergeTol_ && beta < 1 + smallMergeTol_) @@ -219,7 +219,7 @@ void starMesh::createCoupleMatches() (((S - P) & d) + beta*(d & e))/magSqr(d); # ifdef DEBUG_COUPLE_INTERSECTION - Info << " alpha: " << alpha << endl; + Info<< " alpha: " << alpha << endl; # endif if @@ -413,7 +413,7 @@ void starMesh::createCoupleMatches() scalar beta1 = (sp & e)/magSqr(e); # ifdef DEBUG_COUPLE_INTERSECTION - Info << "P: " << P << " S: " << S << " d: " << d + Info<< "P: " << P << " S: " << S << " d: " << d << " e: " << e << " sp: " << sp << " beta1: " << beta1 << endl; # endif @@ -446,7 +446,7 @@ void starMesh::createCoupleMatches() ) { # ifdef DEBUG_COUPLE_INTERSECTION - Info << "adding irregular slave " + Info<< "adding irregular slave " << "intersection2: " << points_[masterEdges[masterEdgeI].end()] << endl; @@ -463,10 +463,10 @@ void starMesh::createCoupleMatches() } // end of master edges # ifdef DEBUG_COUPLE_INTERSECTION - Info << "additional slave edge points: " << endl; + Info<< "additional slave edge points: " << endl; forAll (slaveEdgePoints, edgeI) { - Info << "edge: " << edgeI << ": " << slaveEdgePoints[edgeI] + Info<< "edge: " << edgeI << ": " << slaveEdgePoints[edgeI] << endl; } # endif @@ -475,7 +475,7 @@ void starMesh::createCoupleMatches() if (nLivePoints + coupleFacePoints.size() >= points_.size()) { // increase the size of the points list - Info << "Resizing points list" << endl; + Info<< "Resizing points list" << endl; points_.setSize(points_.size() + couples_.size()); } @@ -511,7 +511,7 @@ void starMesh::createCoupleMatches() label nTmpMasterLabels = 0; # ifdef DEBUG_COUPLE_INTERSECTION - Info << "masterFace: " << masterFace << endl + Info<< "masterFace: " << masterFace << endl << "nAdditionalMasterPoints: " << nAdditionalMasterPoints << endl; # endif @@ -588,7 +588,7 @@ void starMesh::createCoupleMatches() } # ifdef DEBUG_FACE_ORDERING - Info << "nextPointLabel: " << nextPointLabel << endl; + Info<< "nextPointLabel: " << nextPointLabel << endl; # endif i++; @@ -619,7 +619,7 @@ void starMesh::createCoupleMatches() tmpMasterFace.setSize(nTmpMasterLabels); # ifdef DEBUG_FACE_ORDERING - Info << "tmpMasterFace: " << tmpMasterFace << endl; + Info<< "tmpMasterFace: " << tmpMasterFace << endl; # endif // Eliminate all zero-length edges @@ -657,7 +657,7 @@ void starMesh::createCoupleMatches() ); # ifdef DEBUG_FACE_ORDERING - Info << "Collapsed: nMaster: " << nMaster + Info<< "Collapsed: nMaster: " << nMaster << " label: " << newMasterFace[nMaster] << endl; # endif @@ -727,7 +727,7 @@ void starMesh::createCoupleMatches() vector edgeVector = slaveEdges[slaveEdgeI].vec(points_); # ifdef DEBUG_FACE_ORDERING - Info << "curSEdgePoints.size(): " + Info<< "curSEdgePoints.size(): " << curSEdgePoints.size() << endl << "edgeVector: " << edgeVector << endl; # endif @@ -782,7 +782,7 @@ void starMesh::createCoupleMatches() } # ifdef DEBUG_FACE_ORDERING - Info << "nextPointLabel: " << nextPointLabel << endl; + Info<< "nextPointLabel: " << nextPointLabel << endl; # endif i++; @@ -813,7 +813,7 @@ void starMesh::createCoupleMatches() tmpSlaveFace.setSize(nTmpSlaveLabels); # ifdef DEBUG_FACE_ORDERING - Info << "tmpSlaveFace: " << tmpSlaveFace << endl; + Info<< "tmpSlaveFace: " << tmpSlaveFace << endl; # endif // Eliminate all zero-length edges @@ -834,7 +834,7 @@ void starMesh::createCoupleMatches() forAll(slvEdgesToCollapse, edgeI) { # ifdef DEBUG_FACE_ORDERING - Info << "slave edge length: " << edgeI << ", " + Info<< "slave edge length: " << edgeI << ", " << slvEdgesToCollapse[edgeI].mag(points_)<< endl; # endif @@ -880,7 +880,7 @@ void starMesh::createCoupleMatches() edgeList newSlaveEdges = newSlaveFace.edges(); # ifdef DEBUG_RIGHT_HAND_WALK - Info << "newMasterEdges: " << newMasterEdges << endl + Info<< "newMasterEdges: " << newMasterEdges << endl << "newSlaveEdges: " << newSlaveEdges << endl; # endif @@ -926,7 +926,7 @@ void starMesh::createCoupleMatches() startEdgeFound = 2; # ifdef DEBUG_RIGHT_HAND_WALK - Info << "slave edge found" << endl; + Info<< "slave edge found" << endl; # endif break; @@ -969,7 +969,7 @@ void starMesh::createCoupleMatches() startEdgeFound = 1; # ifdef DEBUG_RIGHT_HAND_WALK - Info << "master edge found" << endl; + Info<< "master edge found" << endl; # endif break; @@ -986,7 +986,7 @@ void starMesh::createCoupleMatches() if (startEdgeFound > 0) { # ifdef DEBUG_RIGHT_HAND_WALK - Info << "start edge: " << startEdge << endl; + Info<< "start edge: " << startEdge << endl; # endif // Loop through both faces and add all edges @@ -1004,7 +1004,7 @@ void starMesh::createCoupleMatches() planeNormal /= mag(planeNormal) + VSMALL; # ifdef DEBUG_RIGHT_HAND_WALK - Info << "planeNormal: " << planeNormal << endl; + Info<< "planeNormal: " << planeNormal << endl; # endif // Do a check to control the right-hand turn. This is @@ -1034,7 +1034,7 @@ void starMesh::createCoupleMatches() if (tripleProduct < 0) { # ifdef DEBUG_RIGHT_HAND_WALK - Info << "Turning edge for right-hand turn rule" << endl; + Info<< "Turning edge for right-hand turn rule" << endl; # endif startEdge = startEdge.reverseEdge(); } @@ -1155,7 +1155,7 @@ void starMesh::createCoupleMatches() scalar curGoStraight = newDir & ahead; # ifdef DEBUG_RIGHT_HAND_WALK - Info << "curRightTurn: " << curRightTurn + Info<< "curRightTurn: " << curRightTurn << " curGoStraight: " << curGoStraight << endl; # endif @@ -1167,7 +1167,7 @@ void starMesh::createCoupleMatches() if (curGoStraight > goStraight) { # ifdef DEBUG_RIGHT_HAND_WALK - Info << "a" << endl; + Info<< "a" << endl; # endif // Good edge, turning left less than before @@ -1179,7 +1179,7 @@ void starMesh::createCoupleMatches() else // new edge turning right { # ifdef DEBUG_RIGHT_HAND_WALK - Info << "b" << endl; + Info<< "b" << endl; # endif // good edge, turning right @@ -1197,7 +1197,7 @@ void starMesh::createCoupleMatches() if (curGoStraight < goStraight) { # ifdef DEBUG_RIGHT_HAND_WALK - Info << "c" << endl; + Info<< "c" << endl; # endif // good edge, turning right more than before @@ -1256,7 +1256,7 @@ void starMesh::createCoupleMatches() intersectedFace.setSize(nIntFacePoints); # ifdef DEBUG_COUPLE - Info << "intersectedFace: " << intersectedFace << endl; + Info<< "intersectedFace: " << intersectedFace << endl; # endif // check the intersection face for duplicate points @@ -1315,7 +1315,7 @@ void starMesh::createCoupleMatches() forAll (intersectedFace, intPointI) { # ifdef DEBUG_COUPLE_PROJECTION - Info << "Proj: old point: " + Info<< "Proj: old point: " << points_[intersectedFace[intPointI]] << endl; # endif @@ -1501,7 +1501,7 @@ void starMesh::createCoupleMatches() points_.setSize(nLivePoints); // Finished - Info << "Finished doing couples" << endl; + Info<< "Finished doing couples" << endl; } } diff --git a/applications/utilities/mesh/conversion/starToFoam/createPolyBoundary.C b/applications/utilities/mesh/conversion/starToFoam/createPolyBoundary.C index 5f1e4b7260..e8eb4ec479 100644 --- a/applications/utilities/mesh/conversion/starToFoam/createPolyBoundary.C +++ b/applications/utilities/mesh/conversion/starToFoam/createPolyBoundary.C @@ -99,7 +99,7 @@ void starMesh::createPolyBoundary() << curCellFaces[cellFaceI] << endl; - Info << "PROSTAR Command: vset,news,vlis"; + Info<< "PROSTAR Command: vset,news,vlis"; forAll (curCellFaces[cellFaceI], spI) { // check if the point is given by STAR @@ -118,10 +118,10 @@ void starMesh::createPolyBoundary() } else { - Info << ",???"; + Info<< ",???"; } } - Info << " $ bset,add,vset,all" << endl; + Info<< " $ bset,add,vset,all" << endl; } else { @@ -135,7 +135,7 @@ void starMesh::createPolyBoundary() << curCellFaces[cellFaceI] << endl; - Info << "PROSTAR Command: vset,news,vlis"; + Info<< "PROSTAR Command: vset,news,vlis"; forAll (curCellFaces[cellFaceI], spI) { // check if the point is given by STAR @@ -154,10 +154,10 @@ void starMesh::createPolyBoundary() } else { - Info << ",???"; + Info<< ",???"; } } - Info << " $ bset,add,vset,all" << endl; + Info<< " $ bset,add,vset,all" << endl; } } @@ -191,7 +191,7 @@ void starMesh::createPolyBoundary() { const face& missingFace = cellFaces_[cellI][faceI]; - Info << "starMesh::createPolyBoundary() : " + Info<< "starMesh::createPolyBoundary() : " << "missing face found in cell " << cellI << ".\nType: " << cellShapes_[cellI].model().name() << ". STAR cell number: " << starCellID_[cellI] @@ -199,7 +199,7 @@ void starMesh::createPolyBoundary() nMissingFaceFound++; - Info << "PROSTAR Command: vset,news,vlis"; + Info<< "PROSTAR Command: vset,news,vlis"; forAll (missingFace, spI) { // check if the point is given by STAR or created locally @@ -209,21 +209,21 @@ void starMesh::createPolyBoundary() && missingFace[spI] < starPointID_.size() ) { - Info << "," << starPointID_[missingFace[spI]]; + Info<< "," << starPointID_[missingFace[spI]]; } else { - Info << ",???"; + Info<< ",???"; } } - Info << " $ bset,add,vset,all" << endl; + Info<< " $ bset,add,vset,all" << endl; } } } if (nMissingFaceFound > 0) { - Info << "Number of unmatched faces: " << nMissingFaceFound << endl; + Info<< "Number of unmatched faces: " << nMissingFaceFound << endl; } // reset the size of the face list @@ -256,14 +256,14 @@ void starMesh::createPolyBoundary() { const face& problemFace = meshFaces_[faceI]; - Info << "starMesh::createPolyBoundary() : " + Info<< "starMesh::createPolyBoundary() : " << "problem with face " << faceI << ": addressed " << markupFaces[faceI] << " times (should be 2!). Face: " << problemFace << endl; nProblemFacesFound++; - Info << "PROSTAR Command: vset,news,vlis"; + Info<< "PROSTAR Command: vset,news,vlis"; forAll (problemFace, spI) { // check if the point is given by STAR or created locally @@ -273,25 +273,25 @@ void starMesh::createPolyBoundary() && problemFace[spI] < starPointID_.size() ) { - Info << "," << starPointID_[problemFace[spI]]; + Info<< "," << starPointID_[problemFace[spI]]; } else { - Info << ",???"; + Info<< ",???"; } } - Info << " $ bset,add,vset,all" << endl; + Info<< " $ bset,add,vset,all" << endl; } } if (nProblemFacesFound > 0) { - Info << "Number of incorrectly matched faces: " + Info<< "Number of incorrectly matched faces: " << nProblemFacesFound << endl; } - Info << "Number of boundary faces: " << nBoundaryFacesFound << endl; - Info << "Total number of faces: " << nCreatedFaces << endl; + Info<< "Number of boundary faces: " << nBoundaryFacesFound << endl; + Info<< "Total number of faces: " << nCreatedFaces << endl; } diff --git a/applications/utilities/mesh/conversion/starToFoam/createPolyCells.C b/applications/utilities/mesh/conversion/starToFoam/createPolyCells.C index fc2e65a0b9..c4847fc390 100644 --- a/applications/utilities/mesh/conversion/starToFoam/createPolyCells.C +++ b/applications/utilities/mesh/conversion/starToFoam/createPolyCells.C @@ -55,7 +55,7 @@ void starMesh::createPolyCells() maxFaces += cellFaces_[cellI].size(); } - Info << "Maximum possible number of faces in mesh: " << maxFaces << endl; + Info<< "Maximum possible number of faces in mesh: " << maxFaces << endl; meshFaces_.setSize(maxFaces); @@ -72,7 +72,7 @@ void starMesh::createPolyCells() // Insertion cannot be done in one go as the faces need to be // added into the list in the increasing order of neighbour // cells. Therefore, all neighbours will be detected first - // and then added in the correct order. + // and then added in the correct order. const faceList& curFaces = cellFaces_[cellI]; @@ -109,7 +109,7 @@ void starMesh::createPolyCells() label curNei = curNeighbours[neiI]; // reject neighbours with the lower label. This should - // also reject current cell. + // also reject current cell. if (curNei > cellI) { // get the list of search faces diff --git a/applications/utilities/mesh/conversion/starToFoam/mergeCoupleFacePoints.C b/applications/utilities/mesh/conversion/starToFoam/mergeCoupleFacePoints.C index 5850c723e0..73ca9628d8 100644 --- a/applications/utilities/mesh/conversion/starToFoam/mergeCoupleFacePoints.C +++ b/applications/utilities/mesh/conversion/starToFoam/mergeCoupleFacePoints.C @@ -48,9 +48,9 @@ void starMesh::mergeCoupleFacePoints() // merge set. Once all cells (and thus points) are visited, go // through the renumbering list and for each merging point use the // label of the merge set as the new point label. - // This is VERY fancy. Use care if/when changing. + // This is VERY fancy. Use care if/when changing. - Info << endl << "Creating merge sets" << endl; + Info<< endl << "Creating merge sets" << endl; // Create a renumbering list for points // In the first instance the renumbering list is used as a @@ -162,7 +162,7 @@ void starMesh::mergeCoupleFacePoints() if (nMergeSets >= mergeSetID.size()) { - Info << "Resizing mergeSetID" << endl; + Info<< "Resizing mergeSetID" << endl; mergeSetID.setSize (mergeSetID.size() + mergeIncrement); @@ -327,7 +327,7 @@ void starMesh::mergeCoupleFacePoints() // This should be OK as the compressed points list will always // have less points that the original lists. Even if there is // no points removed, this will copy the list back onto itself - // + // renumberPoints[pointI] = nUsedPoints; points_[nUsedPoints] = points_[pointI]; @@ -345,7 +345,7 @@ void starMesh::mergeCoupleFacePoints() // reset number of points which need to be sorted points_.setSize(nUsedPoints); - Info << "Renumbering all faces" << endl; + Info<< "Renumbering all faces" << endl; forAll (cellFaces_, cellI) { @@ -374,7 +374,7 @@ void starMesh::mergeCoupleFacePoints() } } - Info << "Renumbering all cell shapes" << endl; + Info<< "Renumbering all cell shapes" << endl; forAll (cellShapes_, cellI) { @@ -402,7 +402,7 @@ void starMesh::mergeCoupleFacePoints() } } - Info << "Renumbering STAR point lookup" << endl; + Info<< "Renumbering STAR point lookup" << endl; labelList oldStarPointID = starPointID_; diff --git a/applications/utilities/mesh/conversion/starToFoam/purgeCellShapes.C b/applications/utilities/mesh/conversion/starToFoam/purgeCellShapes.C index 88f6225236..92dedc00e6 100644 --- a/applications/utilities/mesh/conversion/starToFoam/purgeCellShapes.C +++ b/applications/utilities/mesh/conversion/starToFoam/purgeCellShapes.C @@ -55,12 +55,12 @@ void starMesh::purgeCellShapes() if (!found) { - Info << "Purging cell shape " << cellI << endl; + Info<< "Purging cell shape " << cellI << endl; cellShapes_[cellI] = cellShape(*unknownPtr_, labelList(0)); break; } } - } + } } diff --git a/applications/utilities/mesh/conversion/starToFoam/readCouples.C b/applications/utilities/mesh/conversion/starToFoam/readCouples.C index 975dab47d8..4d586c3da7 100644 --- a/applications/utilities/mesh/conversion/starToFoam/readCouples.C +++ b/applications/utilities/mesh/conversion/starToFoam/readCouples.C @@ -44,7 +44,7 @@ void starMesh::readCouples() if (couplesFile.good()) { - Info << "\nReading couples" << endl; + Info<< "\nReading couples" << endl; label matchLabel, nEntries, typeFlag; label starMasterCell, rotXMasterFace; @@ -178,7 +178,7 @@ void starMesh::readCouples() } } - Info << "finished reading couples" << endl; + Info<< "finished reading couples" << endl; } } diff --git a/applications/utilities/mesh/conversion/starToFoam/starMesh.C b/applications/utilities/mesh/conversion/starToFoam/starMesh.C index a495ae0362..9f9ddfe94b 100644 --- a/applications/utilities/mesh/conversion/starToFoam/starMesh.C +++ b/applications/utilities/mesh/conversion/starToFoam/starMesh.C @@ -87,7 +87,7 @@ const label starMesh::sammAddressingTable[9][12] = // (first index) and STAR face number // - first column is always -1 // - last column is -1 for all but hexagonal prism -// WARNING: Possible bug for sammTrim2 +// WARNING: Possible bug for sammTrim2 // The lookup table for SAMM shapes is based on the rotation of the // shape. This would imply that the table below needs to be split between // the regular shapes (3-9), which are OK, and the SAMM shapes, for which @@ -95,7 +95,7 @@ const label starMesh::sammAddressingTable[9][12] = // cell, firts find out the face index in the normal rotation using the cell // face permutation table and then use the index from the shape face lookup. // Additionally, have in mind that this silliness does not allow matches -// on face 7 and 8 of the samm cell. +// on face 7 and 8 of the samm cell. const label starMesh::sammFacePermutationTable[24][8] = { @@ -180,7 +180,7 @@ const label starMesh::shapeFaceLookup[19][9] = // samm trim 8: // star number: 1 2 3 4 5 6 7 8 In ROTATION 0 // foam number: 2 5 4 7 1 0 3 6 -// confirmed: 1 0 6 +// confirmed: 1 0 6 // * * * * * * * * * * * * * Private Member Functions * * * * * * * * * * * // @@ -188,7 +188,7 @@ const label starMesh::shapeFaceLookup[19][9] = // Make polyhedral mesh data (packing) void starMesh::createPolyMeshData() { - Info << "Creating a polyMesh" << endl; + Info<< "Creating a polyMesh" << endl; createPolyCells(); @@ -203,7 +203,7 @@ void starMesh::createPolyMeshData() // a memory peak void starMesh::clearExtraStorage() { - Info << "Clearing extra storage" << endl; + Info<< "Clearing extra storage" << endl; starPointLabelLookup_.setSize(0); starPointID_.setSize(0); diff --git a/applications/utilities/mesh/conversion/starToFoam/starToFoam.C b/applications/utilities/mesh/conversion/starToFoam/starToFoam.C index 2c2aeaa76b..7ed1cddd36 100644 --- a/applications/utilities/mesh/conversion/starToFoam/starToFoam.C +++ b/applications/utilities/mesh/conversion/starToFoam/starToFoam.C @@ -61,10 +61,10 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing mesh" << endl; + Info<< "Writing mesh" << endl; makeMesh.writeMesh(); - Info<< nl << "End" << nl << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/conversion/starToFoam/writeMesh.C b/applications/utilities/mesh/conversion/starToFoam/writeMesh.C index 3e0cdee1fb..746087fb7e 100644 --- a/applications/utilities/mesh/conversion/starToFoam/writeMesh.C +++ b/applications/utilities/mesh/conversion/starToFoam/writeMesh.C @@ -37,9 +37,9 @@ void starMesh::writeMesh() { if (isShapeMesh_) { - Info << "This is a shapeMesh." << endl; + Info<< "This is a shapeMesh." << endl; - Info << "Default patch type set to empty" << endl; + Info<< "Default patch type set to empty" << endl; clearExtraStorage(); @@ -61,7 +61,7 @@ void starMesh::writeMesh() patchPhysicalTypes_ ); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pShapeMesh.write(); } else @@ -70,7 +70,7 @@ void starMesh::writeMesh() createPolyMeshData(); - Info << "This is a polyMesh" << endl; + Info<< "This is a polyMesh" << endl; clearExtraStorage(); @@ -90,7 +90,7 @@ void starMesh::writeMesh() // adding patches also checks the mesh pMesh.addPatches(polyBoundaryPatches(pMesh)); - Info << "Writing polyMesh" << endl; + Info<< "Writing polyMesh" << endl; pMesh.write(); } } diff --git a/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C b/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C index d2b23fef16..c00be77111 100644 --- a/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C +++ b/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C @@ -62,7 +62,7 @@ void writePoints(const polyMesh& mesh, const fileName& timeName) fileName pointFile(mesh.time().path()/"meshPoints_" + timeName + ".obj"); - Info << "Writing mesh points and edges to " << pointFile << endl; + Info<< "Writing mesh points and edges to " << pointFile << endl; OFstream pointStream(pointFile); @@ -91,7 +91,7 @@ void writePoints { fileName fName(mesh.time().path()/"meshPoints_" + timeName + ".obj"); - Info << "Writing mesh points and edges to " << fName << endl; + Info<< "Writing mesh points and edges to " << fName << endl; OFstream str(fName); @@ -162,7 +162,7 @@ void writePoints / "meshPoints_" + timeName + '_' + name(cellI) + ".obj" ); - Info << "Writing mesh points and edges to " << fName << endl; + Info<< "Writing mesh points and edges to " << fName << endl; OFstream pointStream(fName); @@ -182,7 +182,7 @@ void writeFaceCentres(const polyMesh& mesh,const fileName& timeName) / "meshFaceCentres_" + timeName + ".obj" ); - Info << "Writing mesh face centres to " << faceFile << endl; + Info<< "Writing mesh face centres to " << faceFile << endl; OFstream faceStream(faceFile); @@ -200,7 +200,7 @@ void writeCellCentres(const polyMesh& mesh, const fileName& timeName) mesh.time().path()/"meshCellCentres_" + timeName + ".obj" ); - Info << "Writing mesh cell centres to " << cellFile << endl; + Info<< "Writing mesh cell centres to " << cellFile << endl; OFstream cellStream(cellFile); @@ -228,7 +228,7 @@ void writePatchCentres mesh.time().path()/"patch_" + pp.name() + '_' + timeName + ".obj" ); - Info << "Writing patch face centres to " << faceFile << endl; + Info<< "Writing patch face centres to " << faceFile << endl; OFstream patchFaceStream(faceFile); @@ -258,7 +258,7 @@ void writePatchFaces / "patchFaces_" + pp.name() + '_' + timeName + ".obj" ); - Info << "Writing patch faces to " << faceFile << endl; + Info<< "Writing patch faces to " << faceFile << endl; OFstream patchFaceStream(faceFile); @@ -301,7 +301,7 @@ void writePatchBoundaryEdges / "patchEdges_" + pp.name() + '_' + timeName + ".obj" ); - Info << "Writing patch edges to " << edgeFile << endl; + Info<< "Writing patch edges to " << edgeFile << endl; OFstream patchEdgeStream(edgeFile); @@ -351,7 +351,7 @@ void writePointCells / "pointEdges_" + timeName + '_' + name(pointI) + ".obj" ); - Info << "Writing pointEdges to " << pFile << endl; + Info<< "Writing pointEdges to " << pFile << endl; OFstream pointStream(pFile); @@ -492,7 +492,7 @@ int main(int argc, char *argv[]) + ".obj" ); - Info << "Writing mesh points and edges to " << fName << endl; + Info<< "Writing mesh points and edges to " << fName << endl; OFstream str(fName); @@ -506,7 +506,7 @@ int main(int argc, char *argv[]) } else if ( - !patchFaces + !patchFaces && !patchEdges && !doCell && !doPoint @@ -530,14 +530,14 @@ int main(int argc, char *argv[]) } else { - Info << "No mesh." << endl; + Info<< "No mesh." << endl; } - Info << nl << endl; + Info<< nl << endl; } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C b/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C index 6cdec703dc..bb30cfd4a5 100644 --- a/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C +++ b/applications/utilities/mesh/generation/blockMesh/blockMeshApp.C @@ -382,7 +382,7 @@ int main(int argc, char *argv[]) } } - Info<< nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/generation/blockMesh/mergePatchPairs.H b/applications/utilities/mesh/generation/blockMesh/mergePatchPairs.H index aeb3137adf..2fd2fe2dc1 100644 --- a/applications/utilities/mesh/generation/blockMesh/mergePatchPairs.H +++ b/applications/utilities/mesh/generation/blockMesh/mergePatchPairs.H @@ -83,11 +83,11 @@ ); } // end of all merge pairs - Info << "Adding point and face zones" << endl; + Info<< "Adding point and face zones" << endl; mesh.addZones(pz, fz, cz); - Info << "Creating attachPolyTopoChanger" << endl; + Info<< "Creating attachPolyTopoChanger" << endl; attachPolyTopoChanger polyMeshAttacher(mesh); polyMeshAttacher.setSize(mergePatchPairs.size()); diff --git a/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C b/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C index 5ce4ec9446..f970c80e71 100644 --- a/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C +++ b/applications/utilities/mesh/generation/extrudeMesh/extrudeMesh.C @@ -693,7 +693,7 @@ int main(int argc, char *argv[]) << exit(FatalError); } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/cellSet/cellSet.C b/applications/utilities/mesh/manipulation/cellSet/cellSet.C index e803627426..9edfa8d44a 100644 --- a/applications/utilities/mesh/manipulation/cellSet/cellSet.C +++ b/applications/utilities/mesh/manipulation/cellSet/cellSet.C @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) currentSet.write(); } - Info << nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C index 6caeffbd4e..0ce3a9d8e6 100644 --- a/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C +++ b/applications/utilities/mesh/manipulation/checkMesh/checkMesh.C @@ -120,7 +120,7 @@ int main(int argc, char *argv[]) } else { - Info << "\nMesh OK.\n" << endl; + Info<< "\nMesh OK.\n" << endl; } } } diff --git a/applications/utilities/mesh/manipulation/faceSet/faceSet.C b/applications/utilities/mesh/manipulation/faceSet/faceSet.C index 8441a1cdbe..9bd9736cab 100644 --- a/applications/utilities/mesh/manipulation/faceSet/faceSet.C +++ b/applications/utilities/mesh/manipulation/faceSet/faceSet.C @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) currentSet.write(); } - Info << nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C index 69ba27f117..81fd297a88 100644 --- a/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C +++ b/applications/utilities/mesh/manipulation/flattenMesh/flattenMesh.C @@ -95,7 +95,7 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing points into directory " << points.path() << nl << endl; + Info<< "Writing points into directory " << points.path() << nl << endl; points.write(); return 0; diff --git a/applications/utilities/mesh/manipulation/insideCells/insideCells.C b/applications/utilities/mesh/manipulation/insideCells/insideCells.C index 7087e05062..22f9946563 100644 --- a/applications/utilities/mesh/manipulation/insideCells/insideCells.C +++ b/applications/utilities/mesh/manipulation/insideCells/insideCells.C @@ -89,7 +89,7 @@ int main(int argc, char *argv[]) insideCells.write(); - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C b/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C index b13dfb86ef..620201ba91 100644 --- a/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C +++ b/applications/utilities/mesh/manipulation/mergeMeshes/mergeMeshes.C @@ -77,7 +77,7 @@ int main(int argc, char *argv[]) masterMesh.merge(); masterMesh.polyMesh::write(); - Info << nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C b/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C index 616cfb4ce7..d1b633a4b9 100644 --- a/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C +++ b/applications/utilities/mesh/manipulation/mergeMeshes/mergePolyMesh.C @@ -385,7 +385,7 @@ void Foam::mergePolyMesh::merge() // Add the patches if necessary if (patchNames_.size() != boundaryMesh().size()) { - Info << "Copying old patches" << endl; + Info<< "Copying old patches" << endl; List newPatches(patchNames_.size()); @@ -399,7 +399,7 @@ void Foam::mergePolyMesh::merge() newPatches[patchI] = oldPatches[patchI].clone(oldPatches).ptr(); } - Info << "Adding new patches. " << endl; + Info<< "Adding new patches. " << endl; label endOfLastPatch = oldPatches[patchI - 1].start() + oldPatches[patchI - 1].size(); diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C index 9876f4a06f..0c97671590 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorFvMesh.C @@ -33,8 +33,8 @@ License const Foam::label Foam::mirrorFvMesh::cellRenumber[8][8] = { {-1, -1, -1, -1, -1, -1, -1, -1}, // unknown - {-1, -1, -1, -1, -1, -1, -1, -1}, // - {-1, -1, -1, -1, -1, -1, -1, -1}, // + {-1, -1, -1, -1, -1, -1, -1, -1}, // + {-1, -1, -1, -1, -1, -1, -1, -1}, // { 0, 3, 2, 1, 4, 7, 6, 5}, // hex { 2, 1, 0, 5, 4, 3, 6, -1}, // wedge { 0, 2, 1, 3, 5, 4, -1, -1}, // prism @@ -74,7 +74,7 @@ Foam::mirrorFvMesh::mirrorFvMesh(const IOobject& io) const polyPatchList& oldPatches = boundaryMesh(); // Mirror the points - Info << "Mirroring points. Old points: " << oldPoints.size(); + Info<< "Mirroring points. Old points: " << oldPoints.size(); pointField newPoints(2*oldPoints.size()); label nNewPoints = 0; @@ -120,10 +120,10 @@ Foam::mirrorFvMesh::mirrorFvMesh(const IOobject& io) } // Reset the size of the point list - Info << " New points: " << nNewPoints << endl; + Info<< " New points: " << nNewPoints << endl; newPoints.setSize(nNewPoints); - Info << "Mirroring faces. Old faces: " << oldFaces.size(); + Info<< "Mirroring faces. Old faces: " << oldFaces.size(); // Algorithm: // During mirroring, the faces that were previously boundary faces @@ -329,14 +329,14 @@ Foam::mirrorFvMesh::mirrorFvMesh(const IOobject& io) // Tidy up the lists newFaces.setSize(nNewFaces); - Info << " New faces: " << nNewFaces << endl; + Info<< " New faces: " << nNewFaces << endl; newPatchTypes.setSize(nNewPatches); newPatchNames.setSize(nNewPatches); newPatchSizes.setSize(nNewPatches); newPatchStarts.setSize(nNewPatches); - Info << "Mirroring patches. Old patches: " << boundary().size() + Info<< "Mirroring patches. Old patches: " << boundary().size() << " New patches: " << nNewPatches << endl; Info<< "Mirroring cells. Old cells: " << oldCells.size() @@ -378,9 +378,9 @@ Foam::mirrorFvMesh::mirrorFvMesh(const IOobject& io) } // Mirror the cell shapes - Info << "Mirroring cell shapes." << endl; + Info<< "Mirroring cell shapes." << endl; - Info << nl << "Creating new mesh" << endl; + Info<< nl << "Creating new mesh" << endl; mirrorMeshPtr_ = new fvMesh ( io, diff --git a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C index a8b93b8d68..a762dda0da 100644 --- a/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C +++ b/applications/utilities/mesh/manipulation/mirrorMesh/mirrorMesh.C @@ -54,10 +54,10 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing mirrored mesh" << endl; + Info<< "Writing mirrored mesh" << endl; mesh.mirrorMesh().write(); - Info << "End" << endl; + Info<< "End" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C b/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C index 07190e49f9..cf0b6ccd27 100644 --- a/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C +++ b/applications/utilities/mesh/manipulation/objToVTK/objToVTK.C @@ -266,7 +266,7 @@ int main(int argc, char *argv[]) } } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/pointSet/pointSet.C b/applications/utilities/mesh/manipulation/pointSet/pointSet.C index 1aa70191f8..fb0c7b12fd 100644 --- a/applications/utilities/mesh/manipulation/pointSet/pointSet.C +++ b/applications/utilities/mesh/manipulation/pointSet/pointSet.C @@ -189,7 +189,7 @@ int main(int argc, char *argv[]) currentSet.write(); } - Info << nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C b/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C index d7a84ee45a..84b2ed78a7 100644 --- a/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C +++ b/applications/utilities/mesh/manipulation/rotateMesh/rotateMesh.C @@ -103,7 +103,7 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing points into directory " << points.path() << nl << endl; + Info<< "Writing points into directory " << points.path() << nl << endl; points.write(); } diff --git a/applications/utilities/mesh/manipulation/setSet/setSet.C b/applications/utilities/mesh/manipulation/setSet/setSet.C index 7b348015d4..b704c71a5d 100644 --- a/applications/utilities/mesh/manipulation/setSet/setSet.C +++ b/applications/utilities/mesh/manipulation/setSet/setSet.C @@ -284,10 +284,10 @@ void printHelp(Ostream& os) << endl << "Zones can be set using zoneSets from corresponding sets:" << endl << " cellZoneSet c0Zone new setToCellZone c0" << endl - << " faceZoneSet f0Zone new setToFaceZone f0" << endl + << " faceZoneSet f0Zone new setToFaceZone f0" << endl << endl << "or if orientation is important:" << endl - << " faceZoneSet f0Zone new setsToFaceZone f0 c0" << endl + << " faceZoneSet f0Zone new setsToFaceZone f0 c0" << endl << endl << "ZoneSets can be manipulated using the general actions:" << endl << " list - prints the contents of the set" << endl @@ -992,7 +992,7 @@ int main(int argc, char *argv[]) delete fileStreamPtr; } - Pout<< "\nEnd" << endl; + Pout<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C b/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C index df419e118b..30aba0f5ab 100644 --- a/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C +++ b/applications/utilities/mesh/manipulation/setsToZones/setsToZones.C @@ -341,7 +341,7 @@ int main(int argc, char *argv[]) << exit(FatalError); } - Info<< nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/splitMesh/splitMesh.C b/applications/utilities/mesh/manipulation/splitMesh/splitMesh.C index de6d5c10e4..d1455a55c5 100644 --- a/applications/utilities/mesh/manipulation/splitMesh/splitMesh.C +++ b/applications/utilities/mesh/manipulation/splitMesh/splitMesh.C @@ -236,7 +236,7 @@ int main(int argc, char *argv[]) mesh.faceZones() ); - Info << "Adding point and face zones" << endl; + Info<< "Adding point and face zones" << endl; mesh.addZones(pz, fz, cz); attachPolyTopoChanger splitter(mesh); diff --git a/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C b/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C index a5adac74e8..9d164f3553 100644 --- a/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C +++ b/applications/utilities/mesh/manipulation/stitchMesh/stitchMesh.C @@ -172,7 +172,7 @@ int main(int argc, char *argv[]) // set up the tolerances for the sliding mesh dictionary slidingTolerances; - if (args.options().found("toleranceDict")) + if (args.options().found("toleranceDict")) { IOdictionary toleranceFile( IOobject( @@ -180,7 +180,7 @@ int main(int argc, char *argv[]) runTime.constant(), mesh, IOobject::MUST_READ, - IOobject::NO_WRITE + IOobject::NO_WRITE ) ); slidingTolerances += toleranceFile; @@ -231,7 +231,7 @@ int main(int argc, char *argv[]) // Note: make sure to add the zones BEFORE constructing polyMeshModifier // (since looks up various zones at construction time) - Info << "Adding point and face zones" << endl; + Info<< "Adding point and face zones" << endl; mesh.addZones(pz.shrink(), fz.shrink(), cz.shrink()); // Add the perfect interface mesh modifier @@ -316,7 +316,7 @@ int main(int argc, char *argv[]) // Note: make sure to add the zones BEFORE constructing polyMeshModifier // (since looks up various zones at construction time) - Info << "Adding point and face zones" << endl; + Info<< "Adding point and face zones" << endl; mesh.addZones(pz.shrink(), fz.shrink(), cz.shrink()); // Add the sliding interface mesh modifier @@ -393,7 +393,7 @@ int main(int argc, char *argv[]) mesh.setInstance(oldInstance); stitcher.instance() = oldInstance; } - Info << nl << "Writing polyMesh to time " << runTime.timeName() << endl; + Info<< nl << "Writing polyMesh to time " << runTime.timeName() << endl; IOstream::defaultPrecision(10); diff --git a/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C b/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C index f00cc8716f..303df1cbae 100644 --- a/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C +++ b/applications/utilities/mesh/manipulation/subsetMesh/subsetMesh.C @@ -439,7 +439,7 @@ int main(int argc, char *argv[]) } - Info << nl << "End" << endl; + Info<< "\nEnd\n" << endl; return 0; } diff --git a/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C b/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C index a76c4ad327..f9b6354dd4 100644 --- a/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C +++ b/applications/utilities/mesh/manipulation/transformPoints/transformPoints.C @@ -267,7 +267,7 @@ int main(int argc, char *argv[]) // Set the precision of the points data to 10 IOstream::defaultPrecision(10); - Info << "Writing points into directory " << points.path() << nl << endl; + Info<< "Writing points into directory " << points.path() << nl << endl; points.write(); return 0; diff --git a/applications/utilities/miscellaneous/patchSummary/patchSummary.C b/applications/utilities/miscellaneous/patchSummary/patchSummary.C index 67ae527027..33028ea017 100644 --- a/applications/utilities/miscellaneous/patchSummary/patchSummary.C +++ b/applications/utilities/miscellaneous/patchSummary/patchSummary.C @@ -98,11 +98,11 @@ int main(int argc, char *argv[]) outputFieldList(vsptf, patchI); outputFieldList(vsytf, patchI); outputFieldList(vtf, patchI); - Info << endl; + Info<< endl; } } - Info << "End\n" << endl; + Info<< "End\n" << endl; return 0; } diff --git a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C index e00130a99c..1b31d9edd5 100644 --- a/applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C +++ b/applications/utilities/parallelProcessing/decomposePar/domainDecompositionMesh.C @@ -87,7 +87,7 @@ void Foam::domainDecomposition::decomposeMesh(const bool filterEmptyPatches) } } - Info << "\nDistributing faces to processors" << endl; + Info<< "\nDistributing faces to processors" << endl; // Loop through all internal faces and decide which processor they belong to // First visit all internal faces. If cells at both sides belong to the @@ -158,7 +158,7 @@ void Foam::domainDecomposition::decomposeMesh(const bool filterEmptyPatches) SLList