From 7c09c50665fd09ce46721ee1ebf9d50e7f31fd80 Mon Sep 17 00:00:00 2001 From: Wolfgang Bangerth Date: Tue, 6 Nov 2012 18:30:43 +0000 Subject: [PATCH] Simplify test again. git-svn-id: https://svn.dealii.org/trunk@27445 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/deal.II/dof_renumbering_04a.cc | 11 ++-- tests/deal.II/dof_renumbering_04a/cmp/generic | 66 ++++--------------- 2 files changed, 20 insertions(+), 57 deletions(-) diff --git a/tests/deal.II/dof_renumbering_04a.cc b/tests/deal.II/dof_renumbering_04a.cc index a4b1bcf06f..8d602325ab 100644 --- a/tests/deal.II/dof_renumbering_04a.cc +++ b/tests/deal.II/dof_renumbering_04a.cc @@ -62,15 +62,16 @@ check () { Triangulation tr; GridGenerator::hyper_cube(tr, -1., 1.); - tr.refine_global (1); - FESystem fe(FE_DGQ(1),1, - FE_Q(2),1); + FESystem fe(FE_Q(2),2); DoFHandler dof(tr); dof.distribute_dofs(fe); - DoFRenumbering::boost::Cuthill_McKee(dof); - print_dofs (dof); + std::vector new_dofs (dof.n_dofs()); + DoFRenumbering::boost::compute_Cuthill_McKee(new_dofs, dof); + + for (unsigned int i=0; i