From: David Wells Date: Wed, 16 May 2018 22:12:25 +0000 (-0400) Subject: Switch a few OC tests to use new manifold names. X-Git-Tag: v9.1.0-rc1~1134^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=91762bf2fb82c118aba00c3484588e379c660442;p=dealii.git Switch a few OC tests to use new manifold names. The old versions of these classes are implemented by inheriting from their replacements, so if tests pass with old names then they should pass with new names. To be sure, though, convert a few of the tests to use the new names. --- diff --git a/tests/opencascade/circle_normal_projection.cc b/tests/opencascade/circle_normal_projection.cc index 32ffcce966..ce928e84c9 100644 --- a/tests/opencascade/circle_normal_projection.cc +++ b/tests/opencascade/circle_normal_projection.cc @@ -19,7 +19,7 @@ #include "../tests.h" -#include +#include #include #include @@ -58,7 +58,7 @@ int main () TopoDS_Edge edge = BRepBuilderAPI_MakeEdge(circle); // Create a boundary projector. - NormalProjectionBoundary<2,3> boundary_line(edge); + NormalProjectionManifold<2,3> boundary_line(edge); // This one is for checking: This // is what deal.II would do for a diff --git a/tests/opencascade/project_center_cell_02.cc b/tests/opencascade/project_center_cell_02.cc index 2622187627..ee7cfde84a 100644 --- a/tests/opencascade/project_center_cell_02.cc +++ b/tests/opencascade/project_center_cell_02.cc @@ -20,7 +20,7 @@ #include "../tests.h" -#include +#include #include #include @@ -57,14 +57,14 @@ int main () // Create a boundary projector on the first face. - DirectionalProjectionBoundary<2,3> boundary(faces[0], Point<3>(0.,1.,0.)); + DirectionalProjectionManifold<2,3> manifold(faces[0], Point<3>(0.,1.,0.)); // Create a Triangulation with a single cell Triangulation<2,3> tria; create_triangulation(faces[0], tria); - // Set the boundary - tria.set_manifold(1, boundary); + // Set the manifold + tria.set_manifold(1, manifold); tria.begin()->set_all_manifold_ids(1); deallog << "Ncells: " << tria.n_active_cells() << std::endl diff --git a/tests/opencascade/project_center_cell_03.cc b/tests/opencascade/project_center_cell_03.cc index 8bd5fb296a..b91668cb32 100644 --- a/tests/opencascade/project_center_cell_03.cc +++ b/tests/opencascade/project_center_cell_03.cc @@ -20,7 +20,7 @@ #include "../tests.h" -#include +#include #include #include @@ -56,15 +56,15 @@ int main () extract_geometrical_shapes(sh, faces, edges, vertices); - // Create a boundary projector on the first face. - NormalToMeshProjectionBoundary<2,3> boundary(faces[0]); + // Create a manifold projector on the first face. + NormalToMeshProjectionManifold<2,3> manifold(faces[0]); // Create a Triangulation with a single cell Triangulation<2,3> tria; create_triangulation(faces[0], tria); - // Set the boundary - tria.set_manifold(1, boundary); + // Set the manifold + tria.set_manifold(1, manifold); tria.begin()->set_all_manifold_ids(1); deallog << "Ncells: " << tria.n_active_cells() << std::endl