]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
update test with new header, works now
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Apr 2014 21:14:39 +0000 (21:14 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 Apr 2014 21:14:39 +0000 (21:14 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_sharedtria@32835 0785d39b-7218-0410-832d-ea1e28bc413d

tests/sharedtria/tria_01.cc

index 017902b7eeb0b2bb9521e6dc68501cdee35047a2..c14bd60393d4467e355fdb73273b3d7d8257c7be 100644 (file)
@@ -22,7 +22,7 @@
 #include <deal.II/base/logstream.h>
 #include <deal.II/base/tensor.h>
 #include <deal.II/grid/tria.h>
-#include <deal.II/distributed/tria.h>
+#include <deal.II/distributed/shared_tria.h>
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.h>
 #include <deal.II/grid/grid_generator.h>
@@ -66,8 +66,7 @@ void test()
   GridGenerator::hyper_cube(tr);
   tr.begin_active()->set_refine_flag();
   tr.execute_coarsening_and_refinement ();
-  if (tr.locally_owned_subdomain()==0)
-    tr.begin_active()->set_refine_flag();
+  tr.begin_active()->set_refine_flag();
   tr.execute_coarsening_and_refinement ();
 
   deallog

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.