From 70fc1c36d980a00808486d709b4c4bce03af111b Mon Sep 17 00:00:00 2001
From: Bernd Flemisch <bernd@iws.uni-stuttgart.de>
Date: Fri, 29 Jul 2011 14:51:13 +0000
Subject: [PATCH] fixed compiler errors due to changed temperature signature

git-svn-id: svn://svn.iws.uni-stuttgart.de/DUMUX/dumux/trunk@6343 2fb0f335-1f38-0410-981e-8018bf24f1b0
---
 appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh | 4 +---
 appl/lecture/msm/1p2cvs2p/lensproblem2p.hh   | 4 +---
 tutorial/tutorialproblem_coupled.hh          | 4 +---
 3 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh b/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh
index 7e0cb51a0b..0c162c05da 100644
--- a/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh
+++ b/appl/lecture/msm/1p2cvs2p/lensproblem1p2c.hh
@@ -209,9 +209,7 @@ public:
      *
      * This problem assumes a temperature of 10 degrees Celsius.
      */
-    Scalar temperature(const Element &element,
-                       const FVElementGeometry &fvElemGeom,
-                       int scvIdx) const
+    Scalar temperature() const
     {
         return 273.15 + 10; // -> 10��C
     };
diff --git a/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh b/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh
index 7673f3da99..b4ab7aa2d7 100644
--- a/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh
+++ b/appl/lecture/msm/1p2cvs2p/lensproblem2p.hh
@@ -227,9 +227,7 @@ public:
      *
      * This problem assumes a temperature of 10 degrees Celsius.
      */
-    Scalar temperature(const Element &element,
-                       const FVElementGeometry &fvElemGeom,
-                       int scvIdx) const
+    Scalar temperature() const
     {
         return 273.15 + 10; // -> 10°C
     };
diff --git a/tutorial/tutorialproblem_coupled.hh b/tutorial/tutorialproblem_coupled.hh
index 77149bef23..33863a0c1f 100644
--- a/tutorial/tutorialproblem_coupled.hh
+++ b/tutorial/tutorialproblem_coupled.hh
@@ -161,9 +161,7 @@ public:
 
     // Return the temperature within a finite volume. We use constant
     // 10 degrees Celsius.
-    Scalar temperature(const Element &element,
-                       const FVElementGeometry &fvElemGeom,
-                       int scvIdx) const
+    Scalar temperature() const
     { return 283.15; };
 
     // Specifies which kind of boundary condition should be used for
-- 
GitLab