functionObjects::fieldExpression: removed unnecessary read function

this ensures the underlying fvMeshFunctionObject::read is called
This commit is contained in:
Henry Weller
2022-07-05 17:04:17 +01:00
parent 51eed621b7
commit 017575174b
2 changed files with 2 additions and 11 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2016-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2016-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -69,12 +69,6 @@ Foam::functionObjects::fieldExpression::~fieldExpression()
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
bool Foam::functionObjects::fieldExpression::read(const dictionary& dict)
{
return true;
}
Foam::wordList Foam::functionObjects::fieldExpression::fields() const
{
return wordList(fieldName_);

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration | Website: https://openfoam.org
\\ / A nd | Copyright (C) 2012-2021 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2012-2022 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
@ -98,9 +98,6 @@ public:
// Member Functions
//- Read the fieldExpression data
virtual bool read(const dictionary&);
//- Return the field required
virtual wordList fields() const;