From 45b21069591b59e452e0676bdf2961bd932b9926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de> Date: Fri, 6 Apr 2018 10:50:05 +0200 Subject: [PATCH] [spatialparams] state material law type --- dumux/material/spatialparams/fv.hh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/dumux/material/spatialparams/fv.hh b/dumux/material/spatialparams/fv.hh index f97b121c5d..d95952de6b 100644 --- a/dumux/material/spatialparams/fv.hh +++ b/dumux/material/spatialparams/fv.hh @@ -50,9 +50,11 @@ class FVSpatialParams: public FVSpatialParamsOneP<TypeTag> using GlobalPosition = Dune::FieldVector<typename GridView::ctype, dimWorld>; public: - FVSpatialParams(const Problem& problem) - : FVSpatialParamsOneP<TypeTag>(problem) - {} + //! export the type used for the material law + using MaterialLaw = typename GET_PROP_TYPE(TypeTag, MaterialLaw); + + //! The constructor + FVSpatialParams(const Problem& problem) : FVSpatialParamsOneP<TypeTag>(problem) {} /*! * \brief Function for defining the parameters needed by constitutive relationships (kr-sw, pc-sw, etc.). -- GitLab