]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Add a function to retrieve the time from a TimeStepBase.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Mar 1999 16:34:14 +0000 (16:34 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Tue, 9 Mar 1999 16:34:14 +0000 (16:34 +0000)
git-svn-id: https://svn.dealii.org/trunk@976 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/deal.II/include/numerics/time_dependent.h

index 92581f46afa1c6b6d9a02719a6985ec6932e548f..bd7819186417eda264876df07f5c776a056c5619 100644 (file)
@@ -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

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.