mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: solutionControl - made dict() function virtual
This commit is contained in:
@ -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
|
// 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
|
|||||||
|
|
||||||
// * * * * * * * * * * * * * * * 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_;
|
||||||
|
|||||||
Reference in New Issue
Block a user