From: Wolfgang Bangerth Date: Sun, 26 Feb 2006 06:36:19 +0000 (+0000) Subject: Make run again. X-Git-Tag: v8.0.0~12179 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6ccf90d22a7d9d69770f11245aca2278e7cece26;p=dealii.git Make run again. git-svn-id: https://svn.dealii.org/trunk@12503 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/hp/crash_01.cc b/tests/hp/crash_01.cc index 4c1b796577..0fa0e8819c 100644 --- a/tests/hp/crash_01.cc +++ b/tests/hp/crash_01.cc @@ -38,13 +38,13 @@ void test () const hp::FECollection fe_collection (FE_DGQ (1)); hp::DoFHandler dof_handler(tria); + dof_handler.distribute_dofs(fe_collection); + tria.refine_global(1); for (typename hp::DoFHandler::active_cell_iterator cell=dof_handler.begin_active(); cell!=dof_handler.end(); ++cell) cell->set_active_fe_index (0); - - dof_handler.distribute_dofs(fe_collection); } diff --git a/tests/hp/crash_02.cc b/tests/hp/crash_02.cc index 84c1af5f97..327bba9278 100644 --- a/tests/hp/crash_02.cc +++ b/tests/hp/crash_02.cc @@ -40,6 +40,8 @@ void test () fe_collection.push_back (FE_DGQ (1)); hp::DoFHandler dof_handler(tria); + dof_handler.distribute_dofs (fe_collection); + dof_handler.begin_active()->set_active_fe_index(0); }