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 ();
}
-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")