From b52abfa456664ee0d8d3d26b71e37c13565cecd5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de> Date: Thu, 15 Nov 2018 11:15:47 +0100 Subject: [PATCH] [mpfa][properties] use mpfa-o as default for primary iv --- dumux/discretization/cellcentered/mpfa/properties.hh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/dumux/discretization/cellcentered/mpfa/properties.hh b/dumux/discretization/cellcentered/mpfa/properties.hh index 9741f71c65..44180aba17 100644 --- a/dumux/discretization/cellcentered/mpfa/properties.hh +++ b/dumux/discretization/cellcentered/mpfa/properties.hh @@ -73,8 +73,14 @@ public: template<class TypeTag> struct PrimaryInteractionVolume<TypeTag, TTag::CCMpfaModel> { +private: + using Scalar = typename GET_PROP_TYPE(TypeTag, Scalar); + using NodalIndexSet = typename GET_PROP_TYPE(TypeTag, DualGridNodalIndexSet); + + // use the default traits + using Traits = CCMpfaODefaultInteractionVolumeTraits< NodalIndexSet, Scalar >; public: - using type = GetPropType<TypeTag, Properties::SecondaryInteractionVolume>; + using type = CCMpfaOInteractionVolume< Traits >; }; //! Per default, we use the dynamic mpfa-o interaction volume on boundaries -- GitLab