Commit ef3d80e9 authored by Ned Coltman's avatar Ned Coltman
Browse files

Merge branch 'cleanup/remove-cubetopo-deprecation-warning' into 'master'

[cleanup][boxdfm] Remove CubeTopology deprecation warning

See merge request !2645
parents a48031e0 cc473d36
Pipeline #4452 passed with stages
in 0 seconds
......@@ -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();
};
};
......
......@@ -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();
};
};
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment