From 3613ee1b865fbf4f31aa4d03866e6e00137f6699 Mon Sep 17 00:00:00 2001 From: Timo Heister Date: Tue, 22 Oct 2013 18:39:38 +0000 Subject: [PATCH] make 3d test run faster by refining less. It runs close to the time limit on the tester git-svn-id: https://svn.dealii.org/trunk@31387 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/distributed_grids/3d_coarsening_03.cc | 12 ++++++------ tests/distributed_grids/3d_coarsening_03.output | 4 +++- 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/tests/distributed_grids/3d_coarsening_03.cc b/tests/distributed_grids/3d_coarsening_03.cc index b1f2b811f2..3e4b4b26f0 100644 --- a/tests/distributed_grids/3d_coarsening_03.cc +++ b/tests/distributed_grids/3d_coarsening_03.cc @@ -46,7 +46,7 @@ void test(std::ostream & /*out*/) gi.attach_triangulation (tr); std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); gi.read_xda (in); - tr.refine_global (1); + //tr.refine_global (1); } { @@ -54,18 +54,18 @@ void test(std::ostream & /*out*/) gi.attach_triangulation (tr2); std::ifstream in (SOURCE_DIR "/../deal.II/grid_in_3d/4.in"); gi.read_xda (in); - tr2.refine_global (1); + //tr2.refine_global (1); } Assert (tr.n_active_cells() == tr2.n_active_cells(), ExcInternalError()); - for (unsigned int i=0; i<1; ++i) + for (unsigned int i=0; i<2; ++i) { - // refine one-fifth of cells randomly + // refine 10% of cells randomly std::vector flags (tr.n_active_cells(), false); - for (unsigned int k=0; k