mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
fvMeshFunctionObject: Rename 'write' -> 'writeField' to avoid clash with base-class
This commit is contained in:
@ -40,7 +40,10 @@ namespace functionObjects
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * //
|
// * * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * //
|
||||||
|
|
||||||
bool Foam::functionObjects::fvMeshFunctionObject::write(const word& fieldName)
|
bool Foam::functionObjects::fvMeshFunctionObject::writeField
|
||||||
|
(
|
||||||
|
const word& fieldName
|
||||||
|
)
|
||||||
{
|
{
|
||||||
if (mesh_.foundObject<regIOobject>(fieldName))
|
if (mesh_.foundObject<regIOobject>(fieldName))
|
||||||
{
|
{
|
||||||
|
|||||||
@ -93,7 +93,7 @@ protected:
|
|||||||
);
|
);
|
||||||
|
|
||||||
//- Write field if present in objectRegistry
|
//- Write field if present in objectRegistry
|
||||||
virtual bool write(const word& fieldName);
|
bool writeField(const word& fieldName);
|
||||||
|
|
||||||
|
|
||||||
private:
|
private:
|
||||||
|
|||||||
@ -121,7 +121,7 @@ bool Foam::functionObjects::fieldCoordinateSystemTransform::write
|
|||||||
{
|
{
|
||||||
forAll(fieldSet_, fieldi)
|
forAll(fieldSet_, fieldi)
|
||||||
{
|
{
|
||||||
fvMeshFunctionObject::write(transformFieldName(fieldSet_[fieldi]));
|
fvMeshFunctionObject::writeField(transformFieldName(fieldSet_[fieldi]));
|
||||||
}
|
}
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
|||||||
@ -81,7 +81,7 @@ bool Foam::functionObjects::fieldExpression::read(const dictionary& dict)
|
|||||||
|
|
||||||
bool Foam::functionObjects::fieldExpression::write(const bool postProcess)
|
bool Foam::functionObjects::fieldExpression::write(const bool postProcess)
|
||||||
{
|
{
|
||||||
return fvMeshFunctionObject::write(resultName_);
|
return fvMeshFunctionObject::writeField(resultName_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user