diff --git a/dumux/discretization/cellcentered/mpfa/properties.hh b/dumux/discretization/cellcentered/mpfa/properties.hh index 9741f71c65fdcb923d4505d11d578be6adc1f46a..44180aba17a4cf5b986ddce8404b2b8dd7e53066 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