ConstraintMatrix constraints;\r
std::set<types::boundary_id> no_normal_flux_boundaries;\r
no_normal_flux_boundaries.insert (1);\r
+ deal_II_exceptions::disable_abort_on_exception();\r
+ try\r
+ {\r
+ \r
VectorTools::compute_no_normal_flux_constraints (dof_handler,\r
0,\r
no_normal_flux_boundaries,\r
constraints);\r
+ }\r
+ catch (ExceptionBase &e)\r
+ {\r
+ deallog << e.get_exc_name() << std::endl;\r
+ }\r
\r
constraints.close();\r
constraints.print(deallog.get_file_stream ());\r
- 202 = 0
- 566 = 0
- 570 = 0
- 576 = 0
- 1098 = 0
- 1100 = 0
- 1104 = 0
- 1616 = 0
- 1620 = 0
- 1708 = 0
- 1918 = 0
- 1920 = 0
- 1922 = 0
- 1930 = 0
- 1962 = 0
- 2138 = 0
- 2140 = 0
- 2156 = 0
- 2160 = 0
- 2196 = 0
- 2198 = 0
- 2246 = 0
- 2416 = 0
- 2892 = 0
- 2894 = 0
- 2902 = 0
- 2906 = 0
- 2912 = 0
- 2918 = 0
-DEAL::OK
+DEAL::ExcMessage("Error: the finite element has not enough components " "to define a normal direction.")
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