diff --git a/dumux/implicit/1p/1plocalresidual.hh b/dumux/implicit/1p/1plocalresidual.hh index c62348ddbdc4b0a01751f15d7c64d88278b21451..2c69d461aa8d3b1e2270406e318bd0de0a6efd46 100644 --- a/dumux/implicit/1p/1plocalresidual.hh +++ b/dumux/implicit/1p/1plocalresidual.hh @@ -48,7 +48,6 @@ class OnePLocalResidual : public GET_PROP_TYPE(TypeTag, BaseLocalResidual) typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum { dim = GridView::dimension }; - typedef Dune::FieldVector<Scalar, dim> DimVector; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; //index of the mass balance equation diff --git a/dumux/implicit/1p/1pmodel.hh b/dumux/implicit/1p/1pmodel.hh index b9c503c0f2c6f443a96ba4ebe66c288cab2dfdd5..5c10b02ea522934a51e43b7a004c0acb8d4acb02 100644 --- a/dumux/implicit/1p/1pmodel.hh +++ b/dumux/implicit/1p/1pmodel.hh @@ -56,9 +56,7 @@ template<class TypeTag > class OnePModel : public GET_PROP_TYPE(TypeTag, BaseModel) { typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, SpatialParams) SpatialParams; - typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; diff --git a/dumux/implicit/1p2c/1p2clocalresidual.hh b/dumux/implicit/1p2c/1p2clocalresidual.hh index 53b072d59bc2481738156b9086fac00b54a25cb3..0c9414951005b2e22003b2fb31d2fdea05cc5d19 100644 --- a/dumux/implicit/1p2c/1p2clocalresidual.hh +++ b/dumux/implicit/1p2c/1p2clocalresidual.hh @@ -47,7 +47,6 @@ protected: typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::IntersectionIterator IntersectionIterator; enum { dim = GridView::dimension }; typedef Dune::FieldVector<Scalar, dim> DimVector; @@ -56,7 +55,6 @@ protected: typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; - typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; diff --git a/dumux/implicit/1p2c/1p2cmodel.hh b/dumux/implicit/1p2c/1p2cmodel.hh index b770b355514057b6626b3553271f577e35094084..550f81a98e17271d396ccc9abd436899d3e0cc34 100644 --- a/dumux/implicit/1p2c/1p2cmodel.hh +++ b/dumux/implicit/1p2c/1p2cmodel.hh @@ -72,11 +72,8 @@ template<class TypeTag > class OnePTwoCModel : public GET_PROP_TYPE(TypeTag, BaseModel) { typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; @@ -85,13 +82,11 @@ class OnePTwoCModel : public GET_PROP_TYPE(TypeTag, BaseModel) dimWorld = GridView::dimensionworld }; typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::template Codim<dim>::Iterator VertexIterator; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; enum { phaseIdx = Indices::phaseIdx }; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef Dune::FieldVector<Scalar, dim> DimVector; enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) }; enum { dofCodim = isBox ? dim : 0 }; diff --git a/dumux/implicit/2p/2plocalresidual.hh b/dumux/implicit/2p/2plocalresidual.hh index 11a62ed2191517b8ab34cdd7202b7e6dd02bb01d..9a68cff55b5fb05fb6848a0b5bffcb2e66a4f8e7 100644 --- a/dumux/implicit/2p/2plocalresidual.hh +++ b/dumux/implicit/2p/2plocalresidual.hh @@ -61,7 +61,6 @@ protected: enum { dimWorld = GridView::dimensionworld }; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef Dune::FieldVector<Scalar, dimWorld> Vector; public: /*! diff --git a/dumux/implicit/2p/2pmodel.hh b/dumux/implicit/2p/2pmodel.hh index 883b2c9fd7f0c92d68996cb727caea03f61deb81..54ff869ac8c978bd6d28b53cde82abb2bda90b5f 100644 --- a/dumux/implicit/2p/2pmodel.hh +++ b/dumux/implicit/2p/2pmodel.hh @@ -72,9 +72,7 @@ template<class TypeTag > class TwoPModel : public GET_PROP_TYPE(TypeTag, BaseModel) { typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; @@ -86,9 +84,7 @@ class TwoPModel : public GET_PROP_TYPE(TypeTag, BaseModel) }; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::ctype CoordScalar; enum { dim = GridView::dimension, dimWorld = GridView::dimensionworld @@ -96,7 +92,6 @@ class TwoPModel : public GET_PROP_TYPE(TypeTag, BaseModel) 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 }; diff --git a/dumux/implicit/2p2c/2p2cfluxvariables.hh b/dumux/implicit/2p2c/2p2cfluxvariables.hh index 2239ae86332539cf05dbb6bac8c79b240e9d2981..80b63eb840e658f8c7b7881808a61125e8bfe01e 100644 --- a/dumux/implicit/2p2c/2p2cfluxvariables.hh +++ b/dumux/implicit/2p2c/2p2cfluxvariables.hh @@ -50,7 +50,6 @@ class TwoPTwoCFluxVariables : public GET_PROP_TYPE(TypeTag, BaseFluxVariables) typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, SpatialParams) SpatialParams; typedef typename GET_PROP_TYPE(TypeTag, EffectiveDiffusivityModel) EffectiveDiffusivityModel; enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases) }; @@ -68,10 +67,8 @@ class TwoPTwoCFluxVariables : public GET_PROP_TYPE(TypeTag, BaseFluxVariables) typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef Dune::FieldVector<Scalar, dim> DimVector; - typedef Dune::FieldMatrix<Scalar, dim, dim> DimMatrix; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; public: /*! diff --git a/dumux/implicit/2p2c/2p2clocalresidual.hh b/dumux/implicit/2p2c/2p2clocalresidual.hh index 77305ea96a5aa6dbb38e086a0410505b57c0aa46..7e26c8a1970b4d004b7b4d6201d5f99a637f4233 100644 --- a/dumux/implicit/2p2c/2p2clocalresidual.hh +++ b/dumux/implicit/2p2c/2p2clocalresidual.hh @@ -49,7 +49,6 @@ class TwoPTwoCLocalResidual: public GET_PROP_TYPE(TypeTag, BaseLocalResidual) typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; enum @@ -72,7 +71,6 @@ class TwoPTwoCLocalResidual: public GET_PROP_TYPE(TypeTag, BaseLocalResidual) typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::IntersectionIterator IntersectionIterator; static constexpr unsigned int replaceCompEqIdx = GET_PROP_VALUE(TypeTag, ReplaceCompEqIdx); diff --git a/dumux/implicit/2p2c/2p2cmodel.hh b/dumux/implicit/2p2c/2p2cmodel.hh index eadf351d8ef431886a23883930541b28adb3272a..8c558fff1c5fcdbe9c32c0e899a18c52a2f087e0 100644 --- a/dumux/implicit/2p2c/2p2cmodel.hh +++ b/dumux/implicit/2p2c/2p2cmodel.hh @@ -95,7 +95,6 @@ class TwoPTwoCModel: public GET_PROP_TYPE(TypeTag, BaseModel) typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases), @@ -122,14 +121,11 @@ class TwoPTwoCModel: public GET_PROP_TYPE(TypeTag, BaseModel) }; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::ctype CoordScalar; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; enum { dim = GridView::dimension, dimWorld = GridView::dimensionworld }; - typedef typename GridView::template Codim<dim>::Entity Vertex; typedef typename GridView::template Codim<dim>::Iterator VertexIterator; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; diff --git a/dumux/implicit/2pdfm/2pdfmfluxvariables.hh b/dumux/implicit/2pdfm/2pdfmfluxvariables.hh index eff4a10acb1d968996e5697812085c2ed2f697b2..49255bfca94830ffa0e08872bff3c9f31c446b0c 100644 --- a/dumux/implicit/2pdfm/2pdfmfluxvariables.hh +++ b/dumux/implicit/2pdfm/2pdfmfluxvariables.hh @@ -47,7 +47,6 @@ template <class TypeTag> class TwoPDFMFluxVariables : public ImplicitDarcyFluxVariables<TypeTag> { typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, SpatialParams) SpatialParams; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; @@ -59,12 +58,10 @@ class TwoPDFMFluxVariables : public ImplicitDarcyFluxVariables<TypeTag> }; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef Dune::FieldVector<Scalar, dimWorld> Vector; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; - typedef Dune::FieldVector<Scalar, dim> LocalPosition; typedef Dune::FieldVector<Scalar, numPhases> PhasesVector; public: diff --git a/dumux/implicit/2pdfm/2pdfmlocalresidual.hh b/dumux/implicit/2pdfm/2pdfmlocalresidual.hh index 1753bd5438e670e75c5292188781a88c7305bc44..e16cd3e03d607da25786caac5cd7d23e25aadea1 100644 --- a/dumux/implicit/2pdfm/2pdfmlocalresidual.hh +++ b/dumux/implicit/2pdfm/2pdfmlocalresidual.hh @@ -62,16 +62,12 @@ protected: dimWorld = GridView::dimensionworld }; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::template Codim<dim>::Entity Vertex; - typedef typename GridView::template Codim<dim>::Iterator VertexIterator; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef Dune::FieldVector<Scalar, dimWorld> Vector; - typedef Dune::FieldVector<Scalar, dim> LocalPosition; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; public: diff --git a/dumux/implicit/2pdfm/2pdfmvolumevariables.hh b/dumux/implicit/2pdfm/2pdfmvolumevariables.hh index e1f89369b5c7f92b62fe84fb152ca8ec6c44b407..ae1a0423e69c329f47640dcba496762a3c482172 100644 --- a/dumux/implicit/2pdfm/2pdfmvolumevariables.hh +++ b/dumux/implicit/2pdfm/2pdfmvolumevariables.hh @@ -45,7 +45,6 @@ class TwoPDFMVolumeVariables : public TwoPVolumeVariables<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) Implementation; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw; typedef typename GET_PROP_TYPE(TypeTag, MaterialLawParams) MaterialLawParams; @@ -74,7 +73,6 @@ class TwoPDFMVolumeVariables : public TwoPVolumeVariables<TypeTag> dimWorld = GridView::dimensionworld }; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; - typedef Dune::FieldVector<Scalar, dim> LocalPosition; public: /*! diff --git a/dumux/implicit/2pni/2pnilocalresidual.hh b/dumux/implicit/2pni/2pnilocalresidual.hh index 34721b5a163c1614f6fc3ecf6d64a505bc28d27b..dffc86136289bb4cbdd84e524028669fafd8e538 100644 --- a/dumux/implicit/2pni/2pnilocalresidual.hh +++ b/dumux/implicit/2pni/2pnilocalresidual.hh @@ -61,7 +61,6 @@ class TwoPNILocalResidual : public TwoPLocalResidual<TypeTag> enum { dimWorld = GridView::dimensionworld }; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef Dune::FieldVector<Scalar, dimWorld> Vector; public: /*! diff --git a/dumux/implicit/3p/3pmodel.hh b/dumux/implicit/3p/3pmodel.hh index d425355bfe98c91e974e6088c7d3765d5fdab687..825f0d3828833ca7b537addb22921c6256851493 100644 --- a/dumux/implicit/3p/3pmodel.hh +++ b/dumux/implicit/3p/3pmodel.hh @@ -60,16 +60,10 @@ namespace Dumux template<class TypeTag> class ThreePModel: public GET_PROP_TYPE(TypeTag, BaseModel) { - typedef typename GET_PROP_TYPE(TypeTag, BaseModel) ParentType; - typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; @@ -90,12 +84,8 @@ class ThreePModel: public GET_PROP_TYPE(TypeTag, BaseModel) }; - typedef typename GridView::template Codim<dim>::Entity Vertex; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::template Codim<dim>::Iterator VertexIterator; - typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) }; enum { dofCodim = isBox ? dim : 0 }; diff --git a/dumux/implicit/3p3c/3p3cfluxvariables.hh b/dumux/implicit/3p3c/3p3cfluxvariables.hh index bba731a8ce5590c784ed0a27c3a5984f773fc94f..73f30c9a0a68d5c7620b1a318288d4b926c2564c 100644 --- a/dumux/implicit/3p3c/3p3cfluxvariables.hh +++ b/dumux/implicit/3p3c/3p3cfluxvariables.hh @@ -64,11 +64,8 @@ class ThreePThreeCFluxVariables : public GET_PROP_TYPE(TypeTag, BaseFluxVariable }; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, SpatialParams) SpatialParams; - typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; typedef Dune::FieldVector<Scalar, dim> DimVector; - typedef Dune::FieldMatrix<Scalar, dim, dim> DimMatrix; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; enum { diff --git a/dumux/implicit/3p3c/3p3cmodel.hh b/dumux/implicit/3p3c/3p3cmodel.hh index 97e226a0d09bc7054f66a249cd38b095b3faf186..80c3107fec8c168355949794ce00ad7b7915c580 100644 --- a/dumux/implicit/3p3c/3p3cmodel.hh +++ b/dumux/implicit/3p3c/3p3cmodel.hh @@ -132,8 +132,6 @@ class ThreePThreeCModel: public GET_PROP_TYPE(TypeTag, BaseModel) }; - typedef typename GridView::template Codim<dim>::Entity Vertex; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; typedef typename GridView::template Codim<dim>::Iterator VertexIterator; diff --git a/dumux/implicit/cellcentered/ccassembler.hh b/dumux/implicit/cellcentered/ccassembler.hh index f746838bc96b9a7440b12f8d2af40e57ca1e8f05..b9b0eceaff6bee707b118ef85508780f4b569132 100644 --- a/dumux/implicit/cellcentered/ccassembler.hh +++ b/dumux/implicit/cellcentered/ccassembler.hh @@ -38,7 +38,6 @@ class CCAssembler : public ImplicitAssembler<TypeTag> friend class ImplicitAssembler<TypeTag>; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, VertexMapper) VertexMapper; typedef typename GET_PROP_TYPE(TypeTag, JacobianMatrix) JacobianMatrix; typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; diff --git a/dumux/implicit/cellcentered/ccelementboundarytypes.hh b/dumux/implicit/cellcentered/ccelementboundarytypes.hh index c768620210c5d7c4ba3630353f2775cd2cae641e..c39b2bd254787b91a45b6ae72371cd306677c497 100644 --- a/dumux/implicit/cellcentered/ccelementboundarytypes.hh +++ b/dumux/implicit/cellcentered/ccelementboundarytypes.hh @@ -47,7 +47,6 @@ class CCElementBoundaryTypes : public std::vector<typename GET_PROP_TYPE(TypeTag enum { dim = GridView::dimension }; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<dim>::EntityPointer VertexPointer; typedef typename GridView::IntersectionIterator IntersectionIterator; public: diff --git a/dumux/implicit/cellcentered/ccelementvolumevariables.hh b/dumux/implicit/cellcentered/ccelementvolumevariables.hh index b93294be09c89880a8afafff42590f7dee880f9a..fe8ce4739d285d657a50bdb878571eb99f9b71b3 100644 --- a/dumux/implicit/cellcentered/ccelementvolumevariables.hh +++ b/dumux/implicit/cellcentered/ccelementvolumevariables.hh @@ -40,7 +40,6 @@ class CCElementVolumeVariables : public std::vector<typename GET_PROP_TYPE(TypeT typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; - typedef typename GET_PROP_TYPE(TypeTag, VertexMapper) VertexMapper; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; diff --git a/dumux/implicit/cellcentered/cclocalresidual.hh b/dumux/implicit/cellcentered/cclocalresidual.hh index 9f0c508701d1a0a38812077c9ff5c679046b7db3..fe3e3d31f70e51630cd5e247b917fbe32cab95ba 100644 --- a/dumux/implicit/cellcentered/cclocalresidual.hh +++ b/dumux/implicit/cellcentered/cclocalresidual.hh @@ -45,7 +45,6 @@ class CCLocalResidual : public ImplicitLocalResidual<TypeTag> { typedef ImplicitLocalResidual<TypeTag> ParentType; friend class ImplicitLocalResidual<TypeTag>; - typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum { @@ -54,7 +53,6 @@ class CCLocalResidual : public ImplicitLocalResidual<TypeTag> }; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<0>::EntityPointer ElementPointer; typedef typename GridView::IntersectionIterator IntersectionIterator; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; diff --git a/dumux/implicit/co2/co2model.hh b/dumux/implicit/co2/co2model.hh index 27a6da8ecbd363081a0814235649cff823050751..03237b344f6c24de229892967f577346c7291d84 100644 --- a/dumux/implicit/co2/co2model.hh +++ b/dumux/implicit/co2/co2model.hh @@ -47,18 +47,11 @@ namespace Dumux template<class TypeTag> class CO2Model: public TwoPTwoCModel<TypeTag> { - - typedef TwoPTwoCModel<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, BaseModel) BaseType; - typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases), @@ -85,15 +78,11 @@ class CO2Model: public TwoPTwoCModel<TypeTag> }; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::ctype CoordScalar; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; enum { dim = GridView::dimension, dimWorld = GridView::dimensionworld }; - typedef typename GridView::template Codim<dim>::Entity Vertex; - typedef typename GridView::template Codim<dim>::Iterator VertexIterator; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef Dune::FieldVector<Scalar, numPhases> PhasesVector; diff --git a/dumux/implicit/common/implicitassembler.hh b/dumux/implicit/common/implicitassembler.hh index 112ea06fd609d243f3f9b4eee300449e8454b2dd..fdafa3260bb39a3c87035305fa0d763b6d773b8e 100644 --- a/dumux/implicit/common/implicitassembler.hh +++ b/dumux/implicit/common/implicitassembler.hh @@ -49,7 +49,6 @@ class ImplicitAssembler enum{ dim = GridView::dimension }; typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::template Codim<dim>::EntityPointer VertexPointer; enum { numEq = GET_PROP_VALUE(TypeTag, NumEq) }; typedef Dune::FieldMatrix<Scalar, numEq, numEq> MatrixBlock; diff --git a/dumux/implicit/common/implicitforchheimerfluxvariables.hh b/dumux/implicit/common/implicitforchheimerfluxvariables.hh index 3e9c32cbf68487125a38500b720698222487bab8..7530adc94356fc3479546c4cacdc5b2443829ccd 100644 --- a/dumux/implicit/common/implicitforchheimerfluxvariables.hh +++ b/dumux/implicit/common/implicitforchheimerfluxvariables.hh @@ -90,7 +90,6 @@ class ImplicitForchheimerFluxVariables typedef Dune::FieldMatrix<Scalar, dimWorld, dimWorld> Tensor; typedef Dune::FieldVector<Scalar, dimWorld> DimVector; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; public: /*! diff --git a/dumux/implicit/common/implicitlocalresidual.hh b/dumux/implicit/common/implicitlocalresidual.hh index 5da7de436fc35be72219aa5c75d6f69a20d5db0a..5f50c79825dd3f48ab5ff8fa7341b1840719c1dd 100644 --- a/dumux/implicit/common/implicitlocalresidual.hh +++ b/dumux/implicit/common/implicitlocalresidual.hh @@ -48,7 +48,6 @@ private: typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::IntersectionIterator IntersectionIterator; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GET_PROP_TYPE(TypeTag, ElementSolutionVector) ElementSolutionVector; diff --git a/dumux/implicit/common/implicitmodel.hh b/dumux/implicit/common/implicitmodel.hh index e74a0ee6b7e672500cbb80a62135c76ba52f70c2..ddcae4c359be412dc1aa4050b5940c786fc392bd 100644 --- a/dumux/implicit/common/implicitmodel.hh +++ b/dumux/implicit/common/implicitmodel.hh @@ -47,7 +47,6 @@ class ImplicitModel typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, ElementMapper) ElementMapper; typedef typename GET_PROP_TYPE(TypeTag, VertexMapper) VertexMapper; - typedef typename GET_PROP_TYPE(TypeTag, DofMapper) DofMapper; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, JacobianAssembler) JacobianAssembler; @@ -68,8 +67,6 @@ class ImplicitModel typedef typename GridView::ctype CoordScalar; typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::template Codim<dim>::Entity Vertex; - typedef typename GridView::template Codim<dim>::Iterator VertexIterator; typedef typename GridView::IntersectionIterator IntersectionIterator; typedef typename Dune::GenericReferenceElements<CoordScalar, dim> ReferenceElements; diff --git a/dumux/implicit/mpnc/energy/mpncfluxvariablesenergykinetic.hh b/dumux/implicit/mpnc/energy/mpncfluxvariablesenergykinetic.hh index 6bd87f4e9824addb6a41c6d0d0fb3ff48e5bdc24..043e415a63098fc4af373019671dbcb4fba64d81 100644 --- a/dumux/implicit/mpnc/energy/mpncfluxvariablesenergykinetic.hh +++ b/dumux/implicit/mpnc/energy/mpncfluxvariablesenergykinetic.hh @@ -36,13 +36,10 @@ namespace Dumux template <class TypeTag> class MPNCFluxVariablesEnergy<TypeTag, /*enableEnergy=*/true, /*kineticEnergyTransfer=*/true> { - typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; typedef typename GridView::ctype CoordScalar; typedef typename GridView::template Codim<0>::Entity Element; diff --git a/dumux/implicit/mpnc/energy/mpnclocalresidualenergy.hh b/dumux/implicit/mpnc/energy/mpnclocalresidualenergy.hh index d28f400af5501095644d6292d9cb09c31af6597b..de8173e28753e35182d76fef385143dbac00a6ef 100644 --- a/dumux/implicit/mpnc/energy/mpnclocalresidualenergy.hh +++ b/dumux/implicit/mpnc/energy/mpnclocalresidualenergy.hh @@ -152,7 +152,6 @@ class MPNCLocalResidualEnergy<TypeTag, /*enableEnergy=*/true, /*kineticenergyTra { typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; - typedef typename FluidSystem::ParameterCache ParameterCache; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; diff --git a/dumux/implicit/mpnc/energy/mpnclocalresidualenergykinetic.hh b/dumux/implicit/mpnc/energy/mpnclocalresidualenergykinetic.hh index d36d3e1528c3dc57c7f41f11e6316260a6f4b9fb..425f74fc1f8c7bf75ecf2445a4e23aa5c4ad3452 100644 --- a/dumux/implicit/mpnc/energy/mpnclocalresidualenergykinetic.hh +++ b/dumux/implicit/mpnc/energy/mpnclocalresidualenergykinetic.hh @@ -33,7 +33,6 @@ class MPNCLocalResidualEnergy<TypeTag, /*enableEnergy=*/true, /*kineticEnergyTra { typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; - typedef typename FluidSystem::ParameterCache ParameterCache; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; @@ -55,7 +54,6 @@ class MPNCLocalResidualEnergy<TypeTag, /*enableEnergy=*/true, /*kineticEnergyTra enum { wCompIdx = FluidSystem::wCompIdx}; enum { sPhaseIdx = FluidSystem::sPhaseIdx}; - typedef Dune::FieldVector<Scalar, dim> DimVector; typedef typename Dune::FieldVector<Scalar, numComponents> ComponentVector; typedef typename Dune::FieldMatrix<Scalar, numPhases, numComponents> PhaseComponentMatrix; diff --git a/dumux/implicit/mpnc/energy/mpncvolumevariablesenergykinetic.hh b/dumux/implicit/mpnc/energy/mpncvolumevariablesenergykinetic.hh index 5d26a628c16eaf3e7856001f46e435efaa2715b6..c922ed7f8613497889fa92006ffbaf1871dc3da6 100644 --- a/dumux/implicit/mpnc/energy/mpncvolumevariablesenergykinetic.hh +++ b/dumux/implicit/mpnc/energy/mpncvolumevariablesenergykinetic.hh @@ -36,9 +36,7 @@ namespace Dumux template <class TypeTag> class MPNCVolumeVariablesEnergy<TypeTag, /*enableEnergy=*/true, /*kineticEnergyTransfer=*/true> { - typedef MPNCVolumeVariables<TypeTag> ParentType; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; @@ -57,9 +55,6 @@ class MPNCVolumeVariablesEnergy<TypeTag, /*enableEnergy=*/true, /*kineticEnergyT enum { numEnergyEqs = Indices::NumPrimaryEnergyVars}; enum { dim = GridView::dimension}; - typedef Dune::FieldVector<Scalar,dim> GlobalPosition; - - /*! * \brief The fluid state which is used by the volume variables to * store the thermodynamic state. diff --git a/dumux/implicit/mpnc/energy/mpncvtkwriterenergykinetic.hh b/dumux/implicit/mpnc/energy/mpncvtkwriterenergykinetic.hh index 1794d39517ba94ea1bcc11785f946521dac2e6e6..a6be791beed9b66532921bd15772a881f7735dd2 100644 --- a/dumux/implicit/mpnc/energy/mpncvtkwriterenergykinetic.hh +++ b/dumux/implicit/mpnc/energy/mpncvtkwriterenergykinetic.hh @@ -52,7 +52,6 @@ class MPNCVtkWriterEnergy<TypeTag, /*enableEnergy = */ true, /* enableKineticEne typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; diff --git a/dumux/implicit/mpnc/mass/mpnclocalresidualmass.hh b/dumux/implicit/mpnc/mass/mpnclocalresidualmass.hh index f981c7fa254c808c8ef3ea34fa6141e8c94a3f6b..9456dc61d614e0e88527e3d24e40fcb9591161be 100644 --- a/dumux/implicit/mpnc/mass/mpnclocalresidualmass.hh +++ b/dumux/implicit/mpnc/mass/mpnclocalresidualmass.hh @@ -55,7 +55,6 @@ protected: enum { enableEnergy = GET_PROP_VALUE(TypeTag, EnableEnergy) }; enum { enableKineticEnergy = GET_PROP_VALUE(TypeTag, EnableKineticEnergy) }; - typedef typename Dune::FieldVector<Scalar, dim> DimVector; typedef typename Dune::FieldVector<Scalar, numComponents> ComponentVector; typedef MPNCDiffusion<TypeTag, enableDiffusion> Diffusion; typedef MPNCLocalResidualEnergy<TypeTag, enableEnergy, enableKineticEnergy> EnergyResid; @@ -142,10 +141,6 @@ public: const Scalar x = std::abs(kGradPNormal); const Scalar sign = (kGradPNormal > 0)?-1:1; - // the direction from upstream to downstream - //GlobalPosition delta = this->curElement_().geometry().corner(upIdx); - //delta -= this->curElement_().geometry().corner(dnIdx); - // approximate the mean viscosity at the face const Scalar meanVisc = (up.fluidState().viscosity(phaseIdx) + dn.fluidState().viscosity(phaseIdx))/2; diff --git a/dumux/implicit/mpnc/mass/mpnclocalresidualmasskinetic.hh b/dumux/implicit/mpnc/mass/mpnclocalresidualmasskinetic.hh index 593f4c79bbccf0f0a3a186ddeaf0e5b29cb1ce13..f28af487b94db8397b6638b9aac39ece44e6ab3a 100644 --- a/dumux/implicit/mpnc/mass/mpnclocalresidualmasskinetic.hh +++ b/dumux/implicit/mpnc/mass/mpnclocalresidualmasskinetic.hh @@ -61,8 +61,6 @@ class MPNCLocalResidualMass<TypeTag, /*enableKinetic=*/true> typedef CompositionFromMassTransfer<Scalar, FluidSystem> NonEquilConstraintSolver; #endif - typedef typename FluidSystem::ParameterCache ParameterCache; - enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases) }; enum { numComponents = GET_PROP_VALUE(TypeTag, NumComponents) }; enum { conti0EqIdx = Indices::conti0EqIdx }; diff --git a/dumux/implicit/mpnc/mass/mpncvolumevariablesmasskinetic.hh b/dumux/implicit/mpnc/mass/mpncvolumevariablesmasskinetic.hh index 41cc47d8a4393eba0f4ea4ffb82993e8fc802ebe..838d4c26f04be6405481cbc1df2a4c9c9609536e 100644 --- a/dumux/implicit/mpnc/mass/mpncvolumevariablesmasskinetic.hh +++ b/dumux/implicit/mpnc/mass/mpncvolumevariablesmasskinetic.hh @@ -67,7 +67,6 @@ class MPNCVolumeVariablesMass<TypeTag, /*bool enableKinetic=*/true> typedef typename Dune::FieldVector<Scalar, numComponents> ComponentVector; - typedef Dune::FieldVector<Scalar,dim> GlobalPosition; // here, we need a constraint solver, which gives me the composition of a phase, if the other one is given typedef FluidSystemComputeFromReferencePhase<Scalar, FluidSystem> ConstraintReferencePhaseSolver; diff --git a/dumux/implicit/mpnc/mass/mpncvtkwritermasskinetic.hh b/dumux/implicit/mpnc/mass/mpncvtkwritermasskinetic.hh index 0582417286446c2e633c15e680eb8d132252a5f1..782d21727e5a11e26ec64eaac8806f1b3caec3d3 100644 --- a/dumux/implicit/mpnc/mass/mpncvtkwritermasskinetic.hh +++ b/dumux/implicit/mpnc/mass/mpncvtkwritermasskinetic.hh @@ -49,13 +49,11 @@ class MPNCVtkWriterMass<TypeTag, /* enableKinetic = */ true> { typedef MPNCVtkWriterModule<TypeTag> ParentType; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases) }; diff --git a/dumux/implicit/mpnc/mpncfluxvariables.hh b/dumux/implicit/mpnc/mpncfluxvariables.hh index 72640ffa99eeb737b05f1e4c4768e788b9088683..098a16b6a4063fe36627cd0153e5582f277fd22b 100644 --- a/dumux/implicit/mpnc/mpncfluxvariables.hh +++ b/dumux/implicit/mpnc/mpncfluxvariables.hh @@ -52,7 +52,6 @@ class MPNCFluxVariables : public GET_PROP_TYPE(TypeTag, BaseFluxVariables) { typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, SpatialParams) SpatialParams; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; @@ -69,9 +68,7 @@ class MPNCFluxVariables enum {enableKineticEnergy = GET_PROP_VALUE(TypeTag, EnableKineticEnergy)}; typedef Dune::FieldVector<Scalar, dim> DimVector; - typedef Dune::FieldMatrix<Scalar, dim, dim> DimMatrix; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; typedef MPNCFluxVariablesDiffusion<TypeTag, enableDiffusion> FluxVariablesDiffusion; typedef MPNCFluxVariablesEnergy<TypeTag, enableEnergy, enableKineticEnergy> FluxVariablesEnergy; diff --git a/dumux/implicit/mpnc/mpncmodel.hh b/dumux/implicit/mpnc/mpncmodel.hh index b15e84d1e70b43de670edea6057db3b4cabe1451..47fc99114b1b0f211f2df336786d39dc159d6634 100644 --- a/dumux/implicit/mpnc/mpncmodel.hh +++ b/dumux/implicit/mpnc/mpncmodel.hh @@ -114,7 +114,6 @@ class MPNCModel : public GET_PROP_TYPE(TypeTag, BaseModel) typedef typename GET_PROP_TYPE(TypeTag, BaseModel) ParentType; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; diff --git a/dumux/implicit/mpnc/mpncmodelkinetic.hh b/dumux/implicit/mpnc/mpncmodelkinetic.hh index ae0a354f1b467261dc8f9ad7e9388b614815a2bb..60f979e8425fe1c8b9359aa630342f6f729021f4 100644 --- a/dumux/implicit/mpnc/mpncmodelkinetic.hh +++ b/dumux/implicit/mpnc/mpncmodelkinetic.hh @@ -45,21 +45,16 @@ template<class TypeTag> class MPNCModelKinetic : public MPNCModel<TypeTag> { typedef MPNCModel<TypeTag> ParentType; - typedef MPNCModelKinetic<TypeTag> ThisType; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; - typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; typedef Dune::BlockVector<Dune::FieldVector<Scalar, 1> > ScalarField; typedef Dumux::MPNCVtkWriter<TypeTag> MPNCVtkWriter; diff --git a/dumux/implicit/mpnc/mpncvolumevariables.hh b/dumux/implicit/mpnc/mpncvolumevariables.hh index a43cc52e1cae7f8cf595ef681d5c281489ee5c4e..274494643514854dbbb63f5218fec6eeec6e54bb 100644 --- a/dumux/implicit/mpnc/mpncvolumevariables.hh +++ b/dumux/implicit/mpnc/mpncvolumevariables.hh @@ -66,7 +66,6 @@ class MPNCVolumeVariables enum {dimWorld=GridView::dimensionworld}; - typedef Dune::FieldVector<Scalar,dimWorld> GlobalPosition; enum {wPhaseIdx = FluidSystem::wPhaseIdx}; enum {nPhaseIdx = FluidSystem::nPhaseIdx}; diff --git a/dumux/implicit/mpnc/mpncvtkwriter.hh b/dumux/implicit/mpnc/mpncvtkwriter.hh index a7cc6254f28dde68524704a5c8332137336f97ec..2e7163678f3d4b71e19c2ec02834fb0f0cd37512 100644 --- a/dumux/implicit/mpnc/mpncvtkwriter.hh +++ b/dumux/implicit/mpnc/mpncvtkwriter.hh @@ -47,7 +47,6 @@ class MPNCVtkWriter typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; public: diff --git a/dumux/implicit/mpnc/mpncvtkwritercommon.hh b/dumux/implicit/mpnc/mpncvtkwritercommon.hh index df346904bc112e0446509c37874222efee245cdb..713741b4d223bd4c4297eaa57abc899a41678be6 100644 --- a/dumux/implicit/mpnc/mpncvtkwritercommon.hh +++ b/dumux/implicit/mpnc/mpncvtkwritercommon.hh @@ -46,7 +46,6 @@ class MPNCVtkWriterCommon : public MPNCVtkWriterModule<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; diff --git a/dumux/implicit/mpnc/velomodelnewtoncontroller.hh b/dumux/implicit/mpnc/velomodelnewtoncontroller.hh index 553faa8032b662b676dbcfbe816e39167043b7ca..3079a7cdff9efd4fa7ca441af439f2d1d083d853 100644 --- a/dumux/implicit/mpnc/velomodelnewtoncontroller.hh +++ b/dumux/implicit/mpnc/velomodelnewtoncontroller.hh @@ -44,7 +44,6 @@ namespace Dumux { template <class TypeTag> class VeloModelNewtonController : public MPNCNewtonController<TypeTag> { - typedef VeloModelNewtonController<TypeTag> ThisType; typedef MPNCNewtonController<TypeTag> ParentType; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; diff --git a/dumux/implicit/richards/richardslocalresidual.hh b/dumux/implicit/richards/richardslocalresidual.hh index 7c4c716f381de9ad10037913fbe85bf09efe8e26..3115b715319c4f9c3ed87ea5be5a639fdc9be677 100644 --- a/dumux/implicit/richards/richardslocalresidual.hh +++ b/dumux/implicit/richards/richardslocalresidual.hh @@ -50,7 +50,6 @@ class RichardsLocalResidual : public GET_PROP_TYPE(TypeTag, BaseLocalResidual) enum { dim = GridView::dimension}; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef Dune::FieldVector<Scalar, dim> DimVector; public: /*! diff --git a/dumux/implicit/richards/richardsmodel.hh b/dumux/implicit/richards/richardsmodel.hh index ba6c5844dd8a6d30c5fa1dbe6773b9e441d1be21..3a39e84079a66ba0501fdd7d2ec8d9b7586b1d26 100644 --- a/dumux/implicit/richards/richardsmodel.hh +++ b/dumux/implicit/richards/richardsmodel.hh @@ -108,7 +108,6 @@ class RichardsModel : public GET_PROP_TYPE(TypeTag, BaseModel) { typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; diff --git a/test/implicit/1p/1ptestproblem.hh b/test/implicit/1p/1ptestproblem.hh index 1891183f0e5f2454273b6dd13668b0412327389b..c7747163a84d4b5093fd79c17af8108dc69088b4 100644 --- a/test/implicit/1p/1ptestproblem.hh +++ b/test/implicit/1p/1ptestproblem.hh @@ -153,7 +153,6 @@ class OnePTestProblem : public ImplicitPorousMediaProblem<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, TimeManager) TimeManager; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<dim>::Entity Vertex; typedef typename GridView::Intersection Intersection; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; diff --git a/test/implicit/1p2c/1p2coutflowproblem.hh b/test/implicit/1p2c/1p2coutflowproblem.hh index 636b48d2a000862301f8219aa2fabc297ddccbf8..dadded1ba088e3ebe1d65a0c438a3edd267a247f 100644 --- a/test/implicit/1p2c/1p2coutflowproblem.hh +++ b/test/implicit/1p2c/1p2coutflowproblem.hh @@ -147,8 +147,6 @@ class OnePTwoCOutflowProblem : public ImplicitPorousMediaProblem<TypeTag> typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GridView::template Codim<dim>::Entity Vertex; typedef typename GridView::Intersection Intersection; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; diff --git a/test/implicit/1p2c/1p2coutflowspatialparams.hh b/test/implicit/1p2c/1p2coutflowspatialparams.hh index befcec6fa2c004012e4e16d493a7049b01be92ea..7858923ff744327b880487d13ba646b198b4f446 100644 --- a/test/implicit/1p2c/1p2coutflowspatialparams.hh +++ b/test/implicit/1p2c/1p2coutflowspatialparams.hh @@ -47,15 +47,11 @@ class OnePTwoCOutflowSpatialParams : public ImplicitSpatialParamsOneP<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename Grid::ctype CoordScalar; enum { dim=GridView::dimension, dimWorld=GridView::dimensionworld }; - typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - - typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; diff --git a/test/implicit/2p2c/injectionspatialparams.hh b/test/implicit/2p2c/injectionspatialparams.hh index c62b6249c835b7f584d6362d5fd6b71d945427f3..80d9113f283038eb790d6daf86a033a9bf69c1bf 100644 --- a/test/implicit/2p2c/injectionspatialparams.hh +++ b/test/implicit/2p2c/injectionspatialparams.hh @@ -86,10 +86,6 @@ class InjectionSpatialParams : public ImplicitSpatialParams<TypeTag> }; typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - typedef Dune::FieldVector<CoordScalar,dimWorld> DimVector; - - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; diff --git a/test/implicit/2p2cni/waterairspatialparams.hh b/test/implicit/2p2cni/waterairspatialparams.hh index c47ce0ec9d80776012398d230e56d8f4a5c7aadc..fedaa31ad2baad55e755c338ed24427bf69bfb6f 100644 --- a/test/implicit/2p2cni/waterairspatialparams.hh +++ b/test/implicit/2p2cni/waterairspatialparams.hh @@ -80,10 +80,6 @@ class WaterAirSpatialParams : public ImplicitSpatialParams<TypeTag> }; typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - typedef Dune::FieldVector<CoordScalar,dimWorld> DimVector; - - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; diff --git a/test/implicit/2pdfm/2pdfmspatialparams.hh b/test/implicit/2pdfm/2pdfmspatialparams.hh index c4456a63b83adb51fa9d97d106056260018d34fd..fb26ce5b138a8f681388174f036ae14d2b96b6c0 100644 --- a/test/implicit/2pdfm/2pdfmspatialparams.hh +++ b/test/implicit/2pdfm/2pdfmspatialparams.hh @@ -80,7 +80,6 @@ class TwoPDFMSpatialParams : public ImplicitSpatialParams<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename Grid::ctype CoordScalar; typedef Dune::MultipleCodimMultipleGeomTypeMapper<GridView, Dune::MCMGVertexLayout> VertexMapper; typedef Dune::MultipleCodimMultipleGeomTypeMapper<GridView, FaceLayout> FaceMapper; @@ -90,8 +89,6 @@ class TwoPDFMSpatialParams : public ImplicitSpatialParams<TypeTag> dimWorld = GridView::dimensionworld }; - typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - typedef typename GridView::template Codim<0>::Entity Element; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; diff --git a/test/implicit/2pdfm/2pdfmtestproblem.hh b/test/implicit/2pdfm/2pdfmtestproblem.hh index bae441383b2f74233be8da4977f1e6fee1dacc24..edbdff70073ff536694d3a19ca29b3180569fbf4 100644 --- a/test/implicit/2pdfm/2pdfmtestproblem.hh +++ b/test/implicit/2pdfm/2pdfmtestproblem.hh @@ -148,9 +148,6 @@ class TwoPDFMTestProblem : public ImplicitPorousMediaProblem<TypeTag> dimWorld = GridView::dimensionworld }; - typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<dim>::Entity Vertex; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; typedef typename GET_PROP_TYPE(TypeTag, TimeManager) TimeManager; diff --git a/test/implicit/2pni/injectionproblem2pni.hh b/test/implicit/2pni/injectionproblem2pni.hh index 6e857176f3690e109aa009c8db5d905dbe57de0f..f3d4b8ff50ec0c3d92d4522128f254c452bd39a1 100644 --- a/test/implicit/2pni/injectionproblem2pni.hh +++ b/test/implicit/2pni/injectionproblem2pni.hh @@ -181,7 +181,6 @@ class InjectionProblem2PNI : public ImplicitPorousMediaProblem<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, TimeManager) TimeManager; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<dim>::Entity Vertex; typedef typename GridView::Intersection Intersection; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; diff --git a/test/implicit/3p/naplinfiltrationspatialparams.hh b/test/implicit/3p/naplinfiltrationspatialparams.hh index 06f5ea1704117eed11a145ee4a1da7a365426930..d2d7bc6cfee043005379d450554f488b67ca5d17 100644 --- a/test/implicit/3p/naplinfiltrationspatialparams.hh +++ b/test/implicit/3p/naplinfiltrationspatialparams.hh @@ -86,13 +86,6 @@ class InfiltrationSpatialParams : public ImplicitSpatialParams<TypeTag> }; typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - typedef Dune::FieldVector<CoordScalar,dimWorld> Vector; - - - typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; - - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; diff --git a/test/implicit/co2/heterogeneousspatialparameters.hh b/test/implicit/co2/heterogeneousspatialparameters.hh index 46253bd23538b0b8e60f139d85cc2ba0f08107fb..5247c74a151a9de35a4eccd94c96a1b03fcf3e52 100644 --- a/test/implicit/co2/heterogeneousspatialparameters.hh +++ b/test/implicit/co2/heterogeneousspatialparameters.hh @@ -75,7 +75,6 @@ class HeterogeneousSpatialParams : public ImplicitSpatialParams<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef Dune::GridPtr<Grid> GridPointer; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename Grid::ctype CoordScalar; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; enum { @@ -85,12 +84,6 @@ class HeterogeneousSpatialParams : public ImplicitSpatialParams<TypeTag> lPhaseIdx = FluidSystem::lPhaseIdx }; - typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - typedef Dune::FieldVector<CoordScalar,dimWorld> Vector; - - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; typedef typename GridView::template Codim<0>::Iterator ElementIterator; diff --git a/test/implicit/mpnc/evaporationatmosphereproblem.hh b/test/implicit/mpnc/evaporationatmosphereproblem.hh index ea0023cc049669aad926d5d45ac178072f276015..3e34a678d1c8812e70fc36c02702d67d3b9fc6f7 100644 --- a/test/implicit/mpnc/evaporationatmosphereproblem.hh +++ b/test/implicit/mpnc/evaporationatmosphereproblem.hh @@ -204,13 +204,12 @@ template <class TypeTag> class EvaporationAtmosphereProblem : public ImplicitPorousMediaProblem<TypeTag> { - typedef EvaporationAtmosphereProblem<TypeTag> ThisType; typedef ImplicitPorousMediaProblem<TypeTag> ParentType; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; + typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; /*! * \brief The fluid state which is used by the volume variables to @@ -254,14 +253,8 @@ class EvaporationAtmosphereProblem typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GET_PROP_TYPE(TypeTag, MaterialLawParams) MaterialLawParams; typedef typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, TimeManager) TimeManager; - typedef typename GridView::template Codim<0>::Iterator ElementIterator; - typedef typename GET_PROP_TYPE(TypeTag, ElementBoundaryTypes) ElementBoundaryTypes; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; - typedef Dune::FieldVector<typename GridView::Grid::ctype, dim> DimVector; typedef Dune::FieldVector<typename GridView::Grid::ctype, dimWorld> GlobalPosition; typedef std::vector<Dune::FieldVector<Scalar, 1> > ScalarBuffer; diff --git a/test/implicit/mpnc/evaporationatmospherespatialparams.hh b/test/implicit/mpnc/evaporationatmospherespatialparams.hh index 27ee82d7afaa4b7c132abdcfcbe9aa5f0530ca1c..c3277f3108d62bf2d19464c86bcbe1c02647fbb7 100644 --- a/test/implicit/mpnc/evaporationatmospherespatialparams.hh +++ b/test/implicit/mpnc/evaporationatmospherespatialparams.hh @@ -120,14 +120,10 @@ class EvaporationAtmosphereSpatialParams : public ImplicitSpatialParams<TypeTag> enum { numPhases = GET_PROP_VALUE(TypeTag, NumPhases)}; enum { enableEnergy = GET_PROP_VALUE(TypeTag, EnableEnergy)}; - typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, FluxVariables) FluxVariables; typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; typedef Dune::FieldVector<Scalar,dimWorld> GlobalPosition; - typedef Dune::FieldVector<Scalar,dimWorld> DimVector; typedef typename GET_PROP_TYPE(TypeTag, FluidState) FluidState; public: diff --git a/test/implicit/mpnc/obstacleproblem.hh b/test/implicit/mpnc/obstacleproblem.hh index 81669149f9a42b514cd7f4ecbe784f7871b8f44d..784dfd330271565ce0ec708dffd0f61ef84e9956 100644 --- a/test/implicit/mpnc/obstacleproblem.hh +++ b/test/implicit/mpnc/obstacleproblem.hh @@ -157,7 +157,6 @@ class ObstacleProblem enum {p0Idx = Indices::p0Idx}; typedef typename GridView::template Codim<0>::Entity Element; - typedef typename GridView::template Codim<dim>::Entity Vertex; typedef typename GridView::Intersection Intersection; typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef Dune::FieldVector<typename GridView::Grid::ctype, dimWorld> GlobalPosition;