]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
test: output subdomain id
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Apr 2014 21:19:18 +0000 (21:19 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Apr 2014 21:19:18 +0000 (21:19 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_sharedtria@32836 0785d39b-7218-0410-832d-ea1e28bc413d

tests/sharedtria/tria_01.cc
tests/sharedtria/tria_01.mpirun=3.output
tests/sharedtria/tria_01.output

index c14bd60393d4467e355fdb73273b3d7d8257c7be..6eae4b18acee393e11ec62d21db7326ba8448372 100644 (file)
@@ -84,6 +84,15 @@ void test()
     deallog << v[i] << " ";
     deallog << std::endl;*/
 
+  deallog << "subdomains: ";
+  typename  parallel::distributed::Triangulation<dim>::active_cell_iterator it=tr.begin_active();
+  for (; it!=tr.end(); ++it)
+    {
+      deallog << it->subdomain_id() << " ";
+    }
+  deallog << std::endl;
+  
+    
   write_mesh(tr, "mesh");
 }
 
index 9221366c031125453f678ea5219db7fc5b3d6b53..f673ff834694bddf5e240b140ae271134735acaa 100644 (file)
@@ -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 
 
index 132c2cf2c49975080c780b6ed7fba23d675ab953..4b5e16bd2c08c945774bbe7acf73bd9f0763dca0 100644 (file)
@@ -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 

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.