mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
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:
@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user