20 #ifndef GEOS_EVENTS_PERIODICEVENT_HPP_ 
   21 #define GEOS_EVENTS_PERIODICEVENT_HPP_ 
   39                  Group * 
const parent );
 
  103                         real64 const eventProgress,
 
  117     static constexpr 
char const * timeFrequencyString() { 
return "timeFrequency"; }
 
  118     static constexpr 
char const * cycleFrequencyString() { 
return "cycleFrequency"; }
 
  119     static constexpr 
char const * targetExactTimestepString() { 
return "targetExactTimestep"; }
 
  120     static constexpr 
char const * functionNameString() { 
return "function"; }
 
  121     static constexpr 
char const * functionInputObjectString() { 
return "object"; }
 
  122     static constexpr 
char const * functionInputSetnameString() { 
return "set"; }
 
  123     static constexpr 
char const * functionSetNamesString() { 
return "setNames"; }
 
  124     static constexpr 
char const * functionStatOptionString() { 
return "stat"; }
 
  125     static constexpr 
char const * eventThresholdString() { 
return "threshold"; }
 
  136   } periodicEventViewKeys;
 
Partition of the decomposed physical domain. It also manages the connexion information to its neighbo...
 
virtual ~PeriodicEvent() override
Destructor.
 
void checkOptionalFunctionThreshold(real64 const time, real64 const dt, integer const cycle, DomainPartition &domain)
Determine if an optional function f should be called, and call it if so.
 
string m_functionInputObject
The name of the optional function input object.
 
virtual real64 getEventTypeDtRequest(real64 const time) override
Get event-specifit dt requests.
 
integer m_targetExactTimestep
Whether to target the exact timestep.
 
dataRepository::Group * m_functionTarget
A pointer to an optional function.
 
real64 m_timeFrequency
The event time frequency.
 
virtual void validate() const override
Helper function to validate the consistency of the event input.
 
real64 m_eventThreshold
The event threshold.
 
static string catalogName()
Catalog name interface.
 
virtual void estimateEventTiming(real64 const time, real64 const dt, integer const cycle, DomainPartition &domain) override
Perform the calculations to estimate the timing of the event.
 
string m_functionInputSetname
The name of the optional function input set.
 
virtual void cleanup(real64 const time_n, integer const cycleNumber, integer const eventCounter, real64 const eventProgress, DomainPartition &domain) override
Called as the code exits the main run loop.
 
integer m_functionStatOption
The optional funciton's statistic option.
 
integer m_cycleFrequency
The event cycle frequency.
 
string m_functionName
The optional function's name.
 
PeriodicEvent(const string &name, Group *const parent)
Constructor.
 
Group::wrapperMap::KeyIndex ViewKey
Type alias for KeyIndexT type used for wrapper lookups.
 
double real64
64-bit floating point type.
 
int integer
Signed integer type.
 
Structure to hold scoped key names.