ENH: added timeFunctionObject virtual class in inheritance hierarchy

- simply a functionObject with an additional Time reference, which is
  a combination frequently used by concrete functionObjects
This commit is contained in:
Mark Olesen
2019-01-25 08:56:21 +01:00
parent 8433ddee0e
commit ad7f29466a
27 changed files with 225 additions and 178 deletions

View File

@ -48,14 +48,14 @@ SourceFiles
namespace Foam
{
// Forward declaration of classes
// Forward declarations
class objectRegistry;
namespace functionObjects
{
/*---------------------------------------------------------------------------*\
Class regionFunctionObject Declaration
Class functionObjects::regionFunctionObject Declaration
\*---------------------------------------------------------------------------*/
class regionFunctionObject
@ -65,7 +65,7 @@ class regionFunctionObject
protected:
// Protected member data
// Protected Member Data
//- Reference to the region objectRegistry
const objectRegistry& obr_;
@ -76,7 +76,7 @@ protected:
const objectRegistry& subObr_;
// Protected member functions
// Protected Member Functions
//- Selector for alternative sub-registry,
// when the keyword %subRegion is present in the dictionary
@ -148,10 +148,6 @@ protected:
bool clearObject(const word& fieldName);
private:
// Private Member Functions
//- No copy construct
regionFunctionObject(const regionFunctionObject&) = delete;