From 11c32d98a6829ed28f11f110b0b5f2303050af85 Mon Sep 17 00:00:00 2001 From: Ivan Buntic Date: Fri, 17 Sep 2021 14:29:49 +0200 Subject: [PATCH] [Tag] Updated hookeslaw. --- dumux/flux/box/hookeslaw.hh | 7 +++++-- dumux/flux/hookeslaw.hh | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/dumux/flux/box/hookeslaw.hh b/dumux/flux/box/hookeslaw.hh index e7dfe83832..f750acd26f 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 a194ea95c0..1878dd3251 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 -- GitLab