From: Guido Kanschat <dr.guido.kanschat@gmail.com>
Date: Fri, 23 May 2014 08:08:15 +0000 (+0000)
Subject: two more implementations that were missing
X-Git-Tag: v8.2.0-rc1~457
X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=13f46448a13d27d235a209a41320d8e248b6c8bd;p=dealii.git

two more implementations that were missing

git-svn-id: https://svn.dealii.org/trunk@32972 0785d39b-7218-0410-832d-ea1e28bc413d
---

diff --git a/deal.II/include/deal.II/algorithms/theta_timestepping.h b/deal.II/include/deal.II/algorithms/theta_timestepping.h
index c7908f8cf0..c374e8e6e1 100644
--- a/deal.II/include/deal.II/algorithms/theta_timestepping.h
+++ b/deal.II/include/deal.II/algorithms/theta_timestepping.h
@@ -246,11 +246,11 @@ namespace Algorithms
      * The current time in the
      * timestepping scheme.
      */
-    const double &current_time() const;
+    const double current_time() const;
     /**
      * The current step size.
      */
-    const double &step_size() const;
+    const double step_size() const;
     /**
      * The weight between implicit and explicit part.
      */
@@ -394,6 +394,24 @@ namespace Algorithms
     vtheta = new_theta;
     return tmp;
   }
+
+
+  template <class VECTOR>
+  inline
+  const double ThetaTimestepping<VECTOR>::current_time () const
+  {
+    return control.now();
+  }
+
+
+  template <class VECTOR>
+  inline
+  const double ThetaTimestepping<VECTOR>::theta () const
+  {
+    return control.step();
+  }
+
+  
 }
 
 DEAL_II_NAMESPACE_CLOSE