From: heister Date: Fri, 25 Apr 2014 21:19:18 +0000 (+0000) Subject: test: output subdomain id X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=041bd07fc16b616c6f0267a1e856f11c4de5c49f;p=dealii-svn.git test: output subdomain id git-svn-id: https://svn.dealii.org/branches/branch_sharedtria@32836 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/sharedtria/tria_01.cc b/tests/sharedtria/tria_01.cc index c14bd60393..6eae4b18ac 100644 --- a/tests/sharedtria/tria_01.cc +++ b/tests/sharedtria/tria_01.cc @@ -84,6 +84,15 @@ void test() deallog << v[i] << " "; deallog << std::endl;*/ + deallog << "subdomains: "; + typename parallel::distributed::Triangulation::active_cell_iterator it=tr.begin_active(); + for (; it!=tr.end(); ++it) + { + deallog << it->subdomain_id() << " "; + } + deallog << std::endl; + + write_mesh(tr, "mesh"); } diff --git a/tests/sharedtria/tria_01.mpirun=3.output b/tests/sharedtria/tria_01.mpirun=3.output index 9221366c03..f673ff8346 100644 --- a/tests/sharedtria/tria_01.mpirun=3.output +++ b/tests/sharedtria/tria_01.mpirun=3.output @@ -4,17 +4,20 @@ DEAL:0:2d:: locally_owned_subdomain(): 0 n_levels: 3 n_global_levels: 3 +DEAL:0:2d::subdomains: 0 1 0 2 2 1 1 DEAL:1:2d:: locally_owned_subdomain(): 1 n_active_cells: 7 n_levels: 3 - n_global_levels: 2 + n_global_levels: 3 +DEAL:1:2d::subdomains: 0 1 0 2 2 1 1 DEAL:2:2d:: locally_owned_subdomain(): 2 n_active_cells: 7 n_levels: 3 - n_global_levels: 2 + n_global_levels: 3 +DEAL:2:2d::subdomains: 0 1 0 2 2 1 1 diff --git a/tests/sharedtria/tria_01.output b/tests/sharedtria/tria_01.output index 132c2cf2c4..4b5e16bd2c 100644 --- a/tests/sharedtria/tria_01.output +++ b/tests/sharedtria/tria_01.output @@ -4,3 +4,4 @@ DEAL:0:2d:: locally_owned_subdomain(): 0 n_levels: 3 n_global_levels: 3 +DEAL:0:2d::subdomains: 0 0 0 0 0 0 0