mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
Remove check for active wells for drift compensation
This commit is contained in:
parent
d13f217bd5
commit
8fe55dba4e
@ -1543,9 +1543,7 @@ public:
|
|||||||
|
|
||||||
// if requested, compensate systematic mass loss for cells which were "well
|
// if requested, compensate systematic mass loss for cells which were "well
|
||||||
// behaved" in the last time step
|
// behaved" in the last time step
|
||||||
// Note that we don't allow for drift compensation if there are no active wells.
|
if (enableDriftCompensation_) {
|
||||||
const bool compensateDrift = wellModel_.wellsActive();
|
|
||||||
if (enableDriftCompensation_ && compensateDrift) {
|
|
||||||
const auto& simulator = this->simulator();
|
const auto& simulator = this->simulator();
|
||||||
const auto& model = this->model();
|
const auto& model = this->model();
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user