Opm::BlackoilAquiferModel< TypeTag > Class Template Reference

Class for handling the blackoil aquifer model. More...

#include <BlackoilAquiferModel.hpp>

Public Member Functions

 BlackoilAquiferModel (Simulator &simulator)
 
void initialSolutionApplied ()
 
void initFromRestart (const data::Aquifers &aquiferSoln)
 
void beginEpisode ()
 
void beginTimeStep ()
 
void beginIteration ()
 
template<class Context >
void addToSource (RateVector &rates, const Context &context, unsigned spaceIdx, unsigned timeIdx) const
 
void addToSource (RateVector &rates, unsigned globalSpaceIdx, unsigned timeIdx) const
 
void endIteration ()
 
void endTimeStep ()
 
void endEpisode ()
 
data::Aquifers aquiferData () const
 
template<class Restarter >
void serialize (Restarter &res)
 
template<class Restarter >
void deserialize (Restarter &res)
 
template<class Serializer >
void serializeOp (Serializer &serializer)
 

Protected Types

using ElementContext = GetPropType< TypeTag, Properties::ElementContext >
 
using Scalar = GetPropType< TypeTag, Properties::Scalar >
 

Protected Member Functions

void init ()
 

Protected Attributes

Simulator & simulator_
 
std::vector< std::unique_ptr< AquiferInterface< TypeTag > > > aquifers
 

Detailed Description

template<typename TypeTag>
class Opm::BlackoilAquiferModel< TypeTag >

Class for handling the blackoil aquifer model.

Member Typedef Documentation

◆ ElementContext

template<typename TypeTag >
using Opm::BlackoilAquiferModel< TypeTag >::ElementContext = GetPropType<TypeTag, Properties::ElementContext>
protected

◆ Scalar

template<typename TypeTag >
using Opm::BlackoilAquiferModel< TypeTag >::Scalar = GetPropType<TypeTag, Properties::Scalar>
protected

Constructor & Destructor Documentation

◆ BlackoilAquiferModel()

template<typename TypeTag >
Opm::BlackoilAquiferModel< TypeTag >::BlackoilAquiferModel ( Simulator &  simulator)
explicit

Member Function Documentation

◆ addToSource() [1/2]

template<typename TypeTag >
template<class Context >
void Opm::BlackoilAquiferModel< TypeTag >::addToSource ( RateVector &  rates,
const Context &  context,
unsigned  spaceIdx,
unsigned  timeIdx 
) const

◆ addToSource() [2/2]

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::addToSource ( RateVector &  rates,
unsigned  globalSpaceIdx,
unsigned  timeIdx 
) const

◆ aquiferData()

template<typename TypeTag >
data::Aquifers Opm::BlackoilAquiferModel< TypeTag >::aquiferData

◆ beginEpisode()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::beginEpisode

◆ beginIteration()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::beginIteration

◆ beginTimeStep()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::beginTimeStep

◆ deserialize()

template<typename TypeTag >
template<class Restarter >
void Opm::BlackoilAquiferModel< TypeTag >::deserialize ( Restarter &  res)

◆ endEpisode()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::endEpisode

◆ endIteration()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::endIteration

◆ endTimeStep()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::endTimeStep

◆ init()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::init
protected

◆ initFromRestart()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::initFromRestart ( const data::Aquifers &  aquiferSoln)

◆ initialSolutionApplied()

template<typename TypeTag >
void Opm::BlackoilAquiferModel< TypeTag >::initialSolutionApplied

◆ serialize()

template<typename TypeTag >
template<class Restarter >
void Opm::BlackoilAquiferModel< TypeTag >::serialize ( Restarter &  res)

◆ serializeOp()

template<typename TypeTag >
template<class Serializer >
void Opm::BlackoilAquiferModel< TypeTag >::serializeOp ( Serializer &  serializer)

Member Data Documentation

◆ aquifers

template<typename TypeTag >
std::vector<std::unique_ptr<AquiferInterface<TypeTag> > > Opm::BlackoilAquiferModel< TypeTag >::aquifers
protected

◆ simulator_

template<typename TypeTag >
Simulator& Opm::BlackoilAquiferModel< TypeTag >::simulator_
protected

The documentation for this class was generated from the following files: