From fa64ddb6833a8bf687c36c55c5be47db77268f7f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dennis=20Gl=C3=A4ser?= <dennis.glaeser@iws.uni-stuttgart.de> Date: Wed, 4 Apr 2018 09:51:52 +0200 Subject: [PATCH] [cc][localres] forward to implementation for flux calculation Overloading the evalFlux function for a single scvf did not have any effect as we did not forward the call to the implementation --- dumux/assembly/cclocalresidual.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dumux/assembly/cclocalresidual.hh b/dumux/assembly/cclocalresidual.hh index fdd38de851..a94b4bc9ae 100644 --- a/dumux/assembly/cclocalresidual.hh +++ b/dumux/assembly/cclocalresidual.hh @@ -65,7 +65,7 @@ public: { const auto& scv = fvGeometry.scv(scvf.insideScvIdx()); const auto localScvIdx = scv.indexInElement(); - residual[localScvIdx] += evalFlux(problem, element, fvGeometry, elemVolVars, elemFluxVarsCache, scvf); + residual[localScvIdx] += this->asImp().evalFlux(problem, element, fvGeometry, elemVolVars, elemFluxVarsCache, scvf); } //! evaluate the flux residual for a sub control volume face -- GitLab