diff --git a/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh b/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh index e968e3917eafedd3398cc2e6e609a2ec701ef33a..b894a758b7bb9a5720e4814ea329ccbcf8a1edaf 100644 --- a/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh +++ b/dumux/multidomain/facet/cellcentered/mpfa/couplingmanager.hh @@ -166,7 +166,7 @@ public: * \note The coupling residual is independent of w.r.t. which bulk dof it is computed */ template< class LowDimLocalAssembler > - typename LowDimLocalAssembler::LocalResidual::ElementResidualVector + typename LocalResidual<lowDimId>::ElementResidualVector evalCouplingResidual(LowDimIdType, const LowDimLocalAssembler& lowDimLocalAssembler, BulkIdType, @@ -179,7 +179,7 @@ public: * the fluxes across the facets of the neighboring bulk elements. */ template< class LowDimLocalAssembler > - typename LowDimLocalAssembler::LocalResidual::ElementResidualVector + typename LocalResidual<lowDimId>::ElementResidualVector evalCouplingResidual(LowDimIdType, const LowDimLocalAssembler& lowDimLocalAssembler, BulkIdType) { // make sure this is called for the element for which the context was set @@ -420,7 +420,7 @@ private: // Update context to deflected solution and reevaluate residual updateContext(couplingElemIdx, dofIndex, priVars, pvIdx); - return evalCouplingResidual(lowDimId, lowDimLocalAssembler, bulkId); + return this->evalCouplingResidual(lowDimId, lowDimLocalAssembler, bulkId); }; static const int numDiffMethod = getParamFromGroup<int>(this->problem(lowDimId).paramGroup(), "Assembly.NumericDifferenceMethod"); diff --git a/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh b/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh index de40286dde389c4f4545ae5ad60c60febdcd2fea..8905592da9b621e6245773ce346c74e67e8a3aab 100644 --- a/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh +++ b/dumux/multidomain/facet/cellcentered/mpfa/couplingmapper.hh @@ -158,7 +158,7 @@ public: // add coupling info to all elements/scvfs in interaction volumes for (auto dofIdx : lowDimElementDofs) for (auto scvfIdx : embeddedScvfIndices) - addCouplingsFromIV_(bulkFvGridGeometry, fvGeometry.scvf(scvfIdx), fvGeometry, lowDimElemIdx, dofIdx); + this->addCouplingsFromIV_(bulkFvGridGeometry, fvGeometry.scvf(scvfIdx), fvGeometry, lowDimElemIdx, dofIdx); // sort the scvfs according to the corners of the low dim element if box is used // that allows identifying which scvf flux enters which low dim scv later