let AquiferConfig handle the AQUFLUX aquifer existence

for summary and restart file output.
This commit is contained in:
Kai Bao
2023-02-13 15:15:35 +01:00
parent 00ff5b41de
commit fceb3515b7
10 changed files with 33 additions and 52 deletions

View File

@@ -112,7 +112,7 @@ namespace Opm {
void reset_actnum(const std::vector<int>& new_actnum);
void pruneDeactivatedAquiferConnections(const std::vector<std::size_t>& deactivated_cells);
void loadRestartAquifers(const RestartIO::RstAquifer& aquifers);
// TODO: it is possible that the aquifer are open through SCHEDULE not in the SOLUTION section
// TODO: it is possible that the aquifer are opened through SCHEDULE and not specified in the SOLUTION section
// For the ease of the implementation, we create inactive aquifer in the AquiferConfig.
// At the moment, it only works for Constant Flux Aquifers(AQUFLUX) as indicated by the function name
// When we know and decide to handle the same for AQUFETP and AQUCT, this part will be refactored

View File

@@ -263,7 +263,6 @@ namespace Opm
const Well& getWellatEnd(const std::string& well_name) const;
// get the list of the constant flux aquifer through the whole schedule
std::vector<int> getAquiferFluxListEnd() const;
bool hasAquiferFlux(int id) const;
std::vector<Well> getWells(std::size_t timeStep) const;
std::vector<Well> getWellsatEnd() const;
void shut_well(const std::string& well_name, std::size_t report_step);