From cf019601cc87d509e8530e1a304bd5cb39b508d1 Mon Sep 17 00:00:00 2001
From: Elias Pipping <elias.pipping@fu-berlin.de>
Date: Thu, 15 Dec 2011 12:15:18 +0100
Subject: [PATCH] Constness

---
 dune/tectonic/nicefunction.hh | 14 +++++++-------
 1 file changed, 7 insertions(+), 7 deletions(-)

diff --git a/dune/tectonic/nicefunction.hh b/dune/tectonic/nicefunction.hh
index 6f95513c..bf000fc8 100644
--- a/dune/tectonic/nicefunction.hh
+++ b/dune/tectonic/nicefunction.hh
@@ -99,13 +99,13 @@ class RuinaFunction : public NiceFunction {
   }
 
 private:
-  double coefficient;
-  double a;
-  double mu;
-  double eta;
-  double normalStress;
+  double const coefficient;
+  double const a;
+  double const mu;
+  double const eta;
+  double const normalStress;
 
-  double rho;
+  double const rho;
 };
 
 class LinearFunction : public NiceFunction {
@@ -125,7 +125,7 @@ class LinearFunction : public NiceFunction {
   double virtual regularity(double s) const { return 0; }
 
 private:
-  double coefficient;
+  double const coefficient;
 };
 
 template <int slope> class SampleFunction : public NiceFunction {
-- 
GitLab