From 27ca59be80a7ccdc67e3793b06ddcf856101bde3 Mon Sep 17 00:00:00 2001 From: Henry Weller Date: Sat, 9 Sep 2017 19:03:16 +0100 Subject: [PATCH] functionObjects: Rationalized the use of "tab" rather than token::TAB --- .../field/fieldMinMax/fieldMinMaxTemplates.C | 14 ++--- .../regionSizeDistribution.C | 62 +++++++++---------- .../field/wallHeatFlux/wallHeatFlux.C | 8 +-- .../field/wallShearStress/wallShearStress.C | 6 +- src/functionObjects/field/yPlus/yPlus.C | 8 +-- .../lagrangian/cloudInfo/cloudInfo.C | 6 +- .../utilities/residuals/residualsTemplates.C | 4 +- 7 files changed, 54 insertions(+), 54 deletions(-) diff --git a/src/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C b/src/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C index f937a22f81..243949aa6b 100644 --- a/src/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C +++ b/src/functionObjects/field/fieldMinMax/fieldMinMaxTemplates.C @@ -51,20 +51,20 @@ void Foam::functionObjects::fieldMinMax::output writeTabbed(file, fieldName); - file<< token::TAB << minValue - << token::TAB << minC; + file<< tab << minValue + << tab << minC; if (Pstream::parRun()) { - file<< token::TAB << minProci; + file<< tab << minProci; } - file<< token::TAB << maxValue - << token::TAB << maxC; + file<< tab << maxValue + << tab << maxC; if (Pstream::parRun()) { - file<< token::TAB << maxProci; + file<< tab << maxProci; } file<< endl; @@ -89,7 +89,7 @@ void Foam::functionObjects::fieldMinMax::output } else { - file<< token::TAB << minValue << token::TAB << maxValue; + file<< tab << minValue << tab << maxValue; Log << " min/max(" << outputName << ") = " << minValue << ' ' << maxValue; diff --git a/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C b/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C index e4280a2e42..8153003da3 100644 --- a/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C +++ b/src/functionObjects/field/regionSizeDistribution/regionSizeDistribution.C @@ -2,7 +2,7 @@ ========= | \\ / F ield | OpenFOAM: The Open Source CFD Toolbox \\ / O peration | - \\ / A nd | Copyright (C) 2013-2016 OpenFOAM Foundation + \\ / A nd | Copyright (C) 2013-2017 OpenFOAM Foundation \\/ M anipulation | ------------------------------------------------------------------------------- License @@ -534,10 +534,10 @@ bool Foam::functionObjects::regionSizeDistribution::write() if (debug) { - Info<< " " << token::TAB << "Region" - << token::TAB << "Volume(mesh)" - << token::TAB << "Volume(" << alpha.name() << "):" - << token::TAB << "nCells" + Info<< " " << tab << "Region" + << tab << "Volume(mesh)" + << tab << "Volume(" << alpha.name() << "):" + << tab << "nCells" << endl; scalar meshSumVol = 0.0; scalar alphaSumVol = 0.0; @@ -554,20 +554,20 @@ bool Foam::functionObjects::regionSizeDistribution::write() ++vIter, ++aIter, ++numIter ) { - Info<< " " << token::TAB << vIter.key() - << token::TAB << vIter() - << token::TAB << aIter() - << token::TAB << numIter() + Info<< " " << tab << vIter.key() + << tab << vIter() + << tab << aIter() + << tab << numIter() << endl; meshSumVol += vIter(); alphaSumVol += aIter(); nCells += numIter(); } - Info<< " " << token::TAB << "Total:" - << token::TAB << meshSumVol - << token::TAB << alphaSumVol - << token::TAB << nCells + Info<< " " << tab << "Total:" + << tab << meshSumVol + << tab << alphaSumVol + << tab << nCells << endl; Info<< endl; } @@ -577,16 +577,16 @@ bool Foam::functionObjects::regionSizeDistribution::write() { Info<< " Patch connected regions (liquid core):" << endl; - Info<< token::TAB << " Region" - << token::TAB << "Volume(mesh)" - << token::TAB << "Volume(" << alpha.name() << "):" + Info<< tab << " Region" + << tab << "Volume(mesh)" + << tab << "Volume(" << alpha.name() << "):" << endl; forAllConstIter(Map