From: wolf Date: Tue, 9 Mar 1999 16:34:14 +0000 (+0000) Subject: Add a function to retrieve the time from a TimeStepBase. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3a741b89fe354adb9199a3fa092a6fa25830b4c7;p=dealii-svn.git Add a function to retrieve the time from a TimeStepBase. git-svn-id: https://svn.dealii.org/trunk@976 0785d39b-7218-0410-832d-ea1e28bc413d --- 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