From: bangerth Date: Tue, 21 Jan 2014 17:24:10 +0000 (+0000) Subject: Do not set active_fe_index values on non-active cells. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e9d402c73b0621df6911c9c001b31bf93e6847e9;p=dealii-svn.git Do not set active_fe_index values on non-active cells. git-svn-id: https://svn.dealii.org/trunk@32281 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/hp/solution_transfer_06.cc b/tests/hp/solution_transfer_06.cc index 6033aa983b..0163725017 100644 --- a/tests/hp/solution_transfer_06.cc +++ b/tests/hp/solution_transfer_06.cc @@ -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; cn_children(); ++c) dof_handler.begin(0)->child(c)->set_active_fe_index(1); diff --git a/tests/hp/solution_transfer_07.cc b/tests/hp/solution_transfer_07.cc index 7d2adaa665..8f69df6be8 100644 --- a/tests/hp/solution_transfer_07.cc +++ b/tests/hp/solution_transfer_07.cc @@ -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; cn_children(); ++c) dof_handler.begin(0)->child(c)->set_active_fe_index(1);