mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
the adaptive time stepping utility classes.
This commit is contained in:
@@ -57,12 +57,13 @@ namespace Opm
|
||||
}
|
||||
|
||||
/// \brief advance time by currentStepLength
|
||||
void advance()
|
||||
AdaptiveSimulatorTimer& operator++ ()
|
||||
{
|
||||
++current_step_;
|
||||
current_time_ += dt_;
|
||||
// store used time step sizes
|
||||
steps_.push_back( dt_ );
|
||||
return *this;
|
||||
}
|
||||
|
||||
/// \brief provide and estimate for new time step size
|
||||
|
||||
Reference in New Issue
Block a user