mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
getting numerical aquifer ready for summary output
it works well for some cases, while not the other one. More investigation is ongoing.
This commit is contained in:
@@ -49,6 +49,12 @@ BlackoilAquiferModel<TypeTag>::initialSolutionApplied()
|
||||
aquifer.initialSolutionApplied();
|
||||
}
|
||||
}
|
||||
|
||||
if (this->aquiferNumericalActive()) {
|
||||
for (auto& aquifer : this->aquifers_numerical) {
|
||||
aquifer.initialSolutionApplied();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
template <typename TypeTag>
|
||||
@@ -135,6 +141,11 @@ BlackoilAquiferModel<TypeTag>::endTimeStep()
|
||||
aquifer.endTimeStep();
|
||||
}
|
||||
}
|
||||
if (aquiferNumericalActive()) {
|
||||
for (auto& aquifer : this->aquifers_numerical) {
|
||||
aquifer.endTimeStep();
|
||||
}
|
||||
}
|
||||
}
|
||||
template <typename TypeTag>
|
||||
void
|
||||
@@ -185,7 +196,8 @@ BlackoilAquiferModel<TypeTag>::init()
|
||||
|
||||
if (aquifer.hasNumericalAquifer()) {
|
||||
for (const auto& elem : aquifer.numericalAquifers().aquifers()) {
|
||||
this->aquifers_numerical.emplace_back(elem.second);
|
||||
this->aquifers_numerical.emplace_back(elem.second,
|
||||
this->cartesian_to_compressed_, this->simulator_);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user