]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Do not set active_fe_index values on non-active cells.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 21 Jan 2014 17:24:10 +0000 (17:24 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 21 Jan 2014 17:24:10 +0000 (17:24 +0000)
git-svn-id: https://svn.dealii.org/trunk@32281 0785d39b-7218-0410-832d-ea1e28bc413d

tests/hp/solution_transfer_06.cc
tests/hp/solution_transfer_07.cc

index 6033aa983b4640f1cfc6955de2e561d3277642a8..0163725017b4d2e0cd4641e1a16833d97a75c3e0 100644 (file)
@@ -75,9 +75,7 @@ void test ()
   solution_trans.prepare_for_coarsening_and_refinement(solution);
   triangulation.execute_coarsening_and_refinement ();
 
-  // now set the active_fe_index flags on the new set of fine level cells, but
-  // also clear the one from the now inactive cell
-  dof_handler.begin(0)->set_active_fe_index(1);
+  // now set the active_fe_index flags on the new set of fine level cells
   for (unsigned int c=0; c<dof_handler.begin(0)->n_children(); ++c)
     dof_handler.begin(0)->child(c)->set_active_fe_index(1);
 
index 7d2adaa665984494896bfc44e1b4f07839c30993..8f69df6be82a245681a0c1dd1df16578bb60487f 100644 (file)
@@ -75,9 +75,7 @@ void test ()
   solution_trans.prepare_for_pure_refinement();
   triangulation.execute_coarsening_and_refinement ();
 
-  // now set the active_fe_index flags on the new set of fine level cells, but
-  // also clear the one from the now inactive cell
-  dof_handler.begin(0)->set_active_fe_index(1);
+  // now set the active_fe_index flags on the new set of fine level cells
   for (unsigned int c=0; c<dof_handler.begin(0)->n_children(); ++c)
     dof_handler.begin(0)->child(c)->set_active_fe_index(1);
 

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.