From 3a741b89fe354adb9199a3fa092a6fa25830b4c7 Mon Sep 17 00:00:00 2001 From: wolf Date: Tue, 9 Mar 1999 16:34:14 +0000 Subject: [PATCH] Add a function to retrieve the time from a TimeStepBase. git-svn-id: https://svn.dealii.org/trunk@976 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/deal.II/include/numerics/time_dependent.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/deal.II/deal.II/include/numerics/time_dependent.h b/deal.II/deal.II/include/numerics/time_dependent.h index 92581f46af..bd78191864 100644 --- a/deal.II/deal.II/include/numerics/time_dependent.h +++ b/deal.II/deal.II/include/numerics/time_dependent.h @@ -701,6 +701,12 @@ class TimeStepBase : public Subscriptor * should really overload the function. */ virtual void postprocess_timestep (); + + /** + * Return the time value of this time + * step. + */ + double get_time () const; /** * Compute the time difference to the -- 2.39.5