]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Simplify testcase a bit.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Sep 2006 16:46:09 +0000 (16:46 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 4 Sep 2006 16:46:09 +0000 (16:46 +0000)
git-svn-id: https://svn.dealii.org/trunk@13834 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/crash_07.cc

index 309b13dd9c2e2e8337851bed928b71d36595264e..fb91c85ff3c8b79ef1ebecea56bdb73f01571949 100644 (file)
@@ -101,7 +101,8 @@ int main ()
   for (hp::DoFHandler<2>::active_cell_iterator
         cell = dof_handler.begin_active();
        cell != dof_handler.end(); ++cell, ++cell_no)
-    cell->set_active_fe_index (cell_no % fe.size());
+    cell->set_active_fe_index (0);
+  (++dof_handler.begin_active())->set_active_fe_index (1);
   dof_handler.distribute_dofs (fe);
 
   deallog << "n_dofs=" << dof_handler.n_dofs() << std::endl;

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.