diff --git a/src/OpenFOAM/db/dictionary/dictionaryIO.C b/src/OpenFOAM/db/dictionary/dictionaryIO.C index b425437547c65b4b06ef608fb5b4cf4f0f9bf8b2..e48a13f7971b8ee3151f7ad84b09727defbb534f 100644 --- a/src/OpenFOAM/db/dictionary/dictionaryIO.C +++ b/src/OpenFOAM/db/dictionary/dictionaryIO.C @@ -163,7 +163,7 @@ void Foam::dictionary::writeEntry(const keyType& kw, Ostream& os) const { os.beginBlock(kw); writeEntries(os); - os.endBlock() << flush; + os.endBlock(); } @@ -205,7 +205,7 @@ void Foam::dictionary::write(Ostream& os, const bool subDict) const if (subDict) { - os.endBlock() << flush; + os.endBlock(); } } diff --git a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C index b2d299af9b1422625df46d7ba006767db88ca2c3..15341e144da7d5f9063c0a8282c26c2eae31a8d6 100644 --- a/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C +++ b/src/OpenFOAM/fields/GeometricFields/GeometricField/GeometricBoundaryField.C @@ -530,7 +530,7 @@ writeEntry(const word& keyword, Ostream& os) const { os.beginBlock(keyword); this->writeEntries(os); - os.endBlock() << flush; + os.endBlock(); os.check(FUNCTION_NAME); } diff --git a/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C b/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C index ec1cd8f19ca3f90ced08d987b126eabb63b8f4e0..80f9088372042c13fd11f927d28ca5e069f56688 100644 --- a/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C +++ b/src/OpenFOAM/meshes/primitiveShapes/plane/plane.C @@ -438,7 +438,7 @@ void Foam::plane::writeDict(Ostream& os) const os.writeEntry("point", origin_); os.writeEntry("normal", normal_); - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.C b/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.C index 93836d807b9ba2f2c220d20f2feb805fe7576ef7..f03000f4306cd12cd7844d09b89c54d1134f096c 100644 --- a/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.C +++ b/src/OpenFOAM/primitives/functions/Function1/CSV/CSV.C @@ -284,7 +284,7 @@ void Foam::Function1Types::CSV<Type>::writeData(Ostream& os) const os.writeEntry("mergeSeparators", mergeSeparators_); os.writeEntry("file", fName_); - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.C b/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.C index 732f329147af8d9e0aaeec82a94b940b40e18f4c..610ac418934300f23f7c7007d0c41e97b7ff781f 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.C +++ b/src/OpenFOAM/primitives/functions/Function1/Sine/Sine.C @@ -86,7 +86,7 @@ void Foam::Function1Types::Sine<Type>::writeData(Ostream& os) const scale_->writeData(os); level_->writeData(os); - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/OpenFOAM/primitives/functions/Function1/Square/Square.C b/src/OpenFOAM/primitives/functions/Function1/Square/Square.C index d9f06f5bc50f376d7dd734a8874abf917a9b599e..157ecce2dd938ee583ed4974f6647ad8e8681b66 100644 --- a/src/OpenFOAM/primitives/functions/Function1/Square/Square.C +++ b/src/OpenFOAM/primitives/functions/Function1/Square/Square.C @@ -89,7 +89,7 @@ void Foam::Function1Types::Square<Type>::writeData(Ostream& os) const scale_->writeData(os); level_->writeData(os); - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.C b/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.C index f58f7d4c159254b905cd71ac7d3c8e7be8e8cb90..06c041889f9812f205c3e50819c353c5da43a861 100644 --- a/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.C +++ b/src/OpenFOAM/primitives/functions/Function1/TableFile/TableFile.C @@ -87,7 +87,7 @@ void Foam::Function1Types::TableFile<Type>::writeData(Ostream& os) const os.writeEntry("file", fName_); - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/conversion/ensight/part/ensightPartCells.C b/src/conversion/ensight/part/ensightPartCells.C index b4fc02ad6a4d6d0fe28669a10f8bf0ac418cf9e4..25ef3bf3a95f472e5af10577a3789a6c8a8b8705 100644 --- a/src/conversion/ensight/part/ensightPartCells.C +++ b/src/conversion/ensight/part/ensightPartCells.C @@ -293,7 +293,7 @@ void Foam::ensightPartCells::writeSummary(Ostream& os) const os.writeEntry("name", name()); os.writeEntry("size", size()); - os.endBlock() << flush; + os.endBlock(); } @@ -322,7 +322,7 @@ void Foam::ensightPartCells::dumpInfo(Ostream& os) const os << ')' << endEntry; } - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/conversion/ensight/part/ensightPartFaces.C b/src/conversion/ensight/part/ensightPartFaces.C index e0ed197639ce366beedbb9ef5397e0b24f0aa15a..8358f713718533088b057d696a53cd4c31703ed0 100644 --- a/src/conversion/ensight/part/ensightPartFaces.C +++ b/src/conversion/ensight/part/ensightPartFaces.C @@ -257,7 +257,7 @@ void Foam::ensightPartFaces::writeSummary(Ostream& os) const os.writeEntry("start", start_); os.writeEntry("size", size()); - os.endBlock() << flush; + os.endBlock(); } @@ -287,7 +287,7 @@ void Foam::ensightPartFaces::dumpInfo(Ostream& os) const os << ')' << endEntry; } - os.endBlock() << flush; + os.endBlock(); } diff --git a/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C b/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C index 03677d232d58a9a311808f890598f5786a5d84c0..858011d368cb9acf8b40e9a76b8ef340b08c49f2 100644 --- a/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C +++ b/src/functionObjects/field/fieldAverage/fieldAverageItem/fieldAverageItemIO.C @@ -169,7 +169,7 @@ Foam::Ostream& Foam::functionObjects::operator<< os.writeEntry("allowRestart", faItem.allowRestart_); } - os.endBlock() << flush; + os.endBlock(); os.check(FUNCTION_NAME);