Revert som changes in default values

Make sure flow in Frankenstein and flow in master uses the same default
values
This commit is contained in:
Tor Harald Sandve
2016-11-16 15:09:54 +01:00
parent 38c4eeb667
commit b66bb27a65
2 changed files with 2 additions and 2 deletions

View File

@@ -59,7 +59,7 @@ namespace Opm
void BlackoilModelParameters::reset()
{
// default values for the solver parameters
dp_max_rel_ = 1.0;
dp_max_rel_ = 1.0e9;
ds_max_ = 0.2;
dr_max_rel_ = 1.0e9;
max_residual_allowed_ = 1e7;

View File

@@ -248,7 +248,7 @@ namespace Opm
stagnate = (stagnate && !(std::abs((F1[p] - F2[p]) / F2[p]) > 1.0e-3));
}
oscillate = (oscillatePhase > 0);
oscillate = (oscillatePhase > 1);
}