From 0a204c977309f455c20cb3036dc32f4c8b3d1fc7 Mon Sep 17 00:00:00 2001 From: heister Date: Wed, 10 Oct 2012 15:52:45 +0000 Subject: [PATCH] speed up test git-svn-id: https://svn.dealii.org/trunk@27054 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/distributed_grids/3d_coarsening_04.cc | 14 ++++++++------ .../distributed_grids/3d_coarsening_04/cmp/generic | 5 +++-- 2 files changed, 11 insertions(+), 8 deletions(-) diff --git a/tests/distributed_grids/3d_coarsening_04.cc b/tests/distributed_grids/3d_coarsening_04.cc index 45b1ce8579..a92ad212be 100644 --- a/tests/distributed_grids/3d_coarsening_04.cc +++ b/tests/distributed_grids/3d_coarsening_04.cc @@ -42,7 +42,7 @@ void test(std::ostream& /*out*/) gi.attach_triangulation (tr); std::ifstream in ("../deal.II/grid_in_3d_02/747.ucd"); gi.read (in); - tr.refine_global (1); + //tr.refine_global (1); } { @@ -50,18 +50,22 @@ void test(std::ostream& /*out*/) gi.attach_triangulation (tr2); std::ifstream in ("../deal.II/grid_in_3d_02/747.ucd"); gi.read (in); - tr2.refine_global (1); + //tr2.refine_global (1); } Assert (tr.n_active_cells() == tr2.n_active_cells(), ExcInternalError()); + deallog << " Number of cells: " + << tr.n_active_cells() << ' ' + << tr2.n_active_cells() + << std::endl; - for (unsigned int i=0; i<1; ++i) + for (unsigned int i=0; i<2; ++i) { // refine one-tenth of cells randomly std::vector flags (tr.n_active_cells(), false); - for (unsigned int k=0; k