|
SimulatorTimer.hpp
Go to the documentation of this file.
Interface class for SimulatorTimer objects, to be improved. Definition: SimulatorTimerInterface.hpp:34 virtual time_t currentPosixTime() const virtual boost::posix_time::ptime currentDateTime() const Return the current time as a posix time object. Definition: SimulatorTimer.hpp:38 void setTotalTime(double time) bool lastStepFailed() const override Definition: SimulatorTimer.hpp:116 static SimulatorTimer serializationTestObject() boost::posix_time::ptime startDateTime() const override Return start date of simulation. void serializeOp(Serializer &serializer) Definition: SimulatorTimer.hpp:122 double currentStepLength() const override bool initialStep() const override Whether the current step is the first step. void advance() override advance time by currentStepLength Definition: SimulatorTimer.hpp:109 std::unique_ptr< SimulatorTimerInterface > clone() const override return copy of object void report(std::ostream &os) const double simulationTimeElapsed() const override int currentStepNum() const override double stepLengthTaken() const override void init(const Schedule &schedule, std::size_t report_step=0, int end_step=-1) bool done() const override Return true if op++() has been called numSteps() times. bool operator==(const SimulatorTimer &rhs) const Definition: blackoilbioeffectsmodules.hh:45 |