From 61b21d8b903ea9c263988547947034b4ca4a1079 Mon Sep 17 00:00:00 2001
From: Benjamin Faigle <benjamin.faigle@posteo.de>
Date: Fri, 25 May 2012 08:40:53 +0000
Subject: [PATCH] remove unused variables to please Christoph when he watches
 the dashboard :)

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@8394 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/decoupled/2p2c/fvpressure2p2cmultiphysics.hh | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/dumux/decoupled/2p2c/fvpressure2p2cmultiphysics.hh b/dumux/decoupled/2p2c/fvpressure2p2cmultiphysics.hh
index 74d80196a4..308f5b3e2c 100644
--- a/dumux/decoupled/2p2c/fvpressure2p2cmultiphysics.hh
+++ b/dumux/decoupled/2p2c/fvpressure2p2cmultiphysics.hh
@@ -675,8 +675,6 @@ void FVPressure2P2CMultiPhysics<TypeTag>::updateMaterialLaws()
     for (ElementIterator eIt = problem().gridView().template begin<0> (); eIt != eItEnd; ++eIt)
     {
         // get global coordinate of cell center
-        GlobalPosition globalPos = eIt->geometry().center();
-
         int globalIdx = problem().variables().index(*eIt);
         CellData& cellData = problem().variables().cellData(globalIdx);
 
@@ -743,8 +741,6 @@ void FVPressure2P2CMultiPhysics<TypeTag>::updateMaterialLaws()
         else if(oldSubdomainI != 2
                     && nextSubdomain[globalIdx] != 2)    // will be simple and was simple
         {
-            // get global coordinate of cell center
-            GlobalPosition globalPos = eIt->geometry().center();
 //            // determine which phase should be present
 //            int presentPhaseIdx = cellData.subdomain(); // this is already =nextSubomainIdx
 
@@ -755,7 +751,7 @@ void FVPressure2P2CMultiPhysics<TypeTag>::updateMaterialLaws()
         //else
         // a) will remain complex -> everything already done in loop A
         // b) will be simple and was complex: complex FS available, so next TS
-        //         will use comlex FS, next update will transform to simple
+        //         will use comlex FS, next updateMaterialLaw will transform to simple
 
         maxError = std::max(maxError, fabs(cellData.volumeError()));
     }// end grid traversal
-- 
GitLab