mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-21 16:57:25 -06:00
started to refresh tutorial_coupled
This commit is contained in:
parent
b91f7ea58d
commit
f59541f834
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user