diff --git a/dumux/decoupled/2p2c/fluxdata2p2c.hh b/dumux/decoupled/2p2c/fluxdata2p2c.hh index 0126bfaced3a40ebc3ea5133e3d044c5be6f2a29..05fa7ad411f847a7e892dc27d6e0c9e5101dddfc 100644 --- a/dumux/decoupled/2p2c/fluxdata2p2c.hh +++ b/dumux/decoupled/2p2c/fluxdata2p2c.hh @@ -43,7 +43,7 @@ template<class TypeTag> class FluxData2P2C { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum { @@ -52,7 +52,7 @@ private: enum { - numEquations = GET_PROP_VALUE(TypeTag, PTAG(NumEq)) + numEquations = GET_PROP_VALUE(TypeTag, NumEq) }; typename Dune::BlockVector<typename Dune::FieldVector<bool, numEquations>> isUpwindCell_; diff --git a/dumux/freeflow/stokesncni/stokesncniindices.hh b/dumux/freeflow/stokesncni/stokesncniindices.hh index b173d7869158f71f1bae5bb858a5407a957cac3d..3900d7f379f12c8b4513254a800a0b599ecce77f 100644 --- a/dumux/freeflow/stokesncni/stokesncniindices.hh +++ b/dumux/freeflow/stokesncni/stokesncniindices.hh @@ -39,7 +39,7 @@ template <class TypeTag, int PVOffset=0> struct StokesncniCommonIndices : public StokesncCommonIndices<TypeTag, PVOffset> { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem)) FluidSystem; + typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; public: // number of dimensions diff --git a/dumux/geomechanics/el1p2c/el1p2cpropertydefaults.hh b/dumux/geomechanics/el1p2c/el1p2cpropertydefaults.hh index 155195f03c2d6ecdc58c3f822de1410f9d36be23..2079aec02a4af3cbd5fef2cfa0d3b34af2255e6c 100644 --- a/dumux/geomechanics/el1p2c/el1p2cpropertydefaults.hh +++ b/dumux/geomechanics/el1p2c/el1p2cpropertydefaults.hh @@ -56,7 +56,7 @@ namespace Properties SET_PROP(BoxElasticOnePTwoC, NumEq) { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum{dim = GridView::dimension}; public: static const int value = dim + 2; diff --git a/dumux/geomechanics/el2p/el2passembler.hh b/dumux/geomechanics/el2p/el2passembler.hh index 52f10b91e4027d9926cd4c812541aafbe0f31544..52767c4c5049147b914c610c35d91f2e7964417f 100644 --- a/dumux/geomechanics/el2p/el2passembler.hh +++ b/dumux/geomechanics/el2p/el2passembler.hh @@ -48,30 +48,30 @@ namespace PDELab { template<class TypeTag> class El2PAssembler { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Model)) Model; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(VertexMapper)) VertexMapper; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(ElementMapper)) ElementMapper; - - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PressureFEM)) PressureFEM; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PressureGridFunctionSpace)) PressureGFS; + typedef typename GET_PROP_TYPE(TypeTag, Model) Model; + typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; + 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, ElementMapper) ElementMapper; + + typedef typename GET_PROP_TYPE(TypeTag, PressureFEM) PressureFEM; + typedef typename GET_PROP_TYPE(TypeTag, PressureGridFunctionSpace) PressureGFS; typedef typename PressureGFS::template Child<0>::Type PressureScalarGFS; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(DisplacementFEM)) DisplacementFEM; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(DisplacementGridFunctionSpace)) DisplacementGFS; + typedef typename GET_PROP_TYPE(TypeTag, DisplacementFEM) DisplacementFEM; + typedef typename GET_PROP_TYPE(TypeTag, DisplacementGridFunctionSpace) DisplacementGFS; typedef typename DisplacementGFS::template Child<0>::Type DisplacementScalarGFS; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridFunctionSpace)) GridFunctionSpace; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Constraints)) Constraints; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(ConstraintsTrafo)) ConstraintsTrafo; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(LocalOperator)) LocalOperator; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridOperator)) GridOperator; + typedef typename GET_PROP_TYPE(TypeTag, GridFunctionSpace) GridFunctionSpace; + typedef typename GET_PROP_TYPE(TypeTag, Constraints) Constraints; + typedef typename GET_PROP_TYPE(TypeTag, ConstraintsTrafo) ConstraintsTrafo; + typedef typename GET_PROP_TYPE(TypeTag, LocalOperator) LocalOperator; + typedef typename GET_PROP_TYPE(TypeTag, GridOperator) GridOperator; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(SolutionVector)) SolutionVector; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(JacobianMatrix)) JacobianMatrix; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables; + typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; + typedef typename GET_PROP_TYPE(TypeTag, JacobianMatrix) JacobianMatrix; + typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; enum{dim = GridView::dimension}; typedef typename GridView::template Codim<0>::Entity Element; @@ -80,8 +80,8 @@ class El2PAssembler typedef typename GridView::template Codim<dim>::Entity Vertex; enum { - enablePartialReassemble = GET_PROP_VALUE(TypeTag, PTAG(ImplicitEnablePartialReassemble)), - enableJacobianRecycling = GET_PROP_VALUE(TypeTag, PTAG(ImplicitEnableJacobianRecycling)), + enablePartialReassemble = GET_PROP_VALUE(TypeTag, ImplicitEnablePartialReassemble), + enableJacobianRecycling = GET_PROP_VALUE(TypeTag, ImplicitEnableJacobianRecycling), }; // copying the jacobian assembler is not a good idea diff --git a/dumux/geomechanics/el2p/el2pelementvolumevariables.hh b/dumux/geomechanics/el2p/el2pelementvolumevariables.hh index d8796c4cd0b0347bd5150dcd95ac1221e2420c26..63f931831deed32473e2f51573ad38b87dc24fe2 100644 --- a/dumux/geomechanics/el2p/el2pelementvolumevariables.hh +++ b/dumux/geomechanics/el2p/el2pelementvolumevariables.hh @@ -39,28 +39,28 @@ namespace Dumux * volume variables object for each of the element's vertices */ template<class TypeTag> -class ElTwoPElementVolumeVariables : public std::vector<typename GET_PROP_TYPE(TypeTag, PTAG(VolumeVariables)) > +class ElTwoPElementVolumeVariables : public std::vector<typename GET_PROP_TYPE(TypeTag, VolumeVariables) > { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(VolumeVariables)) VolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(SolutionVector)) SolutionVector; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables; - - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; + 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, SolutionVector) SolutionVector; + typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; + + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; typedef typename Element::Geometry::JacobianInverseTransposed JacobianInverseTransposed; enum { dim = GridView::dimension }; enum { dimWorld = GridView::dimensionworld }; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridFunctionSpace)) GridFunctionSpace; + typedef typename GET_PROP_TYPE(TypeTag, GridFunctionSpace) GridFunctionSpace; typedef Dune::PDELab::LocalFunctionSpace<GridFunctionSpace> LocalFunctionSpace; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Indices)) Indices; + typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; enum { pressureIdx = Indices::pressureIdx, saturationIdx = Indices::saturationIdx diff --git a/dumux/geomechanics/el2p/el2pfluxvariables.hh b/dumux/geomechanics/el2p/el2pfluxvariables.hh index bced9283d55c17766b81feb89388d957c5c13688..b16908209fa23b09dd66436ec9c3fe56199d3d8f 100644 --- a/dumux/geomechanics/el2p/el2pfluxvariables.hh +++ b/dumux/geomechanics/el2p/el2pfluxvariables.hh @@ -60,11 +60,11 @@ NEW_PROP_TAG(SpatialParams); { typedef ImplicitDarcyFluxVariables<TypeTag> TwoPBase; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem; + typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, SpatialParams) SpatialParams; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(ElementVolumeVariables)) ElementVolumeVariables; + typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; enum { @@ -73,7 +73,7 @@ NEW_PROP_TAG(SpatialParams); }; typedef typename GridView::ctype CoordScalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; typedef Dune::FieldVector<CoordScalar, dim> DimVector; typedef Dune::FieldMatrix<Scalar, dimWorld, dimWorld> DimMatrix; @@ -81,7 +81,7 @@ NEW_PROP_TAG(SpatialParams); typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename FVElementGeometry::SubControlVolumeFace SCVFace; - enum {numEq = GET_PROP_VALUE(TypeTag, PTAG(NumEq))}; + enum {numEq = GET_PROP_VALUE(TypeTag, NumEq)}; public: /* @@ -165,7 +165,7 @@ NEW_PROP_TAG(SpatialParams); const Element &element, const ElementVolumeVariables &elemVolVars) { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridFunctionSpace)) GridFunctionSpace; + typedef typename GET_PROP_TYPE(TypeTag, GridFunctionSpace) GridFunctionSpace; typedef Dune::PDELab::LocalFunctionSpace<GridFunctionSpace> LocalFunctionSpace; const GridFunctionSpace& gridFunctionSpace = problem.model().jacobianAssembler().gridFunctionSpace(); const typename GridFunctionSpace::Ordering& ordering = gridFunctionSpace.ordering(); diff --git a/dumux/geomechanics/el2p/el2plocaljacobian.hh b/dumux/geomechanics/el2p/el2plocaljacobian.hh index 7acfd7bec316fe8f1b3b94e691d1ef3ebf3dff91..6b59ecbfb95d71ec9227e06646ad1eb116f6a912 100644 --- a/dumux/geomechanics/el2p/el2plocaljacobian.hh +++ b/dumux/geomechanics/el2p/el2plocaljacobian.hh @@ -50,7 +50,7 @@ private: typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Indices)) Indices; + typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; enum { pressureIdx = Indices::pressureIdx, saturationIdx = Indices::saturationIdx @@ -110,7 +110,7 @@ public: int col, int pvIdx) { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridFunctionSpace)) GridFunctionSpace; + typedef typename GET_PROP_TYPE(TypeTag, GridFunctionSpace) GridFunctionSpace; typedef Dune::PDELab::LocalFunctionSpace<GridFunctionSpace> LocalFunctionSpace; // copy the values of the globalSol vector to the localFunctionSpace values of the current element diff --git a/dumux/geomechanics/el2p/el2plocaloperator.hh b/dumux/geomechanics/el2p/el2plocaloperator.hh index b2b15c85d2b715b1461f264f43397d3bc84121f0..1733b120eeb57d591f1901e77335d5988f179c30 100644 --- a/dumux/geomechanics/el2p/el2plocaloperator.hh +++ b/dumux/geomechanics/el2p/el2plocaloperator.hh @@ -55,25 +55,25 @@ class El2PLocalOperator // copying the local operator for PDELab is not a good idea El2PLocalOperator(const El2PLocalOperator &); - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Model)) Model; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(MaterialLaw)) MaterialLaw; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(MaterialLawParams)) MaterialLawParams; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Model) Model; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw; + typedef typename GET_PROP_TYPE(TypeTag, MaterialLawParams) MaterialLawParams; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity::Geometry::JacobianInverseTransposed JacobianInverseTransposed; typedef typename GridView::IntersectionIterator IntersectionIterator; typedef typename GridView::Intersection Intersection; typedef typename Dune::PDELab::IntersectionGeometry<Intersection>::ctype DT; - enum{numEq = GET_PROP_VALUE(TypeTag, PTAG(NumEq))}; + enum{numEq = GET_PROP_VALUE(TypeTag, NumEq)}; enum{dim = GridView::dimension}; enum{dimWorld = GridView::dimensionworld}; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; typedef Dune::FieldVector<Scalar, dim> DimVector; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Indices)) Indices; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(BoundaryTypes)) BoundaryTypes; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables; + typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; + typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; + typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) VolumeVariables; enum { diff --git a/dumux/geomechanics/el2p/el2plocalresidual.hh b/dumux/geomechanics/el2p/el2plocalresidual.hh index c1400c2ab20967ce314686383205e88fde646507..064a6eb416638e50b65e241de8e8fb3d2e36c5eb 100644 --- a/dumux/geomechanics/el2p/el2plocalresidual.hh +++ b/dumux/geomechanics/el2p/el2plocalresidual.hh @@ -41,8 +41,8 @@ template<class TypeTag> class ElTwoPLocalResidual: public BoxLocalResidual<TypeTag> { protected: typedef typename GET_PROP_TYPE(TypeTag, LocalResidual) Implementation; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum { dim = GridView::dimension @@ -58,7 +58,7 @@ protected: typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; enum { - numFluidPhases = GET_PROP_VALUE(TypeTag, PTAG(NumPhases)) + numFluidPhases = GET_PROP_VALUE(TypeTag, NumPhases) }; enum { contiWEqIdx = Indices::contiWEqIdx, @@ -68,7 +68,7 @@ protected: }; //TODO: delete this if not required // only effective porosity update in element variables doesn't work - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridFunctionSpace)) GridFunctionSpace; + typedef typename GET_PROP_TYPE(TypeTag, GridFunctionSpace) GridFunctionSpace; typedef Dune::PDELab::LocalFunctionSpace<GridFunctionSpace> LocalFunctionSpace; public: diff --git a/dumux/geomechanics/el2p/el2pmodel.hh b/dumux/geomechanics/el2p/el2pmodel.hh index ff2c7acf3106da6ae4f25245fc68fbcc15bd0d30..5ab223d8ab0609274b1d98d8d9b0a8831416aba0 100644 --- a/dumux/geomechanics/el2p/el2pmodel.hh +++ b/dumux/geomechanics/el2p/el2pmodel.hh @@ -103,9 +103,9 @@ NEW_PROP_TAG(InitialPressSat); //!< The initial pressure and saturation function template<class TypeTag> class ElTwoPModel: public GET_PROP_TYPE(TypeTag, BaseModel) { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GET_PROP_TYPE(TypeTag, ElementVolumeVariables) ElementVolumeVariables; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem; + typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; @@ -128,8 +128,8 @@ class ElTwoPModel: public GET_PROP_TYPE(TypeTag, BaseModel) typedef Dune::FieldVector<Scalar, dim> DimVector; typedef Dune::FieldMatrix<Scalar, dim, dim> DimMatrix; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(SolutionVector)) SolutionVector; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridFunctionSpace)) GridFunctionSpace; + typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; + typedef typename GET_PROP_TYPE(TypeTag, GridFunctionSpace) GridFunctionSpace; typedef Dune::PDELab::LocalFunctionSpace<GridFunctionSpace> LocalFunctionSpace; public: @@ -704,12 +704,12 @@ public: * \brief Applies the initial solution for all vertices of the grid. */ void applyInitialSolution_() { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(InitialPressSat)) InitialPressSat; + typedef typename GET_PROP_TYPE(TypeTag, InitialPressSat) InitialPressSat; InitialPressSat initialPressSat(this->problem_().gridView()); std::cout << "el2pmodel calls: initialPressSat" << std::endl; initialPressSat.setPressure(this->problem_().pInit()); - typedef typename GET_PROP_TYPE(TypeTag, PTAG(InitialDisplacement)) InitialDisplacement; + typedef typename GET_PROP_TYPE(TypeTag, InitialDisplacement) InitialDisplacement; InitialDisplacement initialDisplacement(this->problem_().gridView()); typedef Dune::PDELab::CompositeGridFunction<InitialPressSat, diff --git a/dumux/geomechanics/el2p/el2pnewtoncontroller.hh b/dumux/geomechanics/el2p/el2pnewtoncontroller.hh index ca41c4edb366028329eb5a2d5fa744e2ef72607a..9787b1a8aed73b549baf2b40c5ff364db82721cd 100644 --- a/dumux/geomechanics/el2p/el2pnewtoncontroller.hh +++ b/dumux/geomechanics/el2p/el2pnewtoncontroller.hh @@ -36,14 +36,14 @@ class ElTwoPNewtonController : public NewtonController<TypeTag> { typedef NewtonController<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(NewtonController)) Implementation; + typedef typename GET_PROP_TYPE(TypeTag, NewtonController) Implementation; typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(NewtonMethod)) NewtonMethod; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, NewtonMethod) NewtonMethod; typedef typename GET_PROP_TYPE(TypeTag, JacobianMatrix) JacobianMatrix; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(SolutionVector)) SolutionVector; + typedef typename GET_PROP_TYPE(TypeTag, SolutionVector) SolutionVector; typedef typename GET_PROP_TYPE(TypeTag, LinearSolver) LinearSolver; public: diff --git a/dumux/geomechanics/el2p/el2ppropertydefaults.hh b/dumux/geomechanics/el2p/el2ppropertydefaults.hh index 59ac2e9e63e97b3d135d14d397b5e52f424596e6..2988a277296ded1250f4aef9261d5711222663d2 100644 --- a/dumux/geomechanics/el2p/el2ppropertydefaults.hh +++ b/dumux/geomechanics/el2p/el2ppropertydefaults.hh @@ -123,7 +123,7 @@ SET_BOOL_PROP(BoxElasticTwoP, EvalGradientsAtSCVCenter, true); SET_PROP(BoxElasticTwoP, MaterialLawParams) { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(MaterialLaw)) MaterialLaw; + typedef typename GET_PROP_TYPE(TypeTag, MaterialLaw) MaterialLaw; public: typedef typename MaterialLaw::Params type; @@ -225,12 +225,12 @@ public: SET_PROP(BoxElasticTwoP, PressureGridFunctionSpace) {private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PressureFEM)) FEM; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, PressureFEM) FEM; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename Dune::PDELab::EntityBlockedOrderingTag OrderingTag; typedef typename Dune::PDELab::ISTLVectorBackend<> VBE; - enum{numEq = GET_PROP_VALUE(TypeTag, PTAG(NumEq)), + enum{numEq = GET_PROP_VALUE(TypeTag, NumEq), dim = GridView::dimension}; public: typedef Dune::PDELab::NoConstraints Constraints; @@ -247,9 +247,9 @@ public: SET_PROP(BoxElasticTwoP, DisplacementGridFunctionSpace) {private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(DisplacementFEM)) FEM; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, DisplacementFEM) FEM; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename Dune::PDELab::EntityBlockedOrderingTag OrderingTag; typedef typename Dune::PDELab::ISTLVectorBackend<> VBE; enum{dim = GridView::dimension}; @@ -268,9 +268,9 @@ public: SET_PROP(BoxElasticTwoP, GridFunctionSpace) {private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PressureGridFunctionSpace)) PressureGFS; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(DisplacementGridFunctionSpace)) DisplacementGFS; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, PressureGridFunctionSpace) PressureGFS; + typedef typename GET_PROP_TYPE(TypeTag, DisplacementGridFunctionSpace) DisplacementGFS; typedef typename Dune::PDELab::LexicographicOrderingTag OrderingTag; typedef typename Dune::PDELab::ISTLVectorBackend<> VBE; public: @@ -360,8 +360,8 @@ public: SET_PROP(BoxElasticTwoP, PrimaryVariables) { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - enum{numEq = GET_PROP_VALUE(TypeTag, PTAG(NumEq))}; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + enum{numEq = GET_PROP_VALUE(TypeTag, NumEq)}; public: typedef Dune::FieldVector<Scalar, numEq> type; }; diff --git a/dumux/geomechanics/el2p/el2pvolumevariables.hh b/dumux/geomechanics/el2p/el2pvolumevariables.hh index 471ff57496a1046525457728a13a83e75576cf92..6337549ff953a46ec5de84d00ead849a71a03c88 100644 --- a/dumux/geomechanics/el2p/el2pvolumevariables.hh +++ b/dumux/geomechanics/el2p/el2pvolumevariables.hh @@ -44,23 +44,23 @@ template<class TypeTag> class ElTwoPVolumeVariables: public TwoPVolumeVariables<TypeTag> { typedef TwoPVolumeVariables<TypeTag> TwoPBase; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(VolumeVariables)) Implementation; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Indices)) Indices; + typedef typename GET_PROP_TYPE(TypeTag, Problem) Problem; + typedef typename GET_PROP_TYPE(TypeTag, VolumeVariables) Implementation; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; + typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; enum { wPhaseIdx = Indices::wPhaseIdx, nPhaseIdx = Indices::nPhaseIdx }; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; typedef typename GridView::template Codim<0>::Entity Element; enum { dim = GridView::dimension }; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef Dune::FieldVector<Scalar, dim> DimVector; public: diff --git a/dumux/geomechanics/elastic/elasticpropertydefaults.hh b/dumux/geomechanics/elastic/elasticpropertydefaults.hh index 48e7752ff2a7f40336593f0138ab88df502bbcc2..69edcc968d5a794aa311c9c3969a0f776f9e7aff 100644 --- a/dumux/geomechanics/elastic/elasticpropertydefaults.hh +++ b/dumux/geomechanics/elastic/elasticpropertydefaults.hh @@ -53,7 +53,7 @@ namespace Properties SET_PROP(BoxElastic, NumEq) { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum{dim = GridView::dimension}; public: static const int value = dim; diff --git a/dumux/material/fluidsystems/brineco2fluidsystem.hh b/dumux/material/fluidsystems/brineco2fluidsystem.hh index 3fe4b8f1638e599a796667a16b16cd0365b34d1d..221252037b1f9df3e182e811b13670245f7871ef 100644 --- a/dumux/material/fluidsystems/brineco2fluidsystem.hh +++ b/dumux/material/fluidsystems/brineco2fluidsystem.hh @@ -779,15 +779,15 @@ SET_SCALAR_PROP(NumericModel, ProblemSalinity, 1e-3); template <class TypeTag, bool verbose=true> class BrineCO2FluidSystem -: public FluidSystems::BrineCO2<typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)), - typename GET_PROP_TYPE(TypeTag, PTAG(CO2Table)), +: public FluidSystems::BrineCO2<typename GET_PROP_TYPE(TypeTag, Scalar), + typename GET_PROP_TYPE(TypeTag, CO2Table), typename GET_PROP(TypeTag, Components)::H2O, typename GET_PROP(TypeTag, Components)::BrineRawComponent, typename GET_PROP(TypeTag, Components)::Brine> { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename FluidSystems::BrineCO2<typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)), - typename GET_PROP_TYPE(TypeTag, PTAG(CO2Table)), + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename FluidSystems::BrineCO2<typename GET_PROP_TYPE(TypeTag, Scalar), + typename GET_PROP_TYPE(TypeTag, CO2Table), typename GET_PROP(TypeTag, Components)::H2O, typename GET_PROP(TypeTag, Components)::BrineRawComponent, typename GET_PROP(TypeTag, Components)::Brine> ParentType; diff --git a/test/geomechanics/el1p2c/el1p2cspatialparams.hh b/test/geomechanics/el1p2c/el1p2cspatialparams.hh index 4336ae83b57d942b11d9014d70f846144e2abda5..3d491ba0ce64e0bfb6e2f1fc3c8b9bbd618a17ea 100644 --- a/test/geomechanics/el1p2c/el1p2cspatialparams.hh +++ b/test/geomechanics/el1p2c/el1p2cspatialparams.hh @@ -56,9 +56,9 @@ template<class TypeTag> class El1P2CSpatialParams : public ImplicitSpatialParamsOneP<TypeTag> { typedef ImplicitSpatialParamsOneP<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Grid)) Grid; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + 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, @@ -68,7 +68,7 @@ class El1P2CSpatialParams : public ImplicitSpatialParamsOneP<TypeTag> typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; typedef Dune::FieldMatrix<Scalar,dim,dim> DimMatrix; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; public: diff --git a/test/geomechanics/el2p/el2pproblem.hh b/test/geomechanics/el2p/el2pproblem.hh index d7650aecc08eac8079ae89f0564a0efcdd5d8318..3828fafb50ccc0b3893d839a129a1fa1b4ded146 100644 --- a/test/geomechanics/el2p/el2pproblem.hh +++ b/test/geomechanics/el2p/el2pproblem.hh @@ -97,8 +97,8 @@ SET_TYPE_PROP(El2P_TestProblem, SpatialParams, El2PSpatialParams<TypeTag>); SET_PROP(El2P_TestProblem, InitialDisplacement) { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; enum{dim = GridView::dimension}; public: typedef Dumux::InitialDisplacement<GridView, Scalar, dim> type; @@ -108,8 +108,8 @@ public: SET_PROP(El2P_TestProblem, InitialPressSat) { private: - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; public: typedef Dumux::InitialPressSat<GridView, Scalar> type; }; @@ -160,11 +160,11 @@ template<class TypeTag = TTAG(El2P_TestProblem)> class El2P_TestProblem : public ImplicitPorousMediaProblem<TypeTag> { typedef ImplicitPorousMediaProblem<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Grid)) Grid; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Indices)) Indices; + typedef typename GET_PROP_TYPE(TypeTag, GridView) GridView; + typedef typename GET_PROP_TYPE(TypeTag, Grid) Grid; + typedef typename GET_PROP_TYPE(TypeTag, Indices) Indices; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FluidSystem)) FluidSystem; + typedef typename GET_PROP_TYPE(TypeTag, FluidSystem) FluidSystem; enum { // Grid and world dimension @@ -188,26 +188,26 @@ class El2P_TestProblem : public ImplicitPorousMediaProblem<TypeTag> }; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(PrimaryVariables)) PrimaryVariables; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(BoundaryTypes)) BoundaryTypes; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(TimeManager)) TimeManager; + typedef typename GET_PROP_TYPE(TypeTag, PrimaryVariables) PrimaryVariables; + typedef typename GET_PROP_TYPE(TypeTag, BoundaryTypes) BoundaryTypes; + 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 GridView::template Codim<dim>::Iterator VertexIterator; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(VertexMapper)) VertexMapper; + typedef typename GET_PROP_TYPE(TypeTag, VertexMapper) VertexMapper; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + typedef typename GET_PROP_TYPE(TypeTag, Scalar) Scalar; typedef typename Grid::ctype CoordScalar; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; typedef Dune::BlockVector<GlobalPosition> InitialStressField; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(LocalFEMSpace)) LocalFEMSpace; + typedef typename GET_PROP_TYPE(TypeTag, LocalFEMSpace) LocalFEMSpace; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(CO2Table)) CO2Table; + typedef typename GET_PROP_TYPE(TypeTag, CO2Table) CO2Table; typedef Dumux::CO2<Scalar, CO2Table> CO2; public: diff --git a/test/geomechanics/el2p/el2pspatialparams.hh b/test/geomechanics/el2p/el2pspatialparams.hh index ef04c5550202215deaacc1bf31eba51bc2ff39da..ce4608a6128cb40d54d65e5909dd87ac4172dc0e 100644 --- a/test/geomechanics/el2p/el2pspatialparams.hh +++ b/test/geomechanics/el2p/el2pspatialparams.hh @@ -69,9 +69,9 @@ template<class TypeTag> class El2PSpatialParams : public ImplicitSpatialParams<TypeTag> { typedef ImplicitSpatialParams<TypeTag> ParentType; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Grid)) Grid; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + 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, @@ -81,7 +81,7 @@ class El2PSpatialParams : public ImplicitSpatialParams<TypeTag> typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; typedef Dune::FieldMatrix<Scalar,dim,dim> DimMatrix; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; public: diff --git a/test/geomechanics/el2p/test_el2p.cc b/test/geomechanics/el2p/test_el2p.cc index 35a3c374dcaa0d625d72758168b8adb884d09402..f59c6d8afa9ec3752333f0ffe50f2d9340dec558 100644 --- a/test/geomechanics/el2p/test_el2p.cc +++ b/test/geomechanics/el2p/test_el2p.cc @@ -32,9 +32,9 @@ int main(int argc, char** argv) { try { typedef TTAG(El2P_TestProblem) TypeTag; - typedef GET_PROP_TYPE(TypeTag, PTAG(Grid)) Grid; - typedef GET_PROP_TYPE(TypeTag, PTAG(Problem)) Problem; - typedef GET_PROP_TYPE(TypeTag, PTAG(TimeManager)) TimeManager; + typedef GET_PROP_TYPE(TypeTag, Grid) Grid; + typedef GET_PROP_TYPE(TypeTag, Problem) Problem; + typedef GET_PROP_TYPE(TypeTag, TimeManager) TimeManager; typedef Dune::GridPtr<Grid> GridPointer; // initialize MPI, finalize is done automatically on exit diff --git a/test/geomechanics/elastic/elasticspatialparams.hh b/test/geomechanics/elastic/elasticspatialparams.hh index 8dfd4a9cdce11a0e728065aa34d8392dd84ee48a..b6a1aeb6a173ee2673ade727c55c2a2fe8d7651d 100644 --- a/test/geomechanics/elastic/elasticspatialparams.hh +++ b/test/geomechanics/elastic/elasticspatialparams.hh @@ -53,9 +53,9 @@ SET_TYPE_PROP(ElSpatialParams, SpatialParams, Dumux::ElSpatialParams<TypeTag>); template<class TypeTag> class ElSpatialParams { - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Grid)) Grid; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(GridView)) GridView; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(Scalar)) Scalar; + 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 { dimWorld=GridView::dimensionworld, @@ -63,7 +63,7 @@ class ElSpatialParams typedef Dune::FieldVector<CoordScalar,dimWorld> GlobalPosition; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(FVElementGeometry)) FVElementGeometry; + typedef typename GET_PROP_TYPE(TypeTag, FVElementGeometry) FVElementGeometry; typedef typename GridView::template Codim<0>::Entity Element; public: diff --git a/test/implicit/co2/heterogeneousproblem.hh b/test/implicit/co2/heterogeneousproblem.hh index 25801fec7c478b130d4d937f859c19ea35c8ee9d..ddb0b2bff1e62691f5ada01d4eae197ae47eb682 100644 --- a/test/implicit/co2/heterogeneousproblem.hh +++ b/test/implicit/co2/heterogeneousproblem.hh @@ -153,7 +153,7 @@ class HeterogeneousProblem : public ImplicitPorousMediaProblem<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, GridCreator) GridCreator; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(CO2Table)) CO2Table; + typedef typename GET_PROP_TYPE(TypeTag, CO2Table) CO2Table; typedef Dumux::CO2<Scalar, CO2Table> CO2; enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) }; enum { dofCodim = isBox ? dim : 0 }; diff --git a/test/implicit/co2/heterogeneousproblemni.hh b/test/implicit/co2/heterogeneousproblemni.hh index d60fd23bb0b321a0eaeb12e55c1d3420c3b43ba0..bcfa16951a408cf0111b742f9f186dc2d47171b7 100644 --- a/test/implicit/co2/heterogeneousproblemni.hh +++ b/test/implicit/co2/heterogeneousproblemni.hh @@ -159,7 +159,7 @@ class HeterogeneousNIProblem : public ImplicitPorousMediaProblem<TypeTag> typedef typename GET_PROP_TYPE(TypeTag, GridCreator) GridCreator; typedef Dune::FieldVector<Scalar, dimWorld> GlobalPosition; - typedef typename GET_PROP_TYPE(TypeTag, PTAG(CO2Table)) CO2Table; + typedef typename GET_PROP_TYPE(TypeTag, CO2Table) CO2Table; typedef Dumux::CO2<Scalar, CO2Table> CO2; enum { isBox = GET_PROP_VALUE(TypeTag, ImplicitIsBox) }; enum { dofCodim = isBox ? dim : 0 };