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
committed by Andrew Heather
parent 8f92fa016f
commit e2754962cc
19 changed files with 83 additions and 48 deletions

View File

@ -2,7 +2,7 @@
========= |
\\ / F ield | OpenFOAM: The Open Source CFD Toolbox
\\ / O peration |
\\ / A nd |
\\ / A nd | Copyright (C) 2019 OpenCFD Ltd.
\\/ M anipulation |
-------------------------------------------------------------------------------
| Copyright (C) 2011-2017 OpenFOAM Foundation
@ -185,7 +185,7 @@ bool Foam::functionObjects::codedFunctionObject::end()
bool Foam::functionObjects::codedFunctionObject::read(const dictionary& dict)
{
functionObject::read(dict);
timeFunctionObject::read(dict);
dict.readCompat<word>("name", {{"redirectType", 1706}}, name_);