From 392084d275baa495660761c074884dfd0d2385ba Mon Sep 17 00:00:00 2001 From: Timo Koch <timokoch@math.uio.no> Date: Tue, 26 Jul 2022 14:14:37 +0000 Subject: [PATCH] [disc] Remove old enum Discretization method that had been deprecated Use the tags from the DiscretizationMethods namespace --- dumux/discretization/method.hh | 20 ++------------------ 1 file changed, 2 insertions(+), 18 deletions(-) diff --git a/dumux/discretization/method.hh b/dumux/discretization/method.hh index 2b85190919..0a378d9a66 100644 --- a/dumux/discretization/method.hh +++ b/dumux/discretization/method.hh @@ -29,22 +29,7 @@ #include <dumux/common/tag.hh> -namespace Dumux { - -/*! - * \brief The available discretization methods in Dumux - * \ingroup Discretization - * \note Use none if specifying a discretization method is required but - * the class in question is not specific to a a discretization method - * or the classification is non-applicable - */ -enum class DiscretizationMethod -{ - none, box, cctpfa, ccmpfa, staggered, fem, fcstaggered -}; - - -namespace DiscretizationMethods { +namespace Dumux::DiscretizationMethods { struct CCTpfa : public Utility::Tag<CCTpfa> { static std::string name() { return "cctpfa"; } @@ -99,7 +84,6 @@ inline constexpr FCStaggered fcstaggered{}; inline constexpr FCDiamond fcdiamond{}; inline constexpr None none{}; -} // end namespace DiscretizationMethods -} // end namespace Dumux +} // end namespace Dumux::DiscretizationMethods #endif -- GitLab