From 98b9af93be573fe65ae403c7abc3f0a60be7cb4b Mon Sep 17 00:00:00 2001 From: Luca Heltai Date: Wed, 1 Sep 2010 13:26:08 +0000 Subject: [PATCH] Filled step-41.cc with content of main.cc git-svn-id: https://svn.dealii.org/trunk@21821 0785d39b-7218-0410-832d-ea1e28bc413d --- deal.II/examples/step-41/step-41.cc | 37 +++++++++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/deal.II/examples/step-41/step-41.cc b/deal.II/examples/step-41/step-41.cc index e69de29bb2..e45e1b592f 100644 --- a/deal.II/examples/step-41/step-41.cc +++ b/deal.II/examples/step-41/step-41.cc @@ -0,0 +1,37 @@ +#include +#include "../include/base.h" + +int main () +{ + try + { + Base 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; +} -- 2.39.5