mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-12-01 05:19:09 -06:00
make sub stepping a parameter.
This commit is contained in:
parent
2602ae7baf
commit
d3bc836536
@ -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 )
|
||||
{
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user