diff --git a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C index 990db1cda3..3cf76bab1b 100644 --- a/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C +++ b/applications/solvers/multiphase/multiphaseInterFoam/multiphaseMixture/alphaContactAngle/alphaContactAngleFvPatchScalarField.C @@ -50,7 +50,7 @@ Istream& operator>> alphaContactAngleFvPatchScalarField::interfaceThetaProps& tp ) { - is >> tp.theta0_ >> tp.uTheta_ >> tp.thetaA_ >> tp.thetaR_; + is >> tp.theta0_ >> tp.uTheta_ >> tp.thetaA_ >> tp.thetaR_; return is; } diff --git a/applications/test/Dictionary/DictionaryTest.C b/applications/test/Dictionary/DictionaryTest.C index 2844489f72..db4bc1ce75 100644 --- a/applications/test/Dictionary/DictionaryTest.C +++ b/applications/test/Dictionary/DictionaryTest.C @@ -59,7 +59,7 @@ public: friend Ostream& operator<<(Ostream& os, const ent& e) { - os << e.keyword_ << ' ' << e.i_ << endl; + os << e.keyword_ << ' ' << e.i_ << endl; return os; } }; @@ -88,7 +88,7 @@ public: friend Ostream& operator<<(Ostream& os, const Scalar& val) { - os << val.data_; + os << val.data_; return os; } }; diff --git a/applications/test/Field/testField.H b/applications/test/Field/testField.H index d43452fea7..530b662525 100644 --- a/applications/test/Field/testField.H +++ b/applications/test/Field/testField.H @@ -38,7 +38,7 @@ public: friend std::ostream& operator<<(std::ostream& os, const Vector& v) { - os << v.X << '\t' << v.Y << '\n'; + os << v.X << '\t' << v.Y << '\n'; return os; } }; diff --git a/applications/test/HashTable/hashTableTest.C b/applications/test/HashTable/hashTableTest.C index a109f1d911..0cbd4ded85 100644 --- a/applications/test/HashTable/hashTableTest.C +++ b/applications/test/HashTable/hashTableTest.C @@ -89,7 +89,7 @@ int main() { OStringStream os; - os << table1; + os << table1; HASHTABLE_CLASS readTable(IStringStream(os.str())(), 100); Info<< "Istream constructor:" << readTable << endl; diff --git a/applications/test/ISLList/ISLListTest.C b/applications/test/ISLList/ISLListTest.C index 1991aa4f24..7ebff5dbc0 100644 --- a/applications/test/ISLList/ISLListTest.C +++ b/applications/test/ISLList/ISLListTest.C @@ -54,7 +54,7 @@ public: friend Ostream& operator<<(Ostream& os, const Scalar& s) { - os << s.data_; + os << s.data_; return os; } diff --git a/applications/test/PtrList/PtrListTest.C b/applications/test/PtrList/PtrListTest.C index ffcde48b96..d17f56885a 100644 --- a/applications/test/PtrList/PtrListTest.C +++ b/applications/test/PtrList/PtrListTest.C @@ -60,7 +60,7 @@ public: friend Ostream& operator<<(Ostream& os, const Scalar& val) { - os << val.data_; + os << val.data_; return os; } }; diff --git a/applications/test/StaticHashTable/staticHashTableTest.C b/applications/test/StaticHashTable/staticHashTableTest.C index 77a456f2ba..d51bf1f5d2 100644 --- a/applications/test/StaticHashTable/staticHashTableTest.C +++ b/applications/test/StaticHashTable/staticHashTableTest.C @@ -83,7 +83,7 @@ int main() { OStringStream os; - os << table1; + os << table1; HASHTABLE_CLASS readTable(IStringStream(os.str())(), 100); Info<< "Istream constructor:" << readTable << endl; diff --git a/applications/test/UDictionary/UDictionaryTest.C b/applications/test/UDictionary/UDictionaryTest.C index 57fc55c0b3..e884bcddd8 100644 --- a/applications/test/UDictionary/UDictionaryTest.C +++ b/applications/test/UDictionary/UDictionaryTest.C @@ -56,7 +56,7 @@ public: friend Ostream& operator<<(Ostream& os, const ent& e) { - os << e.keyword_ << ' ' << e.i_ << endl; + os << e.keyword_ << ' ' << e.i_ << endl; return os; } }; diff --git a/applications/test/primitivePatch/testPrimitivePatch.C b/applications/test/primitivePatch/testPrimitivePatch.C index 37fd7b32eb..e2336530e6 100644 --- a/applications/test/primitivePatch/testPrimitivePatch.C +++ b/applications/test/primitivePatch/testPrimitivePatch.C @@ -47,8 +47,7 @@ void writeObj(Ostream& os,const pointField& points) { const point& pt = points[pointI]; - os << "v " << pt.x() << ' ' << pt.y() - << ' ' << pt.z() << endl; + os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << endl; } } diff --git a/applications/test/sha1/testSHA1.C b/applications/test/sha1/testSHA1.C index 45fd3814b8..c3e3685108 100644 --- a/applications/test/sha1/testSHA1.C +++ b/applications/test/sha1/testSHA1.C @@ -92,14 +92,14 @@ int main(int argc, char * argv[]) { OSHA1stream os; - os << str; + os << str; Info<< os.digest() << endl; - os << str; + os << str; Info<< os.digest() << endl; os.rewind(); - os << "The quick brown fox jumps over the lazy dog"; + os << "The quick brown fox jumps over the lazy dog"; Info<< os.digest() << endl; } diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/block.C b/applications/utilities/mesh/conversion/cfx4ToFoam/block.C index 906ebac9ec..e61b80ce08 100644 --- a/applications/utilities/mesh/conversion/cfx4ToFoam/block.C +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/block.C @@ -110,9 +110,9 @@ const labelListListList& block::boundaryPatches() const Ostream& operator<<(Ostream& os, const block& b) { - os << b.Vertices << nl - << b.Cells << nl - << b.BoundaryPatches << endl; + os << b.Vertices << nl + << b.Cells << nl + << b.BoundaryPatches << endl; return os; } diff --git a/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C b/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C index e4dc4d82c5..2bdc448ed4 100644 --- a/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C +++ b/applications/utilities/mesh/conversion/cfx4ToFoam/hexBlock.C @@ -57,7 +57,7 @@ void hexBlock::readPoints(Istream& is) { forAll(points_, i) { - is >> points_[i].x() >> points_[i].y() >> points_[i].z(); + is >> points_[i].x() >> points_[i].y() >> points_[i].z(); } // Calculate the handedness of the block diff --git a/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C b/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C index 74543ed4c1..e7ab90647a 100644 --- a/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C +++ b/applications/utilities/mesh/conversion/plot3dToFoam/hexBlock.C @@ -128,13 +128,13 @@ void hexBlock::readPoints Info<< "Reading " << nPoints << " x coordinates..." << endl; for (label i=0; i < nPoints; i++) { - is >> points_[i].x(); + is >> points_[i].x(); } Info<< "Reading " << nPoints << " y coordinates..." << endl; for (label i=0; i < nPoints; i++) { - is >> points_[i].y(); + is >> points_[i].y(); } if (twoDThicknes > 0) @@ -156,7 +156,7 @@ void hexBlock::readPoints Info<< "Reading " << nPoints << " z coordinates..." << endl; for (label i=0; i < nPoints; i++) { - is >> points_[i].z(); + is >> points_[i].z(); } } @@ -166,7 +166,7 @@ void hexBlock::readPoints Info<< "Reading " << nPoints << " blanks..." << endl; for (label i=0; i < nPoints; i++) { - is >> iBlank; + is >> iBlank; } } diff --git a/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C b/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C index d0e067a070..2d37090daa 100644 --- a/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C +++ b/applications/utilities/mesh/conversion/writeMeshObj/writeMeshObj.C @@ -51,7 +51,7 @@ using namespace Foam; void writeOBJ(const point& pt, Ostream& os) { - os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << nl; + os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << nl; } // All edges of mesh diff --git a/applications/utilities/mesh/generation/extrudeToRegionMesh/patchPointEdgeCirculator.C b/applications/utilities/mesh/generation/extrudeToRegionMesh/patchPointEdgeCirculator.C index b91f06fe3f..67db0ccbab 100644 --- a/applications/utilities/mesh/generation/extrudeToRegionMesh/patchPointEdgeCirculator.C +++ b/applications/utilities/mesh/generation/extrudeToRegionMesh/patchPointEdgeCirculator.C @@ -58,7 +58,7 @@ Foam::Ostream& Foam::operator<< if (faceI != -1) { - os<< " fc:" << c.patch_.localFaces()[faceI].centre(pts); + os << " fc:" << c.patch_.localFaces()[faceI].centre(pts); } return os; } diff --git a/applications/utilities/mesh/manipulation/setSet/setSet.C b/applications/utilities/mesh/manipulation/setSet/setSet.C index 9750237161..d8c216c662 100644 --- a/applications/utilities/mesh/manipulation/setSet/setSet.C +++ b/applications/utilities/mesh/manipulation/setSet/setSet.C @@ -974,7 +974,7 @@ int main(int argc, char *argv[]) IStringStream is(rawLine + ' '); // Type: cellSet, faceSet, pointSet, faceZoneSet - is >> setType; + is >> setType; stat = parseType(runTime, mesh, setType, is); diff --git a/applications/utilities/mesh/manipulation/setSet/writeFuns.C b/applications/utilities/mesh/manipulation/setSet/writeFuns.C index e7a67bc09b..d347bcc7f4 100644 --- a/applications/utilities/mesh/manipulation/setSet/writeFuns.C +++ b/applications/utilities/mesh/manipulation/setSet/writeFuns.C @@ -85,20 +85,20 @@ void Foam::writeFuns::write fField.size()*sizeof(float) ); - os << std::endl; + os << std::endl; } else { forAll(fField, i) { - os << fField[i] << ' '; + os << fField[i] << ' '; if (i > 0 && (i % 10) == 0) { - os << std::endl; + os << std::endl; } } - os << std::endl; + os << std::endl; } } @@ -134,20 +134,20 @@ void Foam::writeFuns::write elems.size()*sizeof(label) ); - os << std::endl; + os << std::endl; } else { forAll(elems, i) { - os << elems[i] << ' '; + os << elems[i] << ' '; if (i > 0 && (i % 10) == 0) { - os << std::endl; + os << std::endl; } } - os << std::endl; + os << std::endl; } } diff --git a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/writeFunctions.C b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/writeFunctions.C index 2de1128c63..eec0beea36 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToFieldview9/writeFunctions.C +++ b/applications/utilities/postProcessing/dataConversion/foamToFieldview9/writeFunctions.C @@ -85,12 +85,12 @@ void writeBytes(char* start, int nBytes) // Debug: write wall flags data void writeWallFlags(Ostream& os, label cellI, const labelList& wallFlags) { - os << "cell " << cellI << " wallsFlags:"; + os << "cell " << cellI << " wallsFlags:"; forAll(wallFlags, wallFaceI) { - os << wallFlags[wallFaceI] << " "; + os << wallFlags[wallFaceI] << ' '; } - os << endl; + os << endl; } diff --git a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C index 0231e15938..2ba61565d9 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C +++ b/applications/utilities/postProcessing/dataConversion/foamToTecplot360/foamToTecplot360.C @@ -99,12 +99,12 @@ void print(const char* msg, Ostream& os, const PtrList& flds) { if (flds.size()) { - os << msg; + os << msg; forAll(flds, i) { - os<< ' ' << flds[i].name(); + os << ' ' << flds[i].name(); } - os << endl; + os << endl; } } @@ -113,9 +113,9 @@ void print(Ostream& os, const wordList& flds) { forAll(flds, i) { - os<< ' ' << flds[i]; + os << ' ' << flds[i]; } - os << endl; + os << endl; } diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C index 0637dabbd6..a93885d976 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/foamToVTK.C @@ -163,12 +163,12 @@ void print(const char* msg, Ostream& os, const PtrList& flds) { if (flds.size()) { - os << msg; + os << msg; forAll(flds, i) { - os<< ' ' << flds[i].name(); + os << ' ' << flds[i].name(); } - os << endl; + os << endl; } } @@ -177,9 +177,9 @@ void print(Ostream& os, const wordList& flds) { forAll(flds, i) { - os<< ' ' << flds[i]; + os << ' ' << flds[i]; } - os << endl; + os << endl; } diff --git a/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C b/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C index 5e657f87cf..89f0a59327 100644 --- a/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C +++ b/applications/utilities/postProcessing/dataConversion/foamToVTK/writeFuns.C @@ -94,20 +94,20 @@ void Foam::writeFuns::write fField.size()*sizeof(float) ); - os << std::endl; + os << std::endl; } else { forAll(fField, i) { - os << fField[i] << ' '; + os << fField[i] << ' '; if (i > 0 && (i % 10) == 0) { - os << std::endl; + os << std::endl; } } - os << std::endl; + os << std::endl; } } @@ -143,20 +143,20 @@ void Foam::writeFuns::write elems.size()*sizeof(label) ); - os << std::endl; + os << std::endl; } else { forAll(elems, i) { - os << elems[i] << ' '; + os << elems[i] << ' '; if (i > 0 && (i % 10) == 0) { - os << std::endl; + os << std::endl; } } - os << std::endl; + os << std::endl; } } @@ -186,11 +186,11 @@ void Foam::writeFuns::writeHeader if (binary) { - os << "BINARY" << std::endl; + os << "BINARY" << std::endl; } else { - os << "ASCII" << std::endl; + os << "ASCII" << std::endl; } } diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/vtkPV3FoamReader.cxx b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/vtkPV3FoamReader.cxx index 74f8f013a8..b508d21ec0 100644 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/vtkPV3FoamReader.cxx +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3FoamReader/PV3FoamReader/vtkPV3FoamReader.cxx @@ -502,15 +502,14 @@ void vtkPV3FoamReader::PrintSelf(ostream& os, vtkIndent indent) vtkDebugMacro(<<"PrintSelf"); this->Superclass::PrintSelf(os,indent); - os<< indent << "File name: " - << (this->FileName ? this->FileName : "(none)") << "\n"; + os << indent << "File name: " + << (this->FileName ? this->FileName : "(none)") << "\n"; foamData_->PrintSelf(os, indent); - os<< indent << "Time step range: " - << this->TimeStepRange[0] << " - " << this->TimeStepRange[1] - << "\n"; - os<< indent << "Time step: " << this->GetTimeStep() << endl; + os << indent << "Time step range: " + << this->TimeStepRange[0] << " - " << this->TimeStepRange[1] << "\n" + << indent << "Time step: " << this->GetTimeStep() << endl; } diff --git a/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/vtkPV3blockMeshReader.cxx b/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/vtkPV3blockMeshReader.cxx index 89532a6dde..547c4ff66b 100644 --- a/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/vtkPV3blockMeshReader.cxx +++ b/applications/utilities/postProcessing/graphics/PV3Readers/PV3blockMeshReader/PV3blockMeshReader/vtkPV3blockMeshReader.cxx @@ -283,8 +283,8 @@ void vtkPV3blockMeshReader::PrintSelf(ostream& os, vtkIndent indent) vtkDebugMacro(<<"PrintSelf"); this->Superclass::PrintSelf(os,indent); - os<< indent << "File name: " - << (this->FileName ? this->FileName : "(none)") << "\n"; + os << indent << "File name: " + << (this->FileName ? this->FileName : "(none)") << "\n"; foamData_->PrintSelf(os, indent); } diff --git a/applications/utilities/postProcessing/miscellaneous/postChannel/sumData.C b/applications/utilities/postProcessing/miscellaneous/postChannel/sumData.C index 9f929b4814..73fdaf2038 100644 --- a/applications/utilities/postProcessing/miscellaneous/postChannel/sumData.C +++ b/applications/utilities/postProcessing/miscellaneous/postChannel/sumData.C @@ -41,7 +41,7 @@ Foam::Ostream& Foam::operator<< Foam::Istream& Foam::operator>>(Foam::Istream& is, Foam::sumData& wDist) { - return is >> wDist.oldFace_ >> wDist.sum_ >> wDist.count_; + return is >> wDist.oldFace_ >> wDist.sum_ >> wDist.count_; } diff --git a/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C b/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C index ce32c54206..32975365c8 100644 --- a/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C +++ b/applications/utilities/surface/surfaceSplitNonManifolds/surfaceSplitNonManifolds.C @@ -65,7 +65,7 @@ void writeOBJ(Ostream& os, const pointField& pts) { const point& pt = pts[i]; - os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << endl; + os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << endl; } } @@ -85,7 +85,7 @@ void dumpPoints(const triSurface& surf, const labelList& borderPoint) { const point& pt = surf.localPoints()[pointI]; - os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << endl; + os << "v " << pt.x() << ' ' << pt.y() << ' ' << pt.z() << endl; } } } @@ -108,7 +108,7 @@ void dumpEdges(const triSurface& surf, const boolList& borderEdge) { const edge& e = surf.edges()[edgeI]; - os << "l " << e.start()+1 << ' ' << e.end()+1 << endl; + os << "l " << e.start()+1 << ' ' << e.end()+1 << endl; } } } diff --git a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/substance.H b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/substance.H index b7232cc2c7..561e3fc1b6 100644 --- a/applications/utilities/thermophysical/mixtureAdiabaticFlameT/substance.H +++ b/applications/utilities/thermophysical/mixtureAdiabaticFlameT/substance.H @@ -95,13 +95,13 @@ public: friend Istream& operator>>(Istream& is, substance& s) { - is >> s.name_ >> s.volFrac_; + is >> s.name_ >> s.volFrac_; return is; } friend Ostream& operator<<(Ostream& os, const substance& s) { - os << s.name_ << token::SPACE << s.volFrac_; + os << s.name_ << token::SPACE << s.volFrac_; return os; } }; diff --git a/src/OSspecific/POSIX/printStack.C b/src/OSspecific/POSIX/printStack.C index 323c812a98..87482265db 100644 --- a/src/OSspecific/POSIX/printStack.C +++ b/src/OSspecific/POSIX/printStack.C @@ -122,19 +122,18 @@ void printSourceFileAndLine if (line == "") { - os << " addr2line failed"; + os << " addr2line failed"; } else if (line == "??:0") { - os << " in " << filename; + os << " in " << filename; } else { string cwdLine(line.replaceAll(cwd() + '/', "")); - string homeLine(cwdLine.replaceAll(home(), '~')); - os << " at " << homeLine.c_str(); + os << " at " << homeLine.c_str(); } } } @@ -160,11 +159,11 @@ void getSymbolForRaw if (fcnt != "") { - os << fcnt.c_str(); + os << fcnt.c_str(); return; } } - os << "Uninterpreted: " << raw.c_str(); + os << "Uninterpreted: " << raw.c_str(); } @@ -210,8 +209,8 @@ void error::printStack(Ostream& os) fileName programFile; word address; - os << '#' << label(i) << " "; - //os << "Raw : " << msg << "\n\t"; + os << '#' << label(i) << " "; + //os << "Raw : " << msg << "\n\t"; { string::size_type lPos = msg.find('['); string::size_type rPos = msg.find(']'); @@ -263,12 +262,12 @@ void error::printStack(Ostream& os) if (status == 0 && cplusNamePtr) { - os << cplusNamePtr; + os << cplusNamePtr; free(cplusNamePtr); } else { - os << cName.c_str(); + os << cName.c_str(); } } else @@ -279,7 +278,7 @@ void error::printStack(Ostream& os) { string fullName(msg.substr(start, endBracketPos-start)); - os << fullName.c_str() << nl; + os << fullName.c_str() << nl; } else { @@ -296,7 +295,7 @@ void error::printStack(Ostream& os) printSourceFileAndLine(os, addressMap, programFile, address); - os << nl; + os << nl; } free(strings); diff --git a/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C b/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C index 26b892921e..a18ec94f5c 100644 --- a/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C +++ b/src/OpenFOAM/meshes/polyMesh/polyPatches/basic/coupled/coupledPolyPatch.C @@ -71,7 +71,7 @@ void Foam::coupledPolyPatch::writeOBJ writeOBJ(os, p1); vertI++; - os<< "l " << vertI-1 << ' ' << vertI << nl; + os << "l " << vertI-1 << ' ' << vertI << nl; } diff --git a/src/dynamicMesh/meshCut/cellCuts/cellCuts.C b/src/dynamicMesh/meshCut/cellCuts/cellCuts.C index e429782622..0a856360c4 100644 --- a/src/dynamicMesh/meshCut/cellCuts/cellCuts.C +++ b/src/dynamicMesh/meshCut/cellCuts/cellCuts.C @@ -3036,12 +3036,12 @@ void Foam::cellCuts::writeOBJ vertI++; } - os << 'f'; + os << 'f'; forAll(loopPts, fp) { os << ' ' << startVertI + fp + 1; } - os<< endl; + os << endl; } diff --git a/src/lagrangian/basic/IOPosition/IOPosition.C b/src/lagrangian/basic/IOPosition/IOPosition.C index b3345417c0..5d0d62facb 100644 --- a/src/lagrangian/basic/IOPosition/IOPosition.C +++ b/src/lagrangian/basic/IOPosition/IOPosition.C @@ -67,7 +67,7 @@ bool Foam::IOPosition::write() const template bool Foam::IOPosition::writeData(Ostream& os) const { - os<< cloud_.size() << nl << token::BEGIN_LIST << nl; + os << cloud_.size() << nl << token::BEGIN_LIST << nl; forAllConstIter(typename Cloud, cloud_, iter) { @@ -80,7 +80,7 @@ bool Foam::IOPosition::writeData(Ostream& os) const os << nl; } - os<< token::END_LIST << endl; + os << token::END_LIST << endl; return os.good(); } diff --git a/src/meshTools/octree/treeLeaf.C b/src/meshTools/octree/treeLeaf.C index c0b4ead2df..823594fb71 100644 --- a/src/meshTools/octree/treeLeaf.C +++ b/src/meshTools/octree/treeLeaf.C @@ -36,7 +36,7 @@ void Foam::treeLeaf::space(Ostream& os, const label n) { for (label i=0; i::space(Ostream& os, const label n) { for (label i=0; i