27#ifndef OPM_BASE_AQUIFER_MODEL_HPP
28#define OPM_BASE_AQUIFER_MODEL_HPP
34#include <opm/output/data/Aquifer.hpp>
48template <
class TypeTag>
56 : simulator_(simulator)
77 throw std::logic_error {
78 "Initialization from restart data not supported "
79 "for base aquifer model"
104 template <
class Context>
147 template <
class Restarter>
155 template <
class Restarter>
159 data::Aquifers aquiferData()
const
160 {
return data::Aquifers{}; }
163 Simulator& simulator_;
Defines a type tags and some fundamental properties all models.
The base class which specifies the API of aquifer models.
Definition BaseAquiferModel.hpp:50
void endEpisode()
This method is called once an episode (report step) has been finished successfully.
Definition BaseAquiferModel.hpp:140
void serialize(Restarter &)
Write the internal state of the aquifer model to disk using an ad-hoc file format.
Definition BaseAquiferModel.hpp:148
void beginEpisode()
This method is called when a new episode (report step) starts.
Definition BaseAquiferModel.hpp:86
void beginIteration()
This method is called before each Newton-Raphson iteration.
Definition BaseAquiferModel.hpp:98
void addToSource(RateVector &, const Context &, unsigned, unsigned) const
Add the water which enters or leaves the reservoir due to aquifiers.
Definition BaseAquiferModel.hpp:105
void initialSolutionApplied()
Called once the problem has been fully initialized and the initial condition has been applied.
Definition BaseAquiferModel.hpp:63
void beginTimeStep()
This method is called when a new time step (substep) starts.
Definition BaseAquiferModel.hpp:92
void endTimeStep()
This method is called after each successful time step (substep).
Definition BaseAquiferModel.hpp:133
void endIteration()
This method is called after each Newton-Raphson successful iteration.
Definition BaseAquiferModel.hpp:124
void initFromRestart(const data::Aquifers &)
Called if aquifers are being initialized from values retrieved from a restart file.
Definition BaseAquiferModel.hpp:75
void deserialize(Restarter &)
Load the internal state of the aquifer model to disk using an ad-hoc file format.
Definition BaseAquiferModel.hpp:156
Declare the properties used by the infrastructure code of the finite volume discretizations.
This file contains a set of helper functions used by VFPProd / VFPInj.
Definition blackoilboundaryratevector.hh:37
typename Properties::Detail::GetPropImpl< TypeTag, Property >::type::type GetPropType
get the type alias defined in the property (equivalent to old macro GET_PROP_TYPE(....
Definition propertysystem.hh:235
The Opm property system, traits with inheritance.