mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Make it possible to set initial timestep
Default is kept at -1.0. I.e. this PR does not change the current behaviour.
This commit is contained in:
parent
08b7db6c7f
commit
a083f46d44
@ -104,7 +104,7 @@ namespace Opm {
|
|||||||
, solver_restart_max_( param.getDefault("solver.restart", int(10) ) )
|
, solver_restart_max_( param.getDefault("solver.restart", int(10) ) )
|
||||||
, solver_verbose_( param.getDefault("solver.verbose", bool(true) ) && terminal_output )
|
, solver_verbose_( param.getDefault("solver.verbose", bool(true) ) && terminal_output )
|
||||||
, timestep_verbose_( param.getDefault("timestep.verbose", bool(true) ) && terminal_output )
|
, timestep_verbose_( param.getDefault("timestep.verbose", bool(true) ) && terminal_output )
|
||||||
, suggested_next_timestep_( -1.0 )
|
, suggested_next_timestep_( unit::convert::from(param.getDefault("timestep.initial_timestep_in_days", -1.0 ), unit::day) )
|
||||||
, full_timestep_initially_( param.getDefault("full_timestep_initially", bool(false) ) )
|
, full_timestep_initially_( param.getDefault("full_timestep_initially", bool(false) ) )
|
||||||
{
|
{
|
||||||
init(param);
|
init(param);
|
||||||
|
Loading…
Reference in New Issue
Block a user