From 14347ed39d506c0e0a86e26013ba2a20db9a0f02 Mon Sep 17 00:00:00 2001 From: kanschat Date: Fri, 23 May 2014 08:08:15 +0000 Subject: [PATCH] two more implementations that were missing git-svn-id: https://svn.dealii.org/trunk@32972 0785d39b-7218-0410-832d-ea1e28bc413d --- .../deal.II/algorithms/theta_timestepping.h | 22 +++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) 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 ¤t_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 + inline + const double ThetaTimestepping::current_time () const + { + return control.now(); + } + + + template + inline + const double ThetaTimestepping::theta () const + { + return control.step(); + } + + } DEAL_II_NAMESPACE_CLOSE -- 2.39.5