mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
use -1 as defult min-strict-iter
This commit is contained in:
parent
0e01d99741
commit
d7331ca3ae
@ -925,7 +925,7 @@ namespace Opm {
|
||||
// We also use relaxed tolerances for cells with total poro volume less than relaxed_max_pv_fraction_
|
||||
// Default value of relaxed_max_pv_fraction_ is 0.03
|
||||
const bool relax_final_iteration_cnv = (param_.min_strict_cnv_iter_ < 0) && (iteration == maxIter);
|
||||
const bool relax_iter_cnv = param_.min_strict_mb_iter_ >= 0 && iteration >= param_.min_strict_mb_iter_;
|
||||
const bool relax_iter_cnv = param_.min_strict_cnv_iter_ >= 0 && iteration >= param_.min_strict_cnv_iter_;
|
||||
const bool relax_pv_fraction_cnv = cnvErrorPvFraction < param_.relaxed_max_pv_fraction_;
|
||||
const bool use_relaxed_cnv = relax_final_iteration_cnv || relax_pv_fraction_cnv || relax_iter_cnv;
|
||||
|
||||
|
@ -283,7 +283,7 @@ struct MaxSinglePrecisionDays<TypeTag, Properties::TTag::FlowModelParameters>
|
||||
|
||||
template<class TypeTag>
|
||||
struct MinStrictCnvIter<TypeTag, Properties::TTag::FlowModelParameters>
|
||||
{ static constexpr int value = 0; };
|
||||
{ static constexpr int value = -1; };
|
||||
|
||||
template<class TypeTag>
|
||||
struct MinStrictMbIter<TypeTag, Properties::TTag::FlowModelParameters>
|
||||
|
Loading…
Reference in New Issue
Block a user