Commit 30a1a999 authored by Ned Coltman's avatar Ned Coltman
Browse files

Merge branch 'cherry-pick-d6bb6553' into 'releases/3.2'

Merge branch 'fix/add-default-fluxcache-properties' into 'master'

See merge request !2157
parents 398f8fb8 2181a585
......@@ -33,6 +33,8 @@
#include <dumux/assembly/cclocalresidual.hh>
#include <dumux/flux/fluxvariablescaching.hh>
#include <dumux/discretization/fvproperties.hh>
#include <dumux/discretization/cellcentered/elementsolution.hh>
......@@ -162,6 +164,14 @@ struct ElementBoundaryTypes<TypeTag, TTag::CCMpfaModel> { using type = CCElement
//! Set the BaseLocalResidual to CCLocalResidual
template<class TypeTag>
struct BaseLocalResidual<TypeTag, TTag::CCMpfaModel> { using type = CCLocalResidual<TypeTag>; };
//! Set the default for the FluxVariablesCache
template<class TypeTag>
struct FluxVariablesCache<TypeTag, TTag::CCMpfaModel> { using type = FluxVariablesCaching::EmptyCache<GetPropType<TypeTag, Properties::Scalar>>; };
//! Set the default for the FluxVariablesCacheFiller
template<class TypeTag>
struct FluxVariablesCacheFiller<TypeTag, TTag::CCMpfaModel> { using type = FluxVariablesCaching::EmptyCacheFiller; };
} // namespace Properties
} // namespace Dumux
......
......@@ -33,6 +33,8 @@
#include <dumux/assembly/cclocalresidual.hh>
#include <dumux/flux/fluxvariablescaching.hh>
#include <dumux/discretization/method.hh>
#include <dumux/discretization/fvproperties.hh>
......@@ -97,6 +99,14 @@ struct ElementBoundaryTypes<TypeTag, TTag::CCTpfaModel> { using type = CCElement
//! Set the BaseLocalResidual to CCLocalResidual
template<class TypeTag>
struct BaseLocalResidual<TypeTag, TTag::CCTpfaModel> { using type = CCLocalResidual<TypeTag>; };
//! Set the default for the FluxVariablesCache
template<class TypeTag>
struct FluxVariablesCache<TypeTag, TTag::CCTpfaModel> { using type = FluxVariablesCaching::EmptyCache<GetPropType<TypeTag, Properties::Scalar>>; };
//! Set the default for the FluxVariablesCacheFiller
template<class TypeTag>
struct FluxVariablesCacheFiller<TypeTag, TTag::CCTpfaModel> { using type = FluxVariablesCaching::EmptyCacheFiller; };
} // namespace Properties
} // namespace Dumux
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment