Skip to content
Snippets Groups Projects
Commit 2412f20f authored by andy's avatar andy
Browse files

ENH: derived solutionControl from IOobject so that it can be retrieved from the database

parent f1deb444
Branches
Tags
No related merge requests found
......@@ -165,6 +165,12 @@ void Foam::solutionControl::storePrevIterFields() const
Foam::solutionControl::solutionControl(fvMesh& mesh, const word& algorithmName)
:
IOobject
(
"solutionControl",
mesh_.time().timeName(),
mesh_
),
mesh_(mesh),
residualControl_(),
algorithmName_(algorithmName),
......
......@@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd | Copyright (C) 2011 OpenFOAM Foundation
\\ / A nd | Copyright (C) 2011-2012 OpenFOAM Foundation
\\/ M anipulation |
-------------------------------------------------------------------------------
License
......@@ -44,6 +44,8 @@ namespace Foam
\*---------------------------------------------------------------------------*/
class solutionControl
:
public IOobject
{
public:
......
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