From 6b2f0c9a5a1987045a37244dcdcb628c2b4cbce1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de> Date: Tue, 13 Nov 2018 09:57:51 +0100 Subject: [PATCH] [md][cclocalassembler] let base class get implicit/explicit template param --- dumux/multidomain/subdomaincclocalassembler.hh | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/dumux/multidomain/subdomaincclocalassembler.hh b/dumux/multidomain/subdomaincclocalassembler.hh index 10102bb6be..8137710c50 100644 --- a/dumux/multidomain/subdomaincclocalassembler.hh +++ b/dumux/multidomain/subdomaincclocalassembler.hh @@ -50,11 +50,12 @@ namespace Dumux { * \tparam TypeTag the TypeTag * \tparam Assembler the assembler type * \tparam Implementation the actual assembler implementation + * \tparam implicit Specifies whether the time discretization is implicit or not not (i.e. explicit) */ -template<std::size_t id, class TypeTag, class Assembler, class Implementation> -class SubDomainCCLocalAssemblerBase : public FVLocalAssemblerBase<TypeTag, Assembler,Implementation, true> +template<std::size_t id, class TypeTag, class Assembler, class Implementation, bool implicit> +class SubDomainCCLocalAssemblerBase : public FVLocalAssemblerBase<TypeTag, Assembler,Implementation, implicit> { - using ParentType = FVLocalAssemblerBase<TypeTag, Assembler,Implementation, true>; + using ParentType = FVLocalAssemblerBase<TypeTag, Assembler,Implementation, implicit>; using Problem = typename GET_PROP_TYPE(TypeTag, Problem); using LocalResidualValues = typename GET_PROP_TYPE(TypeTag, NumEqVector); @@ -200,9 +201,9 @@ private: * \tparam Implementation the actual assembler implementation */ template<std::size_t id, class TypeTag, class Assembler, class Implementation> -class SubDomainCCLocalAssemblerImplicitBase : public SubDomainCCLocalAssemblerBase<id, TypeTag, Assembler, Implementation> +class SubDomainCCLocalAssemblerImplicitBase : public SubDomainCCLocalAssemblerBase<id, TypeTag, Assembler, Implementation, true> { - using ParentType = SubDomainCCLocalAssemblerBase<id, TypeTag, Assembler, Implementation>; + using ParentType = SubDomainCCLocalAssemblerBase<id, TypeTag, Assembler, Implementation, true>; using LocalResidualValues = typename GET_PROP_TYPE(TypeTag, NumEqVector); using ElementResidualVector = typename ParentType::LocalResidual::ElementResidualVector; -- GitLab