diff --git a/dumux/flux/stationaryvelocityfield.hh b/dumux/flux/stationaryvelocityfield.hh index 4f04257adb6e1b2258d9223168e1b37d9e943098..f6bab51bda800c5d4147f8819b48f96d9b4e98db 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;