From 4fa67065fb16a03d58b6dfe58d72bc452f7d359f Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Sat, 18 Feb 2006 00:55:21 +0000 Subject: [PATCH] This test can now be made to actually work git-svn-id: https://svn.dealii.org/trunk@12407 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/hp/crash_01.cc | 16 +++++++++++++++- tests/hp/crash_01/cmp/generic | 2 ++ 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 tests/hp/crash_01/cmp/generic diff --git a/tests/hp/crash_01.cc b/tests/hp/crash_01.cc index fc607c5563..b5bcb84dd6 100644 --- a/tests/hp/crash_01.cc +++ b/tests/hp/crash_01.cc @@ -20,8 +20,10 @@ #include #include #include -#include +#include #include +#include +#include #include @@ -44,6 +46,12 @@ int main () fe_collection.push_back (FE_DGQ (1)); hp::DoFHandler dof_handler(tria); + tria.refine_global(1); + for (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); } @@ -56,6 +64,12 @@ int main () fe_collection.push_back (FE_DGQ (1)); hp::DoFHandler dof_handler(tria); + tria.refine_global(1); + for (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_01/cmp/generic b/tests/hp/crash_01/cmp/generic new file mode 100644 index 0000000000..0fd8fc12f0 --- /dev/null +++ b/tests/hp/crash_01/cmp/generic @@ -0,0 +1,2 @@ + +DEAL::OK -- 2.39.5