box models: introduce BaseProblem property

that's the base class from which the actual problems are derived from
This commit is contained in:
Andreas Lauser
2011-11-18 16:30:28 +01:00
committed by Andreas Lauser
parent 9131de9074
commit 591334ac82

View File

@@ -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;