AdaptiveSimulatorTimer.hpp
Go to the documentation of this file.
Definition: AnisotropicEikonal.hpp:43 const double total_time_ Definition: AdaptiveSimulatorTimer.hpp:99 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 simulationTimeElapsed() const void report(std::ostream &os) const report start and end time as well as used steps so far double maxStepLength() const return max step length used so far void provideTimeStepEstimate(const double dt_estimate) provide and estimate for new time step size const int report_step_ Definition: AdaptiveSimulatorTimer.hpp:100 boost::posix_time::ptime startDateTime() const start date time of simulation double stepLengthTaken() const Previous step length. This is the length of the step that was taken to arrive at this time... Simulation timer for adaptive time stepping. Definition: AdaptiveSimulatorTimer.hpp:39 double totalTime() const int currentStepNum() const double currentStepLength() const double averageStepLength() const return average step length used so far double current_time_ Definition: AdaptiveSimulatorTimer.hpp:103 AdaptiveSimulatorTimer & operator++() advance time by currentStepLength Interface class for SimulatorTimer objects, to be improved. Definition: SimulatorTimerInterface.hpp:33 const boost::posix_time::ptime start_date_time_ Definition: AdaptiveSimulatorTimer.hpp:97 double minStepLength() const return min step length used so far int current_step_ Definition: AdaptiveSimulatorTimer.hpp:105 void advance() advance time by currentStepLength Definition: AdaptiveSimulatorTimer.hpp:54 const double start_time_ Definition: AdaptiveSimulatorTimer.hpp:98 bool done() const std::vector< double > steps_ Definition: AdaptiveSimulatorTimer.hpp:107 const double max_time_step_ Definition: AdaptiveSimulatorTimer.hpp:101 |