started to refresh tutorial_coupled

This commit is contained in:
Klaus Mosthaf 2010-10-15 15:11:37 +00:00 committed by Andreas Lauser
parent b91f7ea58d
commit f59541f834

View File

@ -112,12 +112,24 @@ class TutorialProblemCoupled : public TwoPProblem<TypeTag> /*@\label{tutorial-co
typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(BoundaryTypes)) BoundaryTypes;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry;
typedef typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem)) FluidSystem;
public:
TutorialProblemCoupled(TimeManager &timeManager,
const GridView &gridView)
: ParentType(timeManager, gridView)
{}
{
// initialize the tables of the fluid system
FluidSystem::init();
}
/*!
* \brief The problem name.
*
* This is used as a prefix for files generated by the simulation.
*/
const char *name() const
{ return "tutorial_coupled"; }
// Return the temperature within the domain. We use 10 degrees Celsius.
Scalar temperature(const Element &element,