mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-25 18:50:19 -06:00
stick to previous method of parameter extraction. grouping is not what we wanted here.
This commit is contained in:
parent
2a7f951e25
commit
05608a6145
@ -299,10 +299,9 @@ namespace Opm
|
||||
|
||||
// adaptive time stepping
|
||||
std::unique_ptr< AdaptiveTimeStepping > adaptiveTimeStepping;
|
||||
const parameter::ParameterGroup& timeStepParam = param_.getDefault( "timestep", param_ );
|
||||
if( timeStepParam.getDefault("adaptive", bool(false) ) )
|
||||
if( param_.getDefault("timestep.adaptive", bool(false) ) )
|
||||
{
|
||||
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( timeStepParam ) );
|
||||
adaptiveTimeStepping.reset( new AdaptiveTimeStepping( param_ ) );
|
||||
}
|
||||
|
||||
// Main simulation loop.
|
||||
|
Loading…
Reference in New Issue
Block a user