From: Wolfgang Bangerth Date: Tue, 6 Nov 2012 18:30:43 +0000 (+0000) Subject: Simplify test again. X-Git-Tag: v8.0.0~1848 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7c09c50665fd09ce46721ee1ebf9d50e7f31fd80;p=dealii.git Simplify test again. git-svn-id: https://svn.dealii.org/trunk@27445 0785d39b-7218-0410-832d-ea1e28bc413d --- 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