From 5639a19072f05559d3a3135e5d11a93f6c613e01 Mon Sep 17 00:00:00 2001 From: DennisGlaeser <dennis.glaeser@iws.uni-stuttgart.de> Date: Sun, 12 Feb 2017 16:42:48 +0100 Subject: [PATCH] [mpfa][fourierslaw] pass elemVolVars to interiorBoundaryContribution() method --- dumux/discretization/cellcentered/mpfa/fourierslaw.hh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/dumux/discretization/cellcentered/mpfa/fourierslaw.hh b/dumux/discretization/cellcentered/mpfa/fourierslaw.hh index b8072e8289..27c5d07a3d 100644 --- a/dumux/discretization/cellcentered/mpfa/fourierslaw.hh +++ b/dumux/discretization/cellcentered/mpfa/fourierslaw.hh @@ -166,13 +166,14 @@ public: return useTpfaBoundary ? flux : flux + fluxVarsCache.heatNeumannFlux(); // Handle interior boundaries - flux += Implementation::computeInteriorBoundaryContribution(fvGeometry, fluxVarsCache); + flux += Implementation::computeInteriorBoundaryContribution(fvGeometry, elemVolVars, fluxVarsCache); // return overall resulting flux return useTpfaBoundary ? flux : flux + fluxVarsCache.heatNeumannFlux(); } static Scalar computeInteriorBoundaryContribution(const FVElementGeometry& fvGeometry, + const ElementVolumeVariables& elemVolVars, const FluxVariablesCache& fluxVarsCache) { // obtain the transmissibilites associated with all pressures -- GitLab