mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
In particular, split the 'static' aquifer object initialisation of member function 'init()' into a new helper function initializeStaticAquifers() This is in preparation of adding a similar function to handle dynamic aquifer object initialisation from a restart file. To that end, also add a new member function createDynamicAquifers(episode_index) containing the current implementation of beginEpisode(). Creating the dynamic objects from a restart file then amounts to calling this function with a different 'episode_index'. As another aid to maintainability, add a new templated member function createAnalyticAquiferPointer() which forms 'unique_ptr<AquiferInterface>' objects for every known type of analytic aquifer. This, in turn, requires reordering the parameters of the AquiferConstantFlux constructor to match those of the existing Fetkovich and Carter-Tracy types. Finally, split the calculation of the constant flux aquifer's total flux rate out to a new helper function AquiferConstantFlux::totalFluxRate() |
||
---|---|---|
.. | ||
AquiferAnalytical.hpp | ||
AquiferCarterTracy.hpp | ||
AquiferConstantFlux.hpp | ||
AquiferFetkovich.hpp | ||
AquiferInterface.hpp | ||
AquiferNumerical.hpp | ||
BlackoilAquiferModel_impl.hpp | ||
BlackoilAquiferModel.hpp |