for (; cell!=endc; ++cell)
{
- deallog << cell->level_subdomain_id()
- << " " << cell->subdomain_id() << std::endl;
+ deallog << cell->level_subdomain_id() << " ";
+ try
+ {
+ deallog << cell->subdomain_id();
+ }
+ catch (...)
+ {
+ deallog << ".";
+
+ }
+ deallog << std::endl;
}
deallog << "OK" << std::endl;
int main (int argc, char *argv[])
{
+ deal_II_exceptions::disable_abort_on_exception();
+
Utilities::MPI::MPI_InitFinalize mpi_initialization(argc, argv, 1);
std::ofstream logfile("subdomain_id_01/output");
deallog.attach(logfile);
-DEAL::n_active_cells: 4
-DEAL::n_active_cells: 5
-DEAL::OK for 1d
-DEAL::n_active_cells: 16
-DEAL::n_active_cells: 28
-DEAL::OK for 2d
-DEAL::n_active_cells: 64
-DEAL::n_active_cells: 176
-DEAL::OK for 3d
+DEAL::0 .
+DEAL::0 .
+DEAL::0 .
+DEAL::0 .
+DEAL::0 .
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::OK
+DEAL::0 .
+DEAL::0 .
+DEAL::0 .
+DEAL::0 .
+DEAL::0 .
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::0 0
+DEAL::OK
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