Commit da99be07 authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

[freeflow] Use new ConstantComponent

parent 8a240448
......@@ -61,7 +61,7 @@ public:
#if NONISOTHERMAL
using type = FluidSystems::LiquidPhase<Scalar, Dumux::SimpleH2O<Scalar> > ;
#else
using type = FluidSystems::LiquidPhase<Scalar, Dumux::Constant<TypeTag, Scalar> > ;
using type = FluidSystems::LiquidPhase<Scalar, Dumux::Components::Constant<1, Scalar> > ;
#endif
};
......
......@@ -54,7 +54,7 @@ SET_PROP(ClosedSystemTestProblem, Fluid)
private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public:
typedef FluidSystems::LiquidPhase<Scalar, Dumux::Constant<TypeTag, Scalar> > type;
typedef FluidSystems::LiquidPhase<Scalar, Dumux::Components::Constant<1, Scalar> > type;
};
// Set the grid type
......
......@@ -57,7 +57,7 @@ SET_PROP(DoneaTestProblem, Fluid)
private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public:
typedef FluidSystems::LiquidPhase<Scalar, Dumux::Constant<TypeTag, Scalar> > type;
typedef FluidSystems::LiquidPhase<Scalar, Dumux::Components::Constant<1, Scalar> > type;
};
// Set the grid type
......
......@@ -58,7 +58,7 @@ SET_PROP(KovasznayTestProblem, Fluid)
private:
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
public:
typedef FluidSystems::LiquidPhase<Scalar, Dumux::Constant<TypeTag, Scalar> > type;
typedef FluidSystems::LiquidPhase<Scalar, Dumux::Components::Constant<1, Scalar> > type;
};
// Set the grid type
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment