mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Added initialStep to SimulatorTimerInterface
This commit is contained in:
@@ -51,7 +51,12 @@ namespace Opm
|
||||
provideTimeStepEstimate( lastStepTaken );
|
||||
}
|
||||
|
||||
AdaptiveSimulatorTimer& AdaptiveSimulatorTimer::operator++ ()
|
||||
bool AdaptiveSimulatorTimer::initialStep () const
|
||||
{
|
||||
return ( report_step_ == 0 ) && ( current_step_ == 0 );
|
||||
}
|
||||
|
||||
AdaptiveSimulatorTimer& AdaptiveSimulatorTimer::operator++ ()
|
||||
{
|
||||
++current_step_;
|
||||
current_time_ += dt_;
|
||||
|
||||
Reference in New Issue
Block a user