]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Make sure output is correct.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 00:31:25 +0000 (00:31 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 25 Oct 2010 00:31:25 +0000 (00:31 +0000)
git-svn-id: https://svn.dealii.org/trunk@22471 0785d39b-7218-0410-832d-ea1e28bc413d

tests/distributed_grids/anisotropic.cc
tests/distributed_grids/anisotropic/cmp/generic

index 3ce12bda10326f8a0b736b48a6529153e0d533d2..a3502725a7af48116e959767d770fbece899f6ef 100644 (file)
@@ -36,21 +36,7 @@ void test(std::ostream& /*out*/)
   GridGenerator::hyper_cube(tr);
   tr.begin_active()->set_refine_flag(RefinementCase<dim>::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 ();
 }
 
 
index 16cc49d4ae4065b5bd7551c68802dff7c43c0f2c..c858154bfb8da5870d3fb7e9e992f77cc163804c 100644 (file)
@@ -1,70 +1,3 @@
 
-DEAL:2d::Checksum: 167510149
-<?xml version="1.0"?>
-<VTKFile type="PUnstructuredGrid" version="0.1" byte_order="LittleEndian">
-  <PUnstructuredGrid GhostLevel="0">
-    <PPoints>
-      <PDataArray type="Float32" Name="Position" NumberOfComponents="3" format="ascii"/>
-    </PPoints>
-    <PCellData Scalars="mpirank,treeid">
-      <PDataArray type="Int32" Name="mpirank" format="ascii"/>
-      <PDataArray type="Int32" Name="treeid" format="ascii"/>
-    </PCellData>
-    <PPointData>
-    </PPointData>
-    <Piece Source="2_0000.vtu"/>
-  </PUnstructuredGrid>
-</VTKFile>
-
-<?xml version="1.0"?>
-<VTKFile type="UnstructuredGrid" version="0.1" byte_order="LittleEndian">
-  <UnstructuredGrid>
-    <Piece NumberOfPoints="16" NumberOfCells="4">
-      <Points>
-        <DataArray type="Float32" Name="Position" NumberOfComponents="3" format="ascii">
-            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
-        </DataArray>
-      </Points>
-      <Cells>
-        <DataArray type="Int32" Name="connectivity" format="ascii">
-          0 1 2 3
-          4 5 6 7
-          8 9 10 11
-          12 13 14 15
-        </DataArray>
-        <DataArray type="Int32" Name="offsets" format="ascii">
-          4 8 12 16
-        </DataArray>
-        <DataArray type="UInt8" Name="types" format="ascii">
-          8 8 8 8
-        </DataArray>
-      </Cells>
-      <CellData Scalars="mpirank,treeid">
-        <DataArray type="Int32" Name="mpirank" format="ascii">
-          0 0 0 0
-        </DataArray>
-        <DataArray type="Int32" Name="treeid" format="ascii">
-          0 0 0 0
-        </DataArray>
-      </CellData>
-      <PointData>
-      </PointData>
-    </Piece>
-  </UnstructuredGrid>
-</VTKFile>
-
+DEAL:2d::ExcMessage ("This class does not support anisotropic refinement")
+DEAL:2d::ExcMessage ("This class does not support anisotropic refinement")

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.