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) ...@@ -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: ...@@ -205,7 +205,7 @@ public:
// Access // Access
//- Return the solution dictionary //- Return the solution dictionary
inline const dictionary dict() const; virtual const dictionary dict() const;
//- Current corrector loop index //- Current corrector loop index
inline label corr() const; inline label corr() const;
......
...@@ -27,12 +27,6 @@ License ...@@ -27,12 +27,6 @@ License
// * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * // // * * * * * * * * * * * * * * * Member Functions * * * * * * * * * * * * * //
inline const Foam::dictionary Foam::solutionControl::dict() const
{
return mesh_.solutionDict().subOrEmptyDict(algorithmName_);
}
inline Foam::label Foam::solutionControl::corr() const inline Foam::label Foam::solutionControl::corr() const
{ {
return corr_; 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