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,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,
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user