From d537c610feff3cc4f7e2c2d2253a8cb2a8b19842 Mon Sep 17 00:00:00 2001 From: wolf Date: Fri, 20 Aug 2004 20:43:11 +0000 Subject: [PATCH] Make the HSL tests a little harder. git-svn-id: https://svn.dealii.org/trunk@9565 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/hsl_ma27_01.cc | 5 ++++- tests/bits/hsl_ma27_02.cc | 3 +++ tests/bits/hsl_ma47_01.cc | 3 +++ tests/bits/hsl_ma47_02.cc | 3 +++ 4 files changed, 13 insertions(+), 1 deletion(-) diff --git a/tests/bits/hsl_ma27_01.cc b/tests/bits/hsl_ma27_01.cc index 3db27e9422..15f063b33d 100644 --- a/tests/bits/hsl_ma27_01.cc +++ b/tests/bits/hsl_ma27_01.cc @@ -52,11 +52,14 @@ void test () // refining one cell tria.begin_active()->set_refine_flag (); tria.execute_coarsening_and_refinement (); - + tria.refine_global(8-2*dim); + FE_Q fe (1); DoFHandler dof_handler (tria); dof_handler.distribute_dofs (fe); + deallog << "Number of dofs = " << dof_handler.n_dofs() << std::endl; + SparsityPattern sparsity_pattern; sparsity_pattern.reinit (dof_handler.n_dofs(), dof_handler.n_dofs(), diff --git a/tests/bits/hsl_ma27_02.cc b/tests/bits/hsl_ma27_02.cc index 41f85a9771..78f7327026 100644 --- a/tests/bits/hsl_ma27_02.cc +++ b/tests/bits/hsl_ma27_02.cc @@ -54,11 +54,14 @@ void test () // refining one cell tria.begin_active()->set_refine_flag (); tria.execute_coarsening_and_refinement (); + tria.refine_global(8-2*dim); FE_Q fe (1); DoFHandler dof_handler (tria); dof_handler.distribute_dofs (fe); + deallog << "Number of dofs = " << dof_handler.n_dofs() << std::endl; + SparsityPattern sparsity_pattern; sparsity_pattern.reinit (dof_handler.n_dofs(), dof_handler.n_dofs(), diff --git a/tests/bits/hsl_ma47_01.cc b/tests/bits/hsl_ma47_01.cc index 6d849278f6..3f58a39741 100644 --- a/tests/bits/hsl_ma47_01.cc +++ b/tests/bits/hsl_ma47_01.cc @@ -52,11 +52,14 @@ void test () // refining one cell tria.begin_active()->set_refine_flag (); tria.execute_coarsening_and_refinement (); + tria.refine_global(8-2*dim); FE_Q fe (1); DoFHandler dof_handler (tria); dof_handler.distribute_dofs (fe); + deallog << "Number of dofs = " << dof_handler.n_dofs() << std::endl; + SparsityPattern sparsity_pattern; sparsity_pattern.reinit (dof_handler.n_dofs(), dof_handler.n_dofs(), diff --git a/tests/bits/hsl_ma47_02.cc b/tests/bits/hsl_ma47_02.cc index 6e005c9950..b97e4510b9 100644 --- a/tests/bits/hsl_ma47_02.cc +++ b/tests/bits/hsl_ma47_02.cc @@ -54,11 +54,14 @@ void test () // refining one cell tria.begin_active()->set_refine_flag (); tria.execute_coarsening_and_refinement (); + tria.refine_global(8-2*dim); FE_Q fe (1); DoFHandler dof_handler (tria); dof_handler.distribute_dofs (fe); + deallog << "Number of dofs = " << dof_handler.n_dofs() << std::endl; + SparsityPattern sparsity_pattern; sparsity_pattern.reinit (dof_handler.n_dofs(), dof_handler.n_dofs(), -- 2.39.5