fvMeshFunctionObject: Rename 'write' -> 'writeField' to avoid clash with base-class
This commit is contained in:
parent
2d1573d2ed
commit
2ff102c5db
4 changed files with 7 additions and 4 deletions
|
|
@ -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_);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue