mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
functionObjects: 'output:' -> 'write:' for consistency with the naming of the 'write' function
This commit is contained in:
@ -135,7 +135,7 @@ void Foam::functionObjects::fieldAverage::calcAverages()
|
||||
}
|
||||
|
||||
Log
|
||||
<< type() << " " << name() << " output:" << nl
|
||||
<< type() << " " << name() << " write:" << nl
|
||||
<< " Calculating averages" << nl;
|
||||
|
||||
addMeanSqrToPrime2Mean<scalar, scalar>();
|
||||
|
||||
@ -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)
|
||||
{
|
||||
|
||||
@ -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;
|
||||
}
|
||||
|
||||
@ -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);
|
||||
|
||||
@ -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_);
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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_);
|
||||
|
||||
|
||||
@ -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_);
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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_);
|
||||
|
||||
@ -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;
|
||||
|
||||
|
||||
@ -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;
|
||||
|
||||
@ -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())
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user