From 0b506cb3f08cc55fcc0aa3ae3728aac78dd5b1d2 Mon Sep 17 00:00:00 2001
From: Ivan Buntic <st116086@stud.uni-stuttgart.de>
Date: Sun, 3 Oct 2021 10:05:15 +0200
Subject: [PATCH] [discmethod] Use and export discretiztaion tags in
 StationaryVelocityField

---
 dumux/flux/stationaryvelocityfield.hh | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/dumux/flux/stationaryvelocityfield.hh b/dumux/flux/stationaryvelocityfield.hh
index 4f04257adb..f6bab51bda 100644
--- a/dumux/flux/stationaryvelocityfield.hh
+++ b/dumux/flux/stationaryvelocityfield.hh
@@ -43,8 +43,9 @@ template <class Scalar>
 class StationaryVelocityField
 {
 public:
+    using DiscretizationMethod = DiscretizationMethods::None;
     //! state the discretization method this implementation belongs to
-    static const DiscretizationMethod discMethod = DiscretizationMethod::none;
+    static constexpr DiscretizationMethod discMethod{};
 
     //! state the type for the corresponding cache
     using Cache = FluxVariablesCaching::EmptyAdvectionCache;
-- 
GitLab