 |
Manual for OpenFLUID 2.1.11
|
Go to the documentation of this file.
40 #ifndef __OPENFLUID_BASE_SIMULATIONSTATUS_HPP__
41 #define __OPENFLUID_BASE_SIMULATIONSTATUS_HPP__
60 INITIALIZERUN, RUNSTEP, FINALIZERUN, POST, UNKNOWN };
78 SchedulingConstraint m_SchedConstraint;
80 SimulationStage m_CurrentStage;
90 const SchedulingConstraint& SConst = SCHED_NONE);
107 return m_CurrentDate;
112 return m_DefaultDeltaT;
122 return m_CurrentTimeIndex;
127 return m_SchedConstraint;
132 return m_CurrentTimeIndex == 0;
139 return m_CurrentStage;
142 std::string getCurrentStageAsString()
const;
144 void setCurrentStage(
const SimulationStage& Stage);
146 static std::string getStageAsString(
const SimulationStage& Stage);
#define OPENFLUID_API
Definition: dllexport.hpp:86
std::uint64_t TimeIndex_t
Definition: TypeDefs.hpp:298
openfluid::core::DateTime getBeginDate() const
Definition: SimulationStatus.hpp:95
SimulationStage
Definition: SimulationStatus.hpp:59
SchedulingConstraint
Definition: SimulationStatus.hpp:62
openfluid::core::Duration_t getSimulationDuration() const
Definition: SimulationStatus.hpp:115
openfluid::core::Duration_t getDefaultDeltaT() const
Definition: SimulationStatus.hpp:110
openfluid::core::DateTime getEndDate() const
Definition: SimulationStatus.hpp:100
openfluid::core::TimeIndex_t getCurrentTimeIndex() const
Definition: SimulationStatus.hpp:120
SimulationStage getCurrentStage() const
Definition: SimulationStatus.hpp:137
SchedulingConstraint getSchedulingConstraint() const
Definition: SimulationStatus.hpp:125
Definition: SimulationStatus.hpp:55
bool isFirstTimeIndex() const
Definition: SimulationStatus.hpp:130
Definition: ApplicationException.hpp:47
openfluid::core::DateTime getCurrentDate() const
Definition: SimulationStatus.hpp:105
std::uint64_t Duration_t
Definition: TypeDefs.hpp:312
Class for management of date and time information.
Definition: DateTime.hpp:87
~SimulationStatus()
Definition: SimulationStatus.hpp:92
Generated by
1.8.17