make sub stepping a parameter.

This commit is contained in:
Robert K 2014-10-01 16:36:38 +02:00
parent 2602ae7baf
commit d3bc836536

View File

@ -296,6 +296,8 @@ namespace Opm
typename FullyImplicitBlackoilSolver<T>::SolverParameter solverParam( param_ );
const bool subStepping = param_.getDefault("substepping", bool(false) );
// Main simulation loop.
while (!timer.done()) {
// Report timestep.
@ -351,7 +353,6 @@ namespace Opm
solver.setThresholdPressures(threshold_pressures_by_face_);
}
const bool subStepping = true;
if( subStepping )
{