From: heister Date: Fri, 25 May 2012 17:10:07 +0000 (+0000) Subject: test actually works. X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=467ef0b4345988d2857374d6e57548d367c1feb9;p=dealii-svn.git test actually works. git-svn-id: https://svn.dealii.org/trunk@25545 0785d39b-7218-0410-832d-ea1e28bc413d --- diff --git a/tests/bits/find_cell_6.cc b/tests/bits/find_cell_6.cc index 5b3a90df62..8cdf1f8799 100644 --- a/tests/bits/find_cell_6.cc +++ b/tests/bits/find_cell_6.cc @@ -14,17 +14,7 @@ // find_active_cell_around_point() uses the closest vertex // to find the corresponding cell. This fail(ed) if it is // a hanging node for that cell. -// this test documents this error: -/* -An error occurred in line <2552> of file in function - void dealii::CellAccessor::set_refine_flag(dealii::RefinementCase) const [with int dim = 2, int spacedim = 2] -The violated condition was: - this->used() && this->active() -The name and call sequence of the exception was: - ExcRefineCellNotActive() -Additional Information: -(none) -*/ +// This test fortunately does not show this error (yet). #include "../tests.h" #include @@ -69,7 +59,7 @@ int main () Triangulation<2> coarse_grid; GridGenerator::hyper_cube (coarse_grid); coarse_grid.refine_global (1); - coarse_grid.begin()->set_refine_flag(); + coarse_grid.begin_active()->set_refine_flag(); coarse_grid.execute_coarsening_and_refinement(); check (coarse_grid); } diff --git a/tests/bits/find_cell_6/cmp/generic b/tests/bits/find_cell_6/cmp/generic index 838c265721..1b77c2663d 100644 --- a/tests/bits/find_cell_6/cmp/generic +++ b/tests/bits/find_cell_6/cmp/generic @@ -1,3 +1,3 @@ -DEAL::3.462 -DEAL::<0.750000 0.625000 0.625000> <0.875000 0.625000 0.625000> <0.750000 0.750000 0.625000> <0.875000 0.750000 0.625000> <0.750000 0.625000 0.750000> <0.875000 0.625000 0.750000> <0.750000 0.750000 0.750000> <0.875000 0.750000 0.750000> +DEAL::1.2 +DEAL::<0.00000 0.500000> <0.500000 0.500000> <0.00000 1.00000> <0.500000 1.00000>