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 Log
<< type() << " " << name() << " output:" << nl << type() << " " << name() << " write:" << nl
<< " Calculating averages" << nl; << " Calculating averages" << nl;
addMeanSqrToPrime2Mean<scalar, scalar>(); addMeanSqrToPrime2Mean<scalar, scalar>();

View File

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

View File

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

View File

@ -179,7 +179,7 @@ bool Foam::functionObjects::fieldValues::fieldValueDelta::write
writeTime(file()); writeTime(file());
} }
Log << type() << " " << name() << " output:" << endl; Log << type() << " " << name() << " write:" << endl;
bool found = false; bool found = false;
processFields<scalar>(found); 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) 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_); const fvMesh& mesh = refCast<const fvMesh>(obr_);

View File

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

View File

@ -392,7 +392,7 @@ bool Foam::functionObjects::regionSizeDistribution::write
const bool postProcess const bool postProcess
) )
{ {
Info<< type() << " " << name() << " output:" << nl; Info<< type() << " " << name() << " write:" << nl;
const fvMesh& mesh = refCast<const fvMesh>(obr_); 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) bool Foam::functionObjects::streamLine::write(const bool postProcess)
{ {
Info<< type() << " " << name() << " output:" << nl; Info<< type() << " " << name() << " write:" << nl;
const Time& runTime = obr_.time(); const Time& runTime = obr_.time();
const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_); const fvMesh& mesh = dynamic_cast<const fvMesh&>(obr_);

View File

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

View File

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

View File

@ -393,7 +393,7 @@ void Foam::functionObjects::forces::applyBins
void Foam::functionObjects::forces::writeForces() void Foam::functionObjects::forces::writeForces()
{ {
Log << type() << " " << name() << " output:" << nl Log << type() << " " << name() << " write:" << nl
<< " sum of forces:" << nl << " sum of forces:" << nl
<< " pressure : " << sum(force_[0]) << nl << " pressure : " << sum(force_[0]) << nl
<< " viscous : " << sum(force_[1]) << 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) bool Foam::functionObjects::scalarTransport::execute(const bool postProcess)
{ {
Info<< type() << " output:" << endl; Info<< type() << " write:" << endl;
const surfaceScalarField& phi = const surfaceScalarField& phi =
mesh_.lookupObject<surfaceScalarField>(phiName_); mesh_.lookupObject<surfaceScalarField>(phiName_);

View File

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

View File

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

View File

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