28 #ifndef EWOMS_BLACKOIL_PROBLEM_HH
29 #define EWOMS_BLACKOIL_PROBLEM_HH
35 #include <opm/common/Unused.hpp>
43 template<
class TypeTag>
48 typedef typename GET_PROP_TYPE(TypeTag, Problem) Implementation;
49 typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
65 template <
class Context>
67 unsigned spaceIdx OPM_UNUSED,
68 unsigned timeIdx OPM_UNUSED)
const
74 template <
class Context>
76 unsigned spaceIdx OPM_UNUSED,
77 unsigned timeIdx OPM_UNUSED)
const
83 template <
class Context>
85 unsigned spaceIdx OPM_UNUSED,
86 unsigned timeIdx OPM_UNUSED)
const
92 template <
class Context>
94 unsigned spaceIdx OPM_UNUSED,
95 unsigned timeIdx OPM_UNUSED)
const
101 template <
class Context>
103 unsigned spaceIdx OPM_UNUSED,
104 unsigned timeIdx OPM_UNUSED)
const
110 template <
class Context>
112 unsigned spaceIdx OPM_UNUSED,
113 unsigned timeIdx OPM_UNUSED)
const
118 Implementation& asImp_()
119 {
return *
static_cast<Implementation *
>(
this); }
122 const Implementation& asImp_()
const
123 {
return *
static_cast<const Implementation *
>(
this); }
BlackOilProblem(Simulator &simulator)
Definition: blackoilproblem.hh:58
unsigned miscnumRegionIndex(const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
Returns the index of the relevant region for solvent mixing functions.
Definition: blackoilproblem.hh:84
unsigned satnumRegionIndex(const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
Returns the index of the relevant region for saturation functions.
Definition: blackoilproblem.hh:75
unsigned pvtRegionIndex(const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
Returns the index of the relevant region for thermodynmic properties.
Definition: blackoilproblem.hh:66
Declares the properties required by the black oil model.
Scalar rockCompressibility(const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
Returns the compressibility of the porous medium of a cell.
Definition: blackoilproblem.hh:102
Base class for all problems which use the black-oil model.
Definition: blackoilproblem.hh:44
Scalar rockReferencePressure(const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
Returns the reference pressure for rock the compressibility of a cell.
Definition: blackoilproblem.hh:111
Simulator & simulator()
Returns Simulator object used by the simulation.
Definition: fvbaseproblem.hh:526
Manages the initializing and running of time dependent problems.
Definition: simulator.hh:75
unsigned plmixnumRegionIndex(const Context &context OPM_UNUSED, unsigned spaceIdx OPM_UNUSED, unsigned timeIdx OPM_UNUSED) const
Returns the index of the relevant region for polymer mixing functions.
Definition: blackoilproblem.hh:93
The base class for the problems of ECFV discretizations which deal with a multi-phase flow through a ...
Definition: multiphasebaseproblem.hh:59
The base class for the problems of ECFV discretizations which deal with a multi-phase flow through a ...