diff --git a/dumux/flux/box/hookeslaw.hh b/dumux/flux/box/hookeslaw.hh index e7dfe838321cd666573bddac73aaeadae9b5f2e7..f750acd26f406ce194ac6f516d49a8773decaeea 100644 --- a/dumux/flux/box/hookeslaw.hh +++ b/dumux/flux/box/hookeslaw.hh @@ -40,7 +40,7 @@ namespace Dumux { * \tparam GridGeometry the grid geometry */ template -class HookesLaw +class HookesLaw { using FVElementGeometry = typename GridGeometry::LocalView; using SubControlVolumeFace = typename GridGeometry::SubControlVolumeFace; @@ -61,7 +61,10 @@ public: //! export the type used for force vectors using ForceVector = typename StressTensor::row_type; //! state the discretization method this implementation belongs to - static constexpr DiscretizationMethod discMethod = DiscretizationMethod::box; + + using DiscretizationMethod = DiscretizationMethods::Box; + // state the discretization method this implementation belongs to + static constexpr DiscretizationMethod discMethod{}; /*! * \brief Returns the force (in Newton) acting on a sub-control volume face. diff --git a/dumux/flux/hookeslaw.hh b/dumux/flux/hookeslaw.hh index a194ea95c0618fef0ff266422fc377a5bc4426e3..1878dd32510ef2e9b24aa9a97380f45231cadacd 100644 --- a/dumux/flux/hookeslaw.hh +++ b/dumux/flux/hookeslaw.hh @@ -35,7 +35,7 @@ namespace Dumux { * \note Specializations are provided for the different discretization methods. * These specializations are found in the headers included below. */ -template +template class HookesLaw; } // end namespace Dumux