Skip to content
Snippets Groups Projects
Commit 8afeb6dc authored by Martin Schneider's avatar Martin Schneider
Browse files

[FluidState] Using FluidState property

Replace direct declaration with FluidState property.
parent ecb1105a
No related branches found
No related tags found
1 merge request!73[FluidState] Using FluidState property
...@@ -62,7 +62,6 @@ protected: ...@@ -62,7 +62,6 @@ protected:
typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables;
typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes;
typedef CompositionalFluidState<Scalar, FluidSystem> FluidState;
typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;
enum enum
......
...@@ -138,8 +138,6 @@ class TwoPNCModel: public GET_PROP_TYPE(TypeTag, BaseModel) ...@@ -138,8 +138,6 @@ class TwoPNCModel: public GET_PROP_TYPE(TypeTag, BaseModel)
formulation = GET_PROP_VALUE(TypeTag, Formulation) formulation = GET_PROP_VALUE(TypeTag, Formulation)
}; };
typedef CompositionalFluidState<Scalar, FluidSystem> FluidState;
typedef typename GridView::template Codim<dim>::Entity Vertex; typedef typename GridView::template Codim<dim>::Entity Vertex;
typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Entity Element;
......
...@@ -78,7 +78,7 @@ class ThreePVolumeVariables : public ImplicitVolumeVariables<TypeTag> ...@@ -78,7 +78,7 @@ class ThreePVolumeVariables : public ImplicitVolumeVariables<TypeTag>
public: public:
//! The type of the object returned by the fluidState() method //! The type of the object returned by the fluidState() method
typedef Dumux::ImmiscibleFluidState<Scalar, FluidSystem> FluidState; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState;
/*! /*!
......
...@@ -97,7 +97,7 @@ class CO2VolumeVariables: public TwoPTwoCVolumeVariables<TypeTag> ...@@ -97,7 +97,7 @@ class CO2VolumeVariables: public TwoPTwoCVolumeVariables<TypeTag>
public: public:
//! The type of the object returned by the fluidState() method //! The type of the object returned by the fluidState() method
typedef Dumux::CompositionalFluidState<Scalar, FluidSystem> FluidState; typedef typename ParentType::FluidState FluidState;
/*! /*!
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment