mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Chaning to new TUNING semantics (opm-common pr3522)
This commit is contained in:
parent
029e3c8616
commit
65f73f5462
@ -1708,11 +1708,9 @@ namespace Opm {
|
|||||||
|
|
||||||
|
|
||||||
void updateTUNING(const Tuning& tuning) {
|
void updateTUNING(const Tuning& tuning) {
|
||||||
if (tuning.XXXMBE_has_nondefault_value) {
|
param_.tolerance_mb_ = tuning.XXXMBE;
|
||||||
param_.tolerance_mb_ = tuning.XXXMBE;
|
if ( terminal_output_ ) {
|
||||||
if ( terminal_output_ ) {
|
OpmLog::debug(fmt::format("Setting BlackoilModelEbos mass balance limit (XXXMBE) to {:.2e}", tuning.XXXMBE));
|
||||||
OpmLog::debug(fmt::format("Setting BlackoilModelEbos mass balance limit (XXXMBE) to {:.2e}", tuning.XXXMBE));
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -322,11 +322,9 @@ public:
|
|||||||
}
|
}
|
||||||
|
|
||||||
void updateTUNING(const Tuning& tuning) {
|
void updateTUNING(const Tuning& tuning) {
|
||||||
if (tuning.XXXMBE_has_nondefault_value) {
|
modelParam_.tolerance_mb_ = tuning.XXXMBE;
|
||||||
modelParam_.tolerance_mb_ = tuning.XXXMBE;
|
if (terminalOutput_) {
|
||||||
if (terminalOutput_) {
|
|
||||||
OpmLog::debug(fmt::format("Setting SimulatorFullyImplicitBlackoilEbos mass balance limit (XXXMBE) to {:.2e}", tuning.XXXMBE));
|
OpmLog::debug(fmt::format("Setting SimulatorFullyImplicitBlackoilEbos mass balance limit (XXXMBE) to {:.2e}", tuning.XXXMBE));
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user