mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Small fixes hardcodedTimestepControl
-- avoid using eof() -- add comments -- no longer assumes two lines of comments. -- revert change to default value for timestep.initial_step_length -- make contructer explicit -- pass reference
This commit is contained in:
@@ -72,7 +72,7 @@ namespace Opm {
|
||||
, solver_restart_max_( param.getDefault("solver.restart", int(10) ) )
|
||||
, solver_verbose_( param.getDefault("solver.verbose", bool(true) ) && terminal_output )
|
||||
, timestep_verbose_( param.getDefault("timestep.verbose", bool(true) ) && terminal_output )
|
||||
, suggested_next_timestep_( unit::convert::from(param.getDefault("timestep.initial_step_length", double(1.0) ), unit::day) )
|
||||
, suggested_next_timestep_( -1.0 )
|
||||
, full_timestep_initially_( param.getDefault("full_timestep_initially", bool(false) ) )
|
||||
{
|
||||
// valid are "pid" and "pid+iteration"
|
||||
|
||||
Reference in New Issue
Block a user