From: Wolfgang Bangerth Date: Sat, 18 Feb 2006 00:55:21 +0000 (+0000) Subject: This test can now be made to actually work X-Git-Tag: v8.0.0~12275 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4fa67065fb16a03d58b6dfe58d72bc452f7d359f;p=dealii.git This test can now be made to actually work git-svn-id: https://svn.dealii.org/trunk@12407 0785d39b-7218-0410-832d-ea1e28bc413d --- 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