mirror of
https://github.com/OPM/opm-simulators.git
synced 2025-02-25 18:55:30 -06:00
box models: introduce BaseProblem property
that's the base class from which the actual problems are derived from
This commit is contained in:
committed by
Andreas Lauser
parent
9131de9074
commit
591334ac82
@@ -93,9 +93,9 @@ SET_INT_PROP(TutorialProblemCoupled, GridCellsZ, 0);
|
||||
* \brief Tutorial problem for a fully coupled twophase box model.
|
||||
*/
|
||||
template <class TypeTag>
|
||||
class TutorialProblemCoupled : public TwoPProblem<TypeTag> /*@\label{tutorial-coupled:def-problem}@*/
|
||||
class TutorialProblemCoupled : public GET_PROP_TYPE(TypeTag, BaseProblem) /*@\label{tutorial-coupled:def-problem}@*/
|
||||
{
|
||||
typedef TwoPProblem<TypeTag> ParentType;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, BaseProblem) ParentType;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
|
||||
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user