ENH: add remove objects handling in timeFunctionObject and regionFunctionObject

- makes it easier to implement functionObject or field object removal
This commit is contained in:
Mark Olesen
2019-02-08 17:47:45 +01:00
parent 42f1470bb4
commit 7c21f42b6d
19 changed files with 83 additions and 48 deletions

View File

@ -28,9 +28,12 @@ License
#include "stateFunctionObject.H"
#include "Time.H"
// * * * * * * * * * * * * * * Static Data Members * * * * * * * * * * * * * //
const Foam::word Foam::functionObjects::stateFunctionObject::resultsName_ =
"results";
// * * * * * * * * * * * * Protected Member Functions * * * * * * * * * * * //
const Foam::IOdictionary&

View File

@ -61,17 +61,14 @@ namespace functionObjects
{
/*---------------------------------------------------------------------------*\
Class functionObjects::stateFunctionObject Declaration
Class stateFunctionObject Declaration
\*---------------------------------------------------------------------------*/
class stateFunctionObject
:
public functionObjects::timeFunctionObject
{
private:
// Private member data
// Private Member Data
//- Name of the results dictionary
static const word resultsName_;