]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Filled step-41.cc with content of main.cc
authorLuca Heltai <luca.heltai@sissa.it>
Wed, 1 Sep 2010 13:26:08 +0000 (13:26 +0000)
committerLuca Heltai <luca.heltai@sissa.it>
Wed, 1 Sep 2010 13:26:08 +0000 (13:26 +0000)
git-svn-id: https://svn.dealii.org/trunk@21821 0785d39b-7218-0410-832d-ea1e28bc413d

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

index e69de29bb2d1d6434b8b29ae775ad8c2e48c5391..e45e1b592ff49a86e06d6897be15ab2fc98836ce 100644 (file)
@@ -0,0 +1,37 @@
+#include <iostream>
+#include "../include/base.h"
+
+int main () 
+{
+  try
+      {
+        Base<deal_II_dimension> problem;
+        problem.run ();
+      }
+  catch (std::exception &exc)
+    {
+      std::cerr << std::endl << std::endl
+               << "----------------------------------------------------"
+               << std::endl;
+      std::cerr << "Exception on processing: " << std::endl
+               << exc.what() << std::endl
+               << "Aborting!" << std::endl
+               << "----------------------------------------------------"
+               << std::endl;
+      
+      return 1;
+    }
+  catch (...) 
+    {
+      std::cerr << std::endl << std::endl
+               << "----------------------------------------------------"
+               << std::endl;
+      std::cerr << "Unknown exception!" << std::endl
+               << "Aborting!" << std::endl
+               << "----------------------------------------------------"
+               << std::endl;
+      return 1;
+    }
+
+  return 0;
+}

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.