Chaning to new TUNING semantics (opm-common pr3522)

This commit is contained in:
Vegard Kippe 2023-05-12 13:09:32 +02:00
parent 029e3c8616
commit 65f73f5462
2 changed files with 5 additions and 9 deletions

View File

@ -1708,13 +1708,11 @@ namespace Opm {
void updateTUNING(const Tuning& tuning) {
if (tuning.XXXMBE_has_nondefault_value) {
param_.tolerance_mb_ = tuning.XXXMBE;
if ( terminal_output_ ) {
OpmLog::debug(fmt::format("Setting BlackoilModelEbos mass balance limit (XXXMBE) to {:.2e}", tuning.XXXMBE));
}
}
}
ConvergenceReport getReservoirConvergence(const double reportTime,

View File

@ -322,13 +322,11 @@ public:
}
void updateTUNING(const Tuning& tuning) {
if (tuning.XXXMBE_has_nondefault_value) {
modelParam_.tolerance_mb_ = tuning.XXXMBE;
if (terminalOutput_) {
OpmLog::debug(fmt::format("Setting SimulatorFullyImplicitBlackoilEbos mass balance limit (XXXMBE) to {:.2e}", tuning.XXXMBE));
}
}
}
bool runStep(SimulatorTimer& timer)
{