Skip to content
Snippets Groups Projects
Commit b6d8736f authored by Kilian Weishaupt's avatar Kilian Weishaupt
Browse files

Merge branch 'cleanup/remove-unused-variable-ms' into 'master'

[box][maxwstefan] Remove unused local variables

See merge request !2014

(cherry picked from commit 44959489)

543afa9b [box][maxwstefan] Remove unused local variables
parent a5266c26
No related branches found
No related tags found
No related merge requests found
...@@ -156,8 +156,6 @@ private: ...@@ -156,8 +156,6 @@ private:
const auto& insideVolVars = elemVolVars[scvf.insideScvIdx()]; const auto& insideVolVars = elemVolVars[scvf.insideScvIdx()];
const auto& outsideVolVars = elemVolVars[scvf.outsideScvIdx()]; 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 //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)) if(Dune::FloatCmp::eq<Scalar>(insideVolVars.saturation(phaseIdx), 0) || Dune::FloatCmp::eq<Scalar>(outsideVolVars.saturation(phaseIdx), 0))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment