From 543afa9bf05bfbe82d26490017788f76f2b41add Mon Sep 17 00:00:00 2001 From: Timo Koch <timo.koch@iws.uni-stuttgart.de> Date: Tue, 21 Apr 2020 11:00:11 +0200 Subject: [PATCH] [box][maxwstefan] Remove unused local variables --- dumux/flux/box/maxwellstefanslaw.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/dumux/flux/box/maxwellstefanslaw.hh b/dumux/flux/box/maxwellstefanslaw.hh index c787c12b9b..bda7cba701 100644 --- a/dumux/flux/box/maxwellstefanslaw.hh +++ b/dumux/flux/box/maxwellstefanslaw.hh @@ -154,8 +154,6 @@ private: const auto& insideVolVars = elemVolVars[scvf.insideScvIdx()]; const auto& outsideVolVars = elemVolVars[scvf.outsideScvIdx()]; - const auto insideScvIdx = scvf.insideScvIdx(); - const auto outsideScvIdx = scvf.outsideScvIdx(); //this is to not devide by 0 if the saturation in 0 and the effectiveDiffusionCoefficient becomes zero due to that if(Dune::FloatCmp::eq<Scalar>(insideVolVars.saturation(phaseIdx), 0) || Dune::FloatCmp::eq<Scalar>(outsideVolVars.saturation(phaseIdx), 0)) -- GitLab