diff --git a/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh b/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh index b6f1fd18532f574055753d2eafa66f461da8905f..e128f43cd66d68546b88a1c2c2aae8408ed647f0 100644 --- a/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh +++ b/dumux/porousmediumflow/boxdfm/subcontrolvolume.hh @@ -26,6 +26,7 @@ #define DUMUX_POROUSMEDIUMFLOW_BOXDFM_SUBCONTROLVOLUME_HH #include <dune/common/reservedvector.hh> +#include <dune/geometry/type.hh> #include <dune/geometry/multilineargeometry.hh> #include <dumux/discretization/subcontrolvolumebase.hh> @@ -69,7 +70,7 @@ struct BoxDfmDefaultScvGeometryTraits struct hasSingleGeometryType { static const bool v = true; - static const unsigned int topologyId = Dune::Impl::CubeTopology< mydim >::type::id; + static const unsigned int topologyId = Dune::GeometryTypes::cube(mydim).id(); }; }; diff --git a/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh b/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh index 259ea09672f55908e467b2b12979383f0d1499ef..c3a96de2872c64f231332ad118e4d9753840e6d0 100644 --- a/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh +++ b/dumux/porousmediumflow/boxdfm/subcontrolvolumeface.hh @@ -72,7 +72,7 @@ struct BoxDfmDefaultScvfGeometryTraits struct hasSingleGeometryType { static const bool v = true; - static const unsigned int topologyId = Dune::Impl::CubeTopology< mydim >::type::id; + static const unsigned int topologyId = Dune::GeometryTypes::cube(mydim).id(); }; };