fixed: no reason to calculate this inside the loop

This commit is contained in:
Arne Morten Kvarving 2020-12-15 09:07:49 +01:00
parent 86d7666e5c
commit 5f844bc3a4

View File

@ -64,8 +64,8 @@ public:
{
for (const auto& q : this->Qai_) {
this->W_flux_ += q * this->ebos_simulator_.timeStepSize();
aquifer_pressure_ = aquiferPressure();
}
aquifer_pressure_ = aquiferPressure();
}
Opm::data::AquiferData aquiferData() const