mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
ENH: timeControl - extended use of time and triggers
This commit is contained in:
@ -75,6 +75,25 @@ class timeControl
|
||||
:
|
||||
public functionObject
|
||||
{
|
||||
public:
|
||||
|
||||
|
||||
// Public enumerations
|
||||
|
||||
//- Control mode
|
||||
enum class controlMode
|
||||
{
|
||||
TIME,
|
||||
TRIGGER,
|
||||
TIME_OR_TRIGGER,
|
||||
TIME_AND_TRIGGER
|
||||
};
|
||||
|
||||
static const Enum<controlMode> controlModeNames_;
|
||||
|
||||
|
||||
private:
|
||||
|
||||
// Private data
|
||||
|
||||
//- Reference to the time database
|
||||
@ -86,6 +105,9 @@ class timeControl
|
||||
|
||||
// Optional user inputs
|
||||
|
||||
//- Control mode (combination of time/trigger behaviour)
|
||||
controlMode controlMode_;
|
||||
|
||||
//- Activation time - defaults to -VGREAT
|
||||
scalar timeStart_;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user