Commit 5ebee3ed authored by Bernd Flemisch's avatar Bernd Flemisch
Browse files

remove unused private typedef PhasesVector and, resulting from that, unused private enum numPhases

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@11307 2fb0f335-1f38-0410-981e-8018bf24f1b0
parent baab954e
......@@ -111,8 +111,7 @@ class ElTwoPModel: public GET_PROP_TYPE(TypeTag, BaseModel)
enum {
numEq = GET_PROP_VALUE(TypeTag, NumEq),
nPhaseIdx = Indices::nPhaseIdx,
wPhaseIdx = Indices::wPhaseIdx,
numPhases = GET_PROP_VALUE(TypeTag, NumPhases)
wPhaseIdx = Indices::wPhaseIdx
};
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
......@@ -128,7 +127,6 @@ class ElTwoPModel: public GET_PROP_TYPE(TypeTag, BaseModel)
typedef typename Element::Geometry::Jacobian JacobianInverseTransposed;
#endif
typedef Dune::FieldVector<Scalar, numPhases> PhasesVector;
typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition;
typedef Dune::FieldVector<Scalar, dim> DimVector;
typedef Dune::FieldMatrix<Scalar, dim, dim> DimMatrix;
......
......@@ -78,8 +78,7 @@ class TwoPModel : public GET_PROP_TYPE(TypeTag, BaseModel)
typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;
enum {
nPhaseIdx = Indices::nPhaseIdx,
wPhaseIdx = Indices::wPhaseIdx,
numPhases = GET_PROP_VALUE(TypeTag, NumPhases)
wPhaseIdx = Indices::wPhaseIdx
};
typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView;
......@@ -89,7 +88,6 @@ class TwoPModel : public GET_PROP_TYPE(TypeTag, BaseModel)
};
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
typedef Dune::FieldVector<Scalar, numPhases> PhasesVector;
enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) };
enum { dofCodim = isBox ? dim : 0 };
......
......@@ -128,7 +128,6 @@ class TwoPTwoCModel: public GET_PROP_TYPE(TypeTag, BaseModel)
typedef typename GridView::template Codim<dim>::Iterator VertexIterator;
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
typedef Dune::FieldVector<Scalar, numPhases> PhasesVector;
typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition;
enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) };
......
......@@ -53,9 +53,6 @@ class CO2Model: public TwoPTwoCModel<TypeTag>
typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry;
typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables;
typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector;
enum {
numPhases = GET_PROP_VALUE(TypeTag, NumPhases)
};
typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices;
enum {
......@@ -83,7 +80,6 @@ class CO2Model: public TwoPTwoCModel<TypeTag>
};
typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar;
typedef Dune::FieldVector<Scalar, numPhases> PhasesVector;
typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition;
enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) };
enum { dofCodim = isBox ? dim : 0 };
......
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