mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Match init order to member order.
In a constructor initialisation list, the order should be the same as the order in which the variables actually are initialised, which is given by the order they are declared in the class and not by the order in the initialisation list.
This commit is contained in:
parent
a7f177e35e
commit
42464cbcb7
@ -44,8 +44,8 @@ namespace Opm {
|
||||
, solver_restart_max_( param.getDefault("solver.restart", int(10) ) )
|
||||
, solver_verbose_( param.getDefault("solver.verbose", bool(true) ) )
|
||||
, timestep_verbose_( param.getDefault("timestep.verbose", bool(true) ) )
|
||||
, full_timestep_initially_( param.getDefault("full_timestep_initially", bool(false) ) )
|
||||
, last_timestep_( -1.0 )
|
||||
, full_timestep_initially_( param.getDefault("full_timestep_initially", bool(false) ) )
|
||||
{
|
||||
// valid are "pid" and "pid+iteration"
|
||||
std::string control = param.getDefault("timestep.control", std::string("pid+iteration") );
|
||||
|
Loading…
Reference in New Issue
Block a user