]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Simplify test again.
authorWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 6 Nov 2012 18:30:43 +0000 (18:30 +0000)
committerWolfgang Bangerth <bangerth@math.tamu.edu>
Tue, 6 Nov 2012 18:30:43 +0000 (18:30 +0000)
git-svn-id: https://svn.dealii.org/trunk@27445 0785d39b-7218-0410-832d-ea1e28bc413d

tests/deal.II/dof_renumbering_04a.cc
tests/deal.II/dof_renumbering_04a/cmp/generic

index a4b1bcf06f07cb4b304cf8526a3a28feaaa4d507..8d602325abcae3d1b5c1afcc0506cbd08becae9f 100644 (file)
@@ -62,15 +62,16 @@ check ()
 {
   Triangulation<dim> tr;
   GridGenerator::hyper_cube(tr, -1., 1.);
-  tr.refine_global (1);
 
-  FESystem<dim> fe(FE_DGQ<dim>(1),1,
-                  FE_Q<dim>(2),1);
+  FESystem<dim> fe(FE_Q<dim>(2),2);
   DoFHandler<dim> dof(tr);
   
   dof.distribute_dofs(fe);
-  DoFRenumbering::boost::Cuthill_McKee(dof);
-  print_dofs (dof);
+  std::vector<unsigned int> new_dofs (dof.n_dofs());
+  DoFRenumbering::boost::compute_Cuthill_McKee(new_dofs, dof);
+
+  for (unsigned int i=0; i<new_dofs.size(); ++i)
+    deallog << new_dofs[i] << std::endl;
 }
 
 
index 1432d623ea8c889bdc221eb110145e2b085411b7..26fdd9c6c1646a4d65f6b1bb54fbc0f21fb0b3f5 100644 (file)
@@ -1,57 +1,19 @@
 
-DEAL::cell=1.0
-DEAL::27
-DEAL::32
-DEAL::19
-DEAL::28
-DEAL::26
-DEAL::31
-DEAL::25
-DEAL::18
-DEAL::24
-DEAL::23
-DEAL::22
-DEAL::21
-DEAL::20
-DEAL::cell=1.1
-DEAL::32
-DEAL::40
-DEAL::28
-DEAL::30
-DEAL::31
-DEAL::39
-DEAL::38
-DEAL::29
-DEAL::37
-DEAL::36
-DEAL::35
-DEAL::34
-DEAL::33
-DEAL::cell=1.2
-DEAL::19
-DEAL::28
-DEAL::7
-DEAL::9
-DEAL::6
-DEAL::8
-DEAL::18
-DEAL::5
-DEAL::4
-DEAL::3
-DEAL::2
-DEAL::1
 DEAL::0
-DEAL::cell=1.3
-DEAL::28
-DEAL::30
-DEAL::9
 DEAL::17
+DEAL::1
+DEAL::2
+DEAL::3
+DEAL::4
+DEAL::5
+DEAL::6
+DEAL::7
 DEAL::8
-DEAL::16
-DEAL::29
-DEAL::15
-DEAL::14
-DEAL::13
-DEAL::12
-DEAL::11
+DEAL::9
 DEAL::10
+DEAL::11
+DEAL::12
+DEAL::13
+DEAL::14
+DEAL::15
+DEAL::16

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.