]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Add event for the inital run of a function
authorGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 30 Jun 2010 22:05:40 +0000 (22:05 +0000)
committerGuido Kanschat <dr.guido.kanschat@gmail.com>
Wed, 30 Jun 2010 22:05:40 +0000 (22:05 +0000)
git-svn-id: https://svn.dealii.org/trunk@21424 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/base/source/event.cc

index b7341fdd64ff46323fe6989b4c73cf8052aff18c..d22a2ae598bb9712eef69b2aed0b624e6d04f6c9 100644 (file)
@@ -60,6 +60,7 @@ namespace Algorithms
 
   namespace Events
   {
+    const Event initial = Event::assign("Initial");
     const Event bad_derivative = Event::assign("Bad Derivative");
     const Event new_time = Event::assign("New Time");
     const Event new_timestep_size = Event::assign("New Time Step Size");

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.