]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Document one more function.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Apr 2004 16:08:54 +0000 (16:08 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 16 Apr 2004 16:08:54 +0000 (16:08 +0000)
git-svn-id: https://svn.dealii.org/trunk@9027 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-15/step-15.cc

index 397394b3a1bcb39eb08334ff8db644f28452d5ae..ee84e31fcefb8550edaae839675423c60b62d76d 100644 (file)
@@ -1091,7 +1091,22 @@ void MinimizationProblem<dim>::run ()
   std::cout << std::endl;
 }
 
-    
+
+                                 // Finally: ``main()''. This function does
+                                 // what all its counterparts in previous
+                                 // examples already did, i.e. create an
+                                 // object of the main class, and hand off
+                                 // work to them, only retaining its role as a
+                                 // guard to catch exceptions and print some
+                                 // information if we get one. The only
+                                 // difference is that it generates objects
+                                 // multiple times and runs them. Since the
+                                 // initial value for each run is a random
+                                 // function, where the random number
+                                 // generator returns different values each
+                                 // time, all these runs are actually
+                                 // different, although it may seem that they
+                                 // are independent of each other.
 int main () 
 {
   try

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.