mirror of
https://github.com/OPM/opm-simulators.git
synced 2024-11-26 03:00:17 -06:00
Added adapter to maintain usage of FluidSystem<TypeTag>
This commit is contained in:
parent
d9bd5a1b03
commit
e507529019
@ -91,6 +91,7 @@ private: typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar;
|
|||||||
public: typedef Dumux::LiquidPhase<Scalar, Dumux::Oil<Scalar> > type; /*@\label{tutorial-coupled:nonwettingPhase}@*/
|
public: typedef Dumux::LiquidPhase<Scalar, Dumux::Oil<Scalar> > type; /*@\label{tutorial-coupled:nonwettingPhase}@*/
|
||||||
}; /*@\label{tutorial-coupled:2p-system-end}@*/
|
}; /*@\label{tutorial-coupled:2p-system-end}@*/
|
||||||
|
|
||||||
|
SET_TYPE_PROP(TutorialProblemCoupled, FluidSystem, Dumux::TwoPImmiscibleFluidSystem<TypeTag>);
|
||||||
// Disable gravity
|
// Disable gravity
|
||||||
SET_BOOL_PROP(TutorialProblemCoupled, EnableGravity, false); /*@\label{tutorial-coupled:gravity}@*/
|
SET_BOOL_PROP(TutorialProblemCoupled, EnableGravity, false); /*@\label{tutorial-coupled:gravity}@*/
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user