diff --git a/dumux/discretization/ccmpfa.hh b/dumux/discretization/ccmpfa.hh index 4d5529e2d064e3a8f4767dd3ce840eff84b626f9..900f4bcbdf2208051997d7352b962e3b24898667 100644 --- a/dumux/discretization/ccmpfa.hh +++ b/dumux/discretization/ccmpfa.hh @@ -43,7 +43,6 @@ #include <dumux/discretization/cellcentered/mpfa/gridvolumevariables.hh> #include <dumux/discretization/cellcentered/mpfa/gridfluxvariablescache.hh> #include <dumux/discretization/cellcentered/mpfa/interactionvolumedatahandle.hh> -#include <dumux/discretization/cellcentered/mpfa/fluxvariablescachefiller.hh> #include <dumux/discretization/cellcentered/mpfa/dualgridindexset.hh> #include <dumux/discretization/cellcentered/mpfa/omethod/interactionvolume.hh> @@ -131,7 +130,7 @@ private: static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>(); using Problem = GetPropType<TypeTag, Properties::Problem>; using FluxVariablesCache = GetPropType<TypeTag, Properties::FluxVariablesCache>; - using FluxVariablesCacheFiller = CCMpfaFluxVariablesCacheFiller<TypeTag>; + using FluxVariablesCacheFiller = GetPropType<TypeTag, Properties::FluxVariablesCacheFiller>; using PrimaryInteractionVolume = GetPropType<TypeTag, Properties::PrimaryInteractionVolume>; using SecondaryInteractionVolume = GetPropType<TypeTag, Properties::SecondaryInteractionVolume>; diff --git a/dumux/discretization/cctpfa.hh b/dumux/discretization/cctpfa.hh index 54b98e206f6f792e6855bcbdd76e316eec7e0bef..66f2230181217d5f8f6acc4acce45b646d8ab300 100644 --- a/dumux/discretization/cctpfa.hh +++ b/dumux/discretization/cctpfa.hh @@ -39,7 +39,6 @@ #include <dumux/discretization/cellcentered/tpfa/fvgridgeometry.hh> #include <dumux/discretization/cellcentered/tpfa/gridvolumevariables.hh> #include <dumux/discretization/cellcentered/tpfa/gridfluxvariablescache.hh> -#include <dumux/discretization/cellcentered/tpfa/fluxvariablescachefiller.hh> #include <dumux/discretization/cellcentered/tpfa/subcontrolvolumeface.hh> namespace Dumux { @@ -82,7 +81,7 @@ private: static constexpr bool enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>(); using Problem = GetPropType<TypeTag, Properties::Problem>; using FluxVariablesCache = GetPropType<TypeTag, Properties::FluxVariablesCache>; - using FluxVariablesCacheFiller = CCTpfaFluxVariablesCacheFiller<TypeTag>; + using FluxVariablesCacheFiller = GetPropType<TypeTag, Properties::FluxVariablesCacheFiller>; public: using type = CCTpfaGridFluxVariablesCache<Problem, FluxVariablesCache, FluxVariablesCacheFiller, enableCache>; }; diff --git a/dumux/discretization/staggered.hh b/dumux/discretization/staggered.hh index 92696168fc0a94fb3c0da39ce5e6d5f276adf261..f601e09618a74631bf616696282efa1fd621c3ca 100644 --- a/dumux/discretization/staggered.hh +++ b/dumux/discretization/staggered.hh @@ -83,7 +83,7 @@ struct GridFluxVariablesCache<TypeTag, TTag::StaggeredModel> private: using Problem = GetPropType<TypeTag, Properties::Problem>; using FluxVariablesCache = GetPropType<TypeTag, Properties::FluxVariablesCache>; - using FluxVariablesCacheFiller = FluxVariablesCaching::EmptyCacheFiller; + using FluxVariablesCacheFiller = GetPropType<TypeTag, Properties::FluxVariablesCacheFiller>; static constexpr auto enableCache = getPropValue<TypeTag, Properties::EnableGridFluxVariablesCache>(); static constexpr auto upwindSchemeOrder = getPropValue<TypeTag, Properties::UpwindSchemeOrder>(); public: