functionObjects: 'output:' -> 'write:' for consistency with the naming of the 'write' function

This commit is contained in:
Henry Weller
2016-06-09 16:06:44 +01:00
parent fd734554b9
commit 13f91bf5de
15 changed files with 17 additions and 17 deletions

View File

@ -135,7 +135,7 @@ void Foam::functionObjects::fieldAverage::calcAverages()
}
Log
<< type() << " " << name() << " output:" << nl
<< type() << " " << name() << " write:" << nl
<< " Calculating averages" << nl;
addMeanSqrToPrime2Mean<scalar, scalar>();

View File

@ -151,7 +151,7 @@ bool Foam::functionObjects::fieldMinMax::write(const bool postProcess)
writeFiles::write();
if (!location_) writeTime(file());
Log << type() << " " << name() << " output:" << nl;
Log << type() << " " << name() << " write:" << nl;
forAll(fieldSet_, fieldi)
{

View File

@ -110,7 +110,7 @@ bool Foam::functionObjects::fieldValue::write(const bool postProcess)
{
writeFiles::write();
Log << type() << " " << name() << " output:" << nl;
Log << type() << " " << name() << " write:" << nl;
return true;
}

View File

@ -179,7 +179,7 @@ bool Foam::functionObjects::fieldValues::fieldValueDelta::write
writeTime(file());
}
Log << type() << " " << name() << " output:" << endl;
Log << type() << " " << name() << " write:" << endl;
bool found = false;
processFields<scalar>(found);

View File

@ -117,7 +117,7 @@ bool Foam::functionObjects::histogram::execute(const bool postProcess)
bool Foam::functionObjects::histogram::write(const bool postProcess)
{
Log << type() << " " << name() << " output:" << nl;
Log << type() << " " << name() << " write:" << nl;
const fvMesh& mesh = refCast<const fvMesh>(obr_);

View File

@ -313,7 +313,7 @@ bool Foam::functionObjects::nearWallFields::execute(const bool postProcess)
}
Log << type() << " " << name()
<< " output:" << nl
<< " write:" << nl
<< " Sampling fields to " << time_.timeName()
<< endl;

View File

@ -392,7 +392,7 @@ bool Foam::functionObjects::regionSizeDistribution::write
const bool postProcess
)
{
Info<< type() << " " << name() << " output:" << nl;
Info<< type() << " " << name() << " write:" << nl;
const fvMesh& mesh = refCast<const fvMesh>(obr_);

View File

@ -431,7 +431,7 @@ bool Foam::functionObjects::streamLine::execute(const bool postProcess)
bool Foam::functionObjects::streamLine::write(const bool postProcess)
{
Info<< type() << " " << name() << " output:" << nl;
Info<< type() << " " << name() << " write:" << nl;
const Time& runTime = obr_.time();
const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_);

View File

@ -85,7 +85,7 @@ bool Foam::functionObjects::surfaceInterpolate::execute
const bool postProcess
)
{
Info<< type() << " " << name() << " output:" << nl;
Info<< type() << " " << name() << " write:" << nl;
// Clear out any previously loaded fields
ssf_.clear();
@ -111,7 +111,7 @@ bool Foam::functionObjects::surfaceInterpolate::write
const bool postProcess
)
{
Info<< type() << " " << name() << " output:" << nl;
Info<< type() << " " << name() << " write:" << nl;
Info<< " Writing interpolated surface fields to "
<< obr_.time().timeName() << endl;

View File

@ -208,7 +208,7 @@ bool Foam::functionObjects::forceCoeffs::write(const bool postProcess)
<< tab << Cm << tab << Cd
<< tab << Cl << tab << Clf << tab << Clr << endl;
Log << type() << " " << name() << " output:" << nl
Log << type() << " " << name() << " write:" << nl
<< " Cm = " << Cm << nl
<< " Cd = " << Cd << nl
<< " Cl = " << Cl << nl

View File

@ -393,7 +393,7 @@ void Foam::functionObjects::forces::applyBins
void Foam::functionObjects::forces::writeForces()
{
Log << type() << " " << name() << " output:" << nl
Log << type() << " " << name() << " write:" << nl
<< " sum of forces:" << nl
<< " pressure : " << sum(force_[0]) << nl
<< " viscous : " << sum(force_[1]) << nl

View File

@ -188,7 +188,7 @@ bool Foam::functionObjects::scalarTransport::read(const dictionary& dict)
bool Foam::functionObjects::scalarTransport::execute(const bool postProcess)
{
Info<< type() << " output:" << endl;
Info<< type() << " write:" << endl;
const surfaceScalarField& phi =
mesh_.lookupObject<surfaceScalarField>(phiName_);

View File

@ -99,7 +99,7 @@ bool Foam::functionObjects::removeRegisteredObject::execute
if (obj.ownedByRegistry())
{
Info<< type() << " " << name() << " output:" << nl
Info<< type() << " " << name() << " write:" << nl
<< " removing object " << obj.name() << nl
<< endl;

View File

@ -73,7 +73,7 @@ bool Foam::functionObjects::writeDictionary::tryDirectory
{
if (firstDict)
{
Info<< type() << " " << name() << " output:" << nl << endl;
Info<< type() << " " << name() << " write:" << nl << endl;
IOobject::writeDivider(Info);
Info<< endl;
@ -173,7 +173,7 @@ bool Foam::functionObjects::writeDictionary::write(const bool postProcess)
{
if (firstDict)
{
Info<< type() << " " << name() << " output:" << nl << endl;
Info<< type() << " " << name() << " write:" << nl << endl;
IOobject::writeDivider(Info);
Info<< endl;

View File

@ -101,7 +101,7 @@ bool Foam::functionObjects::writeRegisteredObject::write
const bool postProcess
)
{
Info<< type() << " " << name() << " output:" << nl;
Info<< type() << " " << name() << " write:" << nl;
if (!obr_.time().writeTime())
{