mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
fixed: drs without matrix-add-well-contributions
This commit is contained in:
parent
e05e5e4f0e
commit
41ff0da2b4
@ -253,6 +253,10 @@ protected:
|
||||
parameters_.cpr_use_drs_ = false;
|
||||
}
|
||||
} else {
|
||||
if (parameters_.use_cpr_ && parameters_.cpr_use_drs_) {
|
||||
OpmLog::warning("DRS_DISABLE", "Disabling DRS as matrix does not contain well contributions");
|
||||
}
|
||||
parameters_.cpr_use_drs_ = false;
|
||||
if (parameters_.scale_linear_system_) {
|
||||
// also scale weights
|
||||
this->scaleEquationsAndVariables(weights_);
|
||||
|
Loading…
Reference in New Issue
Block a user