Commit 15773bf1 authored by Henry Weller's avatar Henry Weller
Browse files

fvMeshFunctionObject: Rename 'write' -> 'writeField' to avoid clash with base-class

parent d474c97c
......@@ -40,7 +40,10 @@ namespace functionObjects
// * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * //
bool Foam::functionObjects::fvMeshFunctionObject::write(const word& fieldName)
bool Foam::functionObjects::fvMeshFunctionObject::writeField
(
const word& fieldName
)
{
if (mesh_.foundObject<regIOobject>(fieldName))
{
......
......@@ -93,7 +93,7 @@ protected:
);
//- Write field if present in objectRegistry
virtual bool write(const word& fieldName);
bool writeField(const word& fieldName);
private:
......
......@@ -121,7 +121,7 @@ bool Foam::functionObjects::fieldCoordinateSystemTransform::write
{
forAll(fieldSet_, fieldi)
{
fvMeshFunctionObject::write(transformFieldName(fieldSet_[fieldi]));
fvMeshFunctionObject::writeField(transformFieldName(fieldSet_[fieldi]));
}
return true;
......
......@@ -81,7 +81,7 @@ bool Foam::functionObjects::fieldExpression::read(const dictionary& dict)
bool Foam::functionObjects::fieldExpression::write(const bool postProcess)
{
return fvMeshFunctionObject::write(resultName_);
return fvMeshFunctionObject::writeField(resultName_);
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment