AdaptiveSimulatorTimer.hpp
Go to the documentation of this file.
Simulation timer for adaptive time stepping. Definition: AdaptiveSimulatorTimer.hpp:41 const double start_time_ Definition: AdaptiveSimulatorTimer.hpp:114 boost::posix_time::ptime startDateTime() const start date time of simulation int current_step_ Definition: AdaptiveSimulatorTimer.hpp:121 bool done() const bool lastStepFailed_ Definition: AdaptiveSimulatorTimer.hpp:124 AdaptiveSimulatorTimer(const SimulatorTimerInterface &timer, const double lastStepTaken, const double maxTimeStep=std::numeric_limits< double >::max()) constructor taking a simulator timer to determine start and end time double currentStepLength() const std::vector< double > steps_ Definition: AdaptiveSimulatorTimer.hpp:123 const int report_step_ Definition: AdaptiveSimulatorTimer.hpp:116 double minStepLength() const return min step length used so far int currentStepNum() const void provideTimeStepEstimate(const double dt_estimate) provide and estimate for new time step size double current_time_ Definition: AdaptiveSimulatorTimer.hpp:119 virtual std::unique_ptr< SimulatorTimerInterface > clone() const return copy of object void report(std::ostream &os) const report start and end time as well as used steps so far const double total_time_ Definition: AdaptiveSimulatorTimer.hpp:115 double totalTime() const double stepLengthTaken() const Previous step length. This is the length of the step that was taken to arrive at this time. std::shared_ptr< boost::posix_time::ptime > start_date_time_ Definition: AdaptiveSimulatorTimer.hpp:113 void advance() advance time by currentStepLength Definition: AdaptiveSimulatorTimer.hpp:55 double simulationTimeElapsed() const void setCurrentStepLength(double dt) bool lastStepFailed() const Return true if last time step failed. Definition: AdaptiveSimulatorTimer.hpp:104 double averageStepLength() const return average step length used so far const double max_time_step_ Definition: AdaptiveSimulatorTimer.hpp:117 double maxStepLength() const return max step length used so far AdaptiveSimulatorTimer & operator++() advance time by currentStepLength void setLastStepFailed(bool lastStepFailed) tell the timestepper whether timestep failed or not Definition: AdaptiveSimulatorTimer.hpp:107 Interface class for SimulatorTimer objects, to be improved. Definition: SimulatorTimerInterface.hpp:34 Definition: blackoilboundaryratevector.hh:37 |