]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Minor changes without net effect
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Sep 2006 20:58:29 +0000 (20:58 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Thu, 21 Sep 2006 20:58:29 +0000 (20:58 +0000)
git-svn-id: https://svn.dealii.org/trunk@13943 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/crash_10.cc

index e5eb04a1e902bf6e945a67f1c5fc14a71af44a84..6ecd9016cee41f6467fd904ada24d9ee8de50517 100644 (file)
@@ -52,7 +52,7 @@ void test ()
   
   
   GridGenerator::hyper_cube (triangulation, -1, 1);
-  triangulation.refine_global (5-dim);
+  triangulation.refine_global (2);
   deallog << "Number of active cells: "
            << triangulation.n_active_cells()
            << std::endl;
@@ -66,7 +66,7 @@ void test ()
   typename hp::DoFHandler<dim>::active_cell_iterator cell = dof_handler.begin_active (),
                                                     endc = dof_handler.end ();
   for (; cell != endc; ++cell)
-    cell->set_active_fe_index (random() % 4);
+    cell->set_active_fe_index (random() % fe.size());
   
   dof_handler.distribute_dofs (fe);
   DoFTools::make_hanging_node_constraints (dof_handler,

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.