Skip to content
Snippets Groups Projects
Commit 463b5abd authored by Ivan Buntic's avatar Ivan Buntic Committed by Timo Koch
Browse files

[discmethod] Use discretization tags for Hookeslaw

parent c6f24926
No related branches found
No related tags found
1 merge request!2844Feature/discretization tags introduction
......@@ -40,7 +40,7 @@ namespace Dumux {
* \tparam GridGeometry the grid geometry
*/
template<class ScalarType, class GridGeometry>
class HookesLaw<ScalarType, GridGeometry, DiscretizationMethod::box>
class HookesLaw<ScalarType, GridGeometry, typename GridGeometry::DiscretizationMethod>
{
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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment