From 6ccf90d22a7d9d69770f11245aca2278e7cece26 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sun, 26 Feb 2006 06:36:19 +0000 Subject: [PATCH] Make run again. git-svn-id: https://svn.dealii.org/trunk@12503 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/hp/crash_01.cc | 4 ++-- tests/hp/crash_02.cc | 2 ++ 2 files changed, 4 insertions(+), 2 deletions(-) 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); } -- 2.39.5