diff --git a/dumux/discretization/box/fvgridgeometry.hh b/dumux/discretization/box/fvgridgeometry.hh index 3736f7781dd46d03106913b1541766481deec3a5..1df7688e820701b2670a5cd5546782df42604edd 100644 --- a/dumux/discretization/box/fvgridgeometry.hh +++ b/dumux/discretization/box/fvgridgeometry.hh @@ -45,9 +45,9 @@ namespace Dumux { * Defines the scv and scvf types and the mapper types * \tparam the grid view type */ -template<class GridView> +template<class GridView, class MapperTraits = DefaultMapperTraits<GridView>> struct BoxDefaultGridGeometryTraits -: public DefaultMapperTraits<GridView> +: public MapperTraits { using SubControlVolume = BoxSubControlVolume<GridView>; using SubControlVolumeFace = BoxSubControlVolumeFace<GridView>; diff --git a/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh b/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh index bd874db720f736153ee6d386cab5af937ebe0db7..9cbf47d78debdff59d75885e42885efafe066730 100644 --- a/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh +++ b/dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh @@ -44,9 +44,9 @@ namespace Dumux { * Defines the scv and scvf types and the mapper types * \tparam the grid view type */ -template<class GridView> +template<class GridView, class MapperTraits = DefaultMapperTraits<GridView>> struct CCTpfaDefaultGridGeometryTraits -: public DefaultMapperTraits<GridView> +: public MapperTraits { using SubControlVolume = CCSubControlVolume<GridView>; using SubControlVolumeFace = CCTpfaSubControlVolumeFace<GridView>; diff --git a/dumux/discretization/staggered/freeflow/fvgridgeometrytraits.hh b/dumux/discretization/staggered/freeflow/fvgridgeometrytraits.hh index 942a2d5fd16a720bedc4495c25e5ae5405058ddc..6499c59498870b930658154db262bd7c9017633d 100644 --- a/dumux/discretization/staggered/freeflow/fvgridgeometrytraits.hh +++ b/dumux/discretization/staggered/freeflow/fvgridgeometrytraits.hh @@ -40,8 +40,9 @@ namespace Dumux { * \ingroup StaggeredDiscretization * \brief Default traits for the finite volume grid geometry. */ -template<class GridView> -struct StaggeredFreeFlowDefaultFVGridGeometryTraits : public DefaultMapperTraits<GridView> +template<class GridView, class MapperTraits = DefaultMapperTraits<GridView>> +struct StaggeredFreeFlowDefaultFVGridGeometryTraits +: public MapperTraits { using SubControlVolume = CCSubControlVolume<GridView>; using SubControlVolumeFace = FreeFlowStaggeredSubControlVolumeFace<GridView>; diff --git a/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh b/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh index 908f720e08057fa8c4d719c571019c31eaf2ac00..a218adac3998a13e2182b9aef9821e5ffaf2fe05 100644 --- a/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh +++ b/dumux/porousmediumflow/boxdfm/fvgridgeometry.hh @@ -49,9 +49,9 @@ namespace Dumux { * Defines the scv and scvf types and the mapper types * \tparam the grid view type */ -template<class GridView> +template<class GridView, class MapperTraits = DefaultMapperTraits<GridView>> struct BoxDfmDefaultGridGeometryTraits -: public DefaultMapperTraits<GridView> +: public MapperTraits { using SubControlVolume = BoxDfmSubControlVolume<GridView>; using SubControlVolumeFace = BoxDfmSubControlVolumeFace<GridView>;