From e3d649bfa40adef621200bb019ee5a8fce9a5342 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 21 Jan 2014 17:24:10 +0000 Subject: [PATCH] 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 --- tests/hp/solution_transfer_06.cc | 4 +--- tests/hp/solution_transfer_07.cc | 4 +--- 2 files changed, 2 insertions(+), 6 deletions(-) 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); -- 2.39.5