diff --git a/dumux/freeflow/compositional/fluxvariables.hh b/dumux/freeflow/compositional/fluxvariables.hh index 7d1fadbbd769980fb0aab918fbec5d070d1ebf15..da91e4b3819af2ecd6a7d477caa57a23151be615 100644 --- a/dumux/freeflow/compositional/fluxvariables.hh +++ b/dumux/freeflow/compositional/fluxvariables.hh @@ -30,7 +30,7 @@ namespace Dumux { // forward declaration -template<class TypeTag, DiscretizationMethod discMethod> +template<class TypeTag, class DiscretizationMethod> class FreeflowNCFluxVariablesImpl; /*! @@ -41,7 +41,7 @@ class FreeflowNCFluxVariablesImpl; * \note Not all specializations are currently implemented */ template<class TypeTag> -using FreeflowNCFluxVariables = FreeflowNCFluxVariablesImpl<TypeTag, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>; +using FreeflowNCFluxVariables = FreeflowNCFluxVariablesImpl<TypeTag, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>; } // end namespace diff --git a/dumux/freeflow/compositional/localresidual.hh b/dumux/freeflow/compositional/localresidual.hh index 67dcf0b9e1f24c4ddea7c27b906c8c886baa9a54..c8d18e593f63fb1b2abc3986a3fdb862812c1f49 100644 --- a/dumux/freeflow/compositional/localresidual.hh +++ b/dumux/freeflow/compositional/localresidual.hh @@ -32,7 +32,7 @@ namespace Dumux { // forward declaration -template<class TypeTag, DiscretizationMethod discMethod> +template<class TypeTag, class DiscretizationMethod> class FreeflowNCResidualImpl; /*! @@ -43,7 +43,7 @@ class FreeflowNCResidualImpl; * \note Not all specializations are currently implemented */ template<class TypeTag> -using FreeflowNCResidual = FreeflowNCResidualImpl<TypeTag, GetPropType<TypeTag, Properties::GridGeometry>::discMethod>; +using FreeflowNCResidual = FreeflowNCResidualImpl<TypeTag, typename GetPropType<TypeTag, Properties::GridGeometry>::DiscretizationMethod>; } diff --git a/dumux/freeflow/compositional/staggered/fluxvariables.hh b/dumux/freeflow/compositional/staggered/fluxvariables.hh index 82e7bb90be8b5e723437b07a75e8903eb0168d8e..b6c3db8f517e7cb53177af4067e5d4d46e4c47dd 100644 --- a/dumux/freeflow/compositional/staggered/fluxvariables.hh +++ b/dumux/freeflow/compositional/staggered/fluxvariables.hh @@ -39,11 +39,11 @@ namespace Dumux { */ // forward declaration -template<class TypeTag, DiscretizationMethod discMethod> +template<class TypeTag, class DiscretizationMethod> class FreeflowNCFluxVariablesImpl; template<class TypeTag> -class FreeflowNCFluxVariablesImpl<TypeTag, DiscretizationMethod::staggered> +class FreeflowNCFluxVariablesImpl<TypeTag, DiscretizationMethods::Staggered> : public NavierStokesFluxVariables<TypeTag> { using ParentType = NavierStokesFluxVariables<TypeTag>; diff --git a/dumux/freeflow/compositional/staggered/localresidual.hh b/dumux/freeflow/compositional/staggered/localresidual.hh index 72422ed5adc2ecbd3c815755ed3ff162c958a085..11036077c90083e50432c83d6bd23b2681d2aa4f 100644 --- a/dumux/freeflow/compositional/staggered/localresidual.hh +++ b/dumux/freeflow/compositional/staggered/localresidual.hh @@ -36,11 +36,11 @@ namespace Dumux { */ // forward declaration -template<class TypeTag, DiscretizationMethod discMethod> +template<class TypeTag, class DiscretizationMethod> class FreeflowNCResidualImpl; template<class TypeTag> -class FreeflowNCResidualImpl<TypeTag, DiscretizationMethod::staggered> +class FreeflowNCResidualImpl<TypeTag, DiscretizationMethods::Staggered> : public NavierStokesResidual<TypeTag> { using ParentType = NavierStokesResidual<TypeTag>;