From 46f37378839269a84b0d99189d811c43547ade28 Mon Sep 17 00:00:00 2001 From: heltai Date: Tue, 19 Nov 2013 22:28:25 +0000 Subject: [PATCH] Removed some left overs from Boundary to Manifold git-svn-id: https://svn.dealii.org/branches/branch_manifold_id@31721 0785d39b-7218-0410-832d-ea1e28bc413d --- tests/bits/distorted_cells_05.cc | 2 +- tests/codim_one/data_out_03.cc | 17 ++++++++--------- tests/codim_one/extract_boundary_mesh_02.cc | 2 +- tests/codim_one/extract_boundary_mesh_03.cc | 2 +- tests/codim_one/extract_boundary_mesh_04.cc | 2 +- tests/codim_one/mapping_02.cc | 2 +- tests/deal.II/grid_output_input.cc | 2 +- 7 files changed, 14 insertions(+), 15 deletions(-) diff --git a/tests/bits/distorted_cells_05.cc b/tests/bits/distorted_cells_05.cc index a719d8713b..bc03396ff8 100644 --- a/tests/bits/distorted_cells_05.cc +++ b/tests/bits/distorted_cells_05.cc @@ -29,7 +29,7 @@ #include #include #include -#include +#include #include #include #include diff --git a/tests/codim_one/data_out_03.cc b/tests/codim_one/data_out_03.cc index b37193f334..f37697cf27 100644 --- a/tests/codim_one/data_out_03.cc +++ b/tests/codim_one/data_out_03.cc @@ -25,7 +25,7 @@ #include #include -#include +#include #include #include #include @@ -79,17 +79,17 @@ int main () std::map< Triangulation<2,3>::cell_iterator, Triangulation<3,3>::face_iterator> surface_to_volume_mapping; - HyperBallBoundary<3> boundary_description; + PolarManifold<3> boundary_description; Triangulation<3> volume_mesh; GridGenerator::half_hyper_ball(volume_mesh); - volume_mesh.set_boundary (1, boundary_description); - volume_mesh.set_boundary (0, boundary_description); + volume_mesh.set_manifold (1, boundary_description); + volume_mesh.set_manifold (0, boundary_description); - static HyperBallBoundary<2,3> surface_description; - tria.set_boundary (1, surface_description); - tria.set_boundary (0, surface_description); + static PolarManifold<3> surface_description; + tria.set_manifold (1, surface_description); + tria.set_manifold (0, surface_description); std::set boundary_ids; boundary_ids.insert(0); @@ -124,9 +124,8 @@ int main () data_out.write_gnuplot (deallog.get_file_stream()); - dh_test.clear(); - tria.set_boundary(0); + tria.set_manifold(0); return 0; } diff --git a/tests/codim_one/extract_boundary_mesh_02.cc b/tests/codim_one/extract_boundary_mesh_02.cc index 66d32023d7..391f848382 100644 --- a/tests/codim_one/extract_boundary_mesh_02.cc +++ b/tests/codim_one/extract_boundary_mesh_02.cc @@ -102,7 +102,7 @@ int main () volume_mesh.set_manifold (0, boundary_description); volume_mesh.refine_global (1); - const HyperBallBoundary surface_description; + const PolarManifold surface_description; Triangulation boundary_mesh; boundary_mesh.set_manifold (0, surface_description); diff --git a/tests/codim_one/extract_boundary_mesh_03.cc b/tests/codim_one/extract_boundary_mesh_03.cc index db3ac04245..532555ca71 100644 --- a/tests/codim_one/extract_boundary_mesh_03.cc +++ b/tests/codim_one/extract_boundary_mesh_03.cc @@ -116,7 +116,7 @@ int main () volume_mesh.set_manifold (1, boundary_description); volume_mesh.refine_global (1); - const HyperBallBoundary surface_description; + const PolarManifold surface_description; Triangulation boundary_mesh; boundary_mesh.set_manifold (1, surface_description); diff --git a/tests/codim_one/extract_boundary_mesh_04.cc b/tests/codim_one/extract_boundary_mesh_04.cc index 39e02bccda..d63557c293 100644 --- a/tests/codim_one/extract_boundary_mesh_04.cc +++ b/tests/codim_one/extract_boundary_mesh_04.cc @@ -118,7 +118,7 @@ int main () volume_mesh.set_manifold (0, boundary_description); volume_mesh.refine_global (1); - const HyperBallBoundary surface_description; + const PolarManifold surface_description; Triangulation boundary_mesh; boundary_mesh.set_manifold (1, surface_description); boundary_mesh.set_manifold (0, surface_description); diff --git a/tests/codim_one/mapping_02.cc b/tests/codim_one/mapping_02.cc index cbe2afdf20..9a077a4282 100644 --- a/tests/codim_one/mapping_02.cc +++ b/tests/codim_one/mapping_02.cc @@ -41,7 +41,7 @@ void test () Triangulation volume_mesh; GridGenerator::hyper_ball(volume_mesh); - const HyperBallBoundary surface_description; + const PolarManifold surface_description; Triangulation boundary_mesh; boundary_mesh.set_manifold (0, surface_description); diff --git a/tests/deal.II/grid_output_input.cc b/tests/deal.II/grid_output_input.cc index d8e2ee95c6..e5bd47ea9d 100644 --- a/tests/deal.II/grid_output_input.cc +++ b/tests/deal.II/grid_output_input.cc @@ -40,7 +40,7 @@ void test(std::ostream &out) Triangulation tr; GridGenerator::hyper_cube_with_cylindrical_hole(tr, .3, .4, 1, 1, false); - CylinderManifold boundary(.3, 2); + CylinderManifold boundary(2); tr.set_manifold(1, boundary); { std::ofstream grid_file("coarse_grid.inp"); -- 2.39.5