Skip to content
Snippets Groups Projects
Commit e6ddde73 authored by Andrew Heather's avatar Andrew Heather
Browse files

ENH: solutionControl - made dict() function virtual

parent 922c3c57
Branches
Tags
No related merge requests found
......@@ -279,4 +279,12 @@ Foam::solutionControl::solutionControl(fvMesh& mesh, const word& algorithmName)
{}
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
const Foam::dictionary Foam::solutionControl::dict() const
{
return mesh_.solutionDict().subOrEmptyDict(algorithmName_);
}
// ************************************************************************* //
......@@ -205,7 +205,7 @@ public:
// Access
//- Return the solution dictionary
inline const dictionary dict() const;
virtual const dictionary dict() const;
//- Current corrector loop index
inline label corr() const;
......
......@@ -27,12 +27,6 @@ License
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
inline const Foam::dictionary Foam::solutionControl::dict() const
{
return mesh_.solutionDict().subOrEmptyDict(algorithmName_);
}
inline Foam::label Foam::solutionControl::corr() const
{
return corr_;
......
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