From ea9b2c58afcc073163765e5333920d647a62d885 Mon Sep 17 00:00:00 2001 From: bangerth Date: Mon, 25 Oct 2010 00:31:25 +0000 Subject: [PATCH] Make sure output is correct. git-svn-id: https://svn.dealii.org/trunk@22471 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/distributed_grids/anisotropic.cc | 16 +---- .../distributed_grids/anisotropic/cmp/generic | 71 +------------------ 2 files changed, 3 insertions(+), 84 deletions(-) diff --git a/tests/distributed_grids/anisotropic.cc b/tests/distributed_grids/anisotropic.cc index 3ce12bda10..a3502725a7 100644 --- a/tests/distributed_grids/anisotropic.cc +++ b/tests/distributed_grids/anisotropic.cc @@ -36,21 +36,7 @@ void test(std::ostream& /*out*/) GridGenerator::hyper_cube(tr); tr.begin_active()->set_refine_flag(RefinementCase::cut_x); - bool caught = false; - try - { - tr.execute_coarsening_and_refinement (); - } - catch (const ExcMessage &e) - { - deallog << "Caught exception:" << std::endl; - deallog << e.what() << std::endl; - - caught = true; - } - - if (caught != true) - deallog << "FAIL" << std::endl; + tr.execute_coarsening_and_refinement (); } diff --git a/tests/distributed_grids/anisotropic/cmp/generic b/tests/distributed_grids/anisotropic/cmp/generic index 16cc49d4ae..c858154bfb 100644 --- a/tests/distributed_grids/anisotropic/cmp/generic +++ b/tests/distributed_grids/anisotropic/cmp/generic @@ -1,70 +1,3 @@ -DEAL:2d::Checksum: 167510149 - - - - - - - - - - - - - - - - - - - - - - - 1.25000002e-02 1.25000002e-02 0.00000000e+00 - 4.87500012e-01 1.25000002e-02 0.00000000e+00 - 1.25000002e-02 4.87500012e-01 0.00000000e+00 - 4.87500012e-01 4.87500012e-01 0.00000000e+00 - 5.12499988e-01 1.25000002e-02 0.00000000e+00 - 9.87500012e-01 1.25000002e-02 0.00000000e+00 - 5.12499988e-01 4.87500012e-01 0.00000000e+00 - 9.87500012e-01 4.87500012e-01 0.00000000e+00 - 1.25000002e-02 5.12499988e-01 0.00000000e+00 - 4.87500012e-01 5.12499988e-01 0.00000000e+00 - 1.25000002e-02 9.87500012e-01 0.00000000e+00 - 4.87500012e-01 9.87500012e-01 0.00000000e+00 - 5.12499988e-01 5.12499988e-01 0.00000000e+00 - 9.87500012e-01 5.12499988e-01 0.00000000e+00 - 5.12499988e-01 9.87500012e-01 0.00000000e+00 - 9.87500012e-01 9.87500012e-01 0.00000000e+00 - - - - - 0 1 2 3 - 4 5 6 7 - 8 9 10 11 - 12 13 14 15 - - - 4 8 12 16 - - - 8 8 8 8 - - - - - 0 0 0 0 - - - 0 0 0 0 - - - - - - - - +DEAL:2d::ExcMessage ("This class does not support anisotropic refinement") +DEAL:2d::ExcMessage ("This class does not support anisotropic refinement") -- 2.39.5