]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make the HSL tests a little harder.
authorwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 20 Aug 2004 20:43:11 +0000 (20:43 +0000)
committerwolf <wolf@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 20 Aug 2004 20:43:11 +0000 (20:43 +0000)
git-svn-id: https://svn.dealii.org/trunk@9565 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/hsl_ma27_01.cc
tests/bits/hsl_ma27_02.cc
tests/bits/hsl_ma47_01.cc
tests/bits/hsl_ma47_02.cc

index 3db27e9422b3bf2480eabef7ff77a156142c365d..15f063b33dbcdafec6ea26e6bacd3ee001ba7c49 100644 (file)
@@ -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<dim> fe (1);
   DoFHandler<dim> 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(),
index 41f85a97716823b8b846ac305b92d4e45c4e2e91..78f7327026a870af737fcd18e0bcf719b09b2ea9 100644 (file)
@@ -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<dim> fe (1);
   DoFHandler<dim> 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(),
index 6d849278f6acc986bf6a4b8a1b0f3e3ec5ed79bd..3f58a39741a7d63f1710097565070a7fe9bbca4c 100644 (file)
@@ -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<dim> fe (1);
   DoFHandler<dim> 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(),
index 6e005c99500bf4c31236b915c229319fbe0faa78..b97e4510b95a1242b9394f4e629cada2ef41bd60 100644 (file)
@@ -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<dim> fe (1);
   DoFHandler<dim> 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(),

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.