From 9e2e5a0fad19bcb9e0abec40d845badf6f47e329 Mon Sep 17 00:00:00 2001
From: Andreas Lauser <and@poware.org>
Date: Tue, 16 Aug 2011 11:06:56 +0000
Subject: [PATCH] 2p2c: MassUpwindWeight is a scalar value not a boolean value

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6498 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 dumux/boxmodels/2p2c/2p2cmodel.hh            | 2 +-
 dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dumux/boxmodels/2p2c/2p2cmodel.hh b/dumux/boxmodels/2p2c/2p2cmodel.hh
index e041d305cf..4504f04105 100644
--- a/dumux/boxmodels/2p2c/2p2cmodel.hh
+++ b/dumux/boxmodels/2p2c/2p2cmodel.hh
@@ -179,7 +179,7 @@ public:
                 = staticVertexDat_[globalIdx].phasePresence;
         }
 
-        massUpwindWeight_ = GET_PARAM(TypeTag, bool, MassUpwindWeight);
+        massUpwindWeight_ = GET_PARAM(TypeTag, Scalar, MassUpwindWeight);
     }
 
     /*!
diff --git a/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh b/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh
index 0e218dc7b4..9c31367a0c 100644
--- a/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh
+++ b/dumux/boxmodels/2p2c/2p2cnewtoncontroller.hh
@@ -78,7 +78,7 @@ public:
         catch (Dumux::NumericalProblem &e)
         {
             std::cout << "rank " << this->problem_().gridView().comm().rank()
-                      << " caught an exception while assembling:" << e.what()
+                      << " caught an exception while updating:" << e.what()
                       << "\n";
             succeeded = 0;
             succeeded = this->problem_().gridView().comm().min(succeeded);
-- 
GitLab