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:39 void setTotalTime(double time) bool lastStepFailed() const override Definition: SimulatorTimer.hpp:118 static SimulatorTimer serializationTestObject() boost::posix_time::ptime startDateTime() const override Return start date of simulation. void init(const Schedule &schedule, std::size_t report_step=0) Use the SimulatorTimer as a shim around opm-commons Schedule class. void serializeOp(Serializer &serializer) Definition: SimulatorTimer.hpp:124 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:111 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 bool done() const override Return true if op++() has been called numSteps() times. bool operator==(const SimulatorTimer &rhs) const void init(const ParameterGroup ¶m) Definition: blackoilboundaryratevector.hh:37 |