]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
test actually works.
authorheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 May 2012 17:10:07 +0000 (17:10 +0000)
committerheister <heister@0785d39b-7218-0410-832d-ea1e28bc413d>
Fri, 25 May 2012 17:10:07 +0000 (17:10 +0000)
git-svn-id: https://svn.dealii.org/trunk@25545 0785d39b-7218-0410-832d-ea1e28bc413d

tests/bits/find_cell_6.cc
tests/bits/find_cell_6/cmp/generic

index 5b3a90df62ef5029b5592431b1869f2123aa0d36..8cdf1f87991d1325b4bf6ea7608843d5955c913d 100644 (file)
 // 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 </scratch/deal-trunk/deal.II/include/deal.II/grid/tria_accessor.templates.h> in function
-    void dealii::CellAccessor<dim, spacedim>::set_refine_flag(dealii::RefinementCase<dim>) 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 <deal.II/base/logstream.h>
@@ -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);
     }
index 838c2657218342a1586f6317ae139e27a4957b04..1b77c2663db464b69004a61c1a1e636d751ffbd9 100644 (file)
@@ -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> 

In the beginning the Universe was created. This has made a lot of people very angry and has been widely regarded as a bad move.

Douglas Adams


Typeset in Trocchi and Trocchi Bold Sans Serif.