Avoid switching to thp control if it results in higher rates

This commit is contained in:
Tor Harald Sandve
2022-02-23 11:11:11 +01:00
parent f550d08122
commit f4d81e33f1
4 changed files with 60 additions and 15 deletions

View File

@@ -262,6 +262,8 @@ protected:
bool solvable = true;
// the well have non positive potentials
bool has_negative_potentials = false;
//thp limit violated but not switched
mutable bool thp_limit_violated_but_not_switched = false;
};
OperabilityStatus operability_status_;