]> https://gitweb.dealii.org/ - dealii-svn.git/commitdiff
Re-apply r30417.
authorbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Oct 2013 02:28:39 +0000 (02:28 +0000)
committerbangerth <bangerth@0785d39b-7218-0410-832d-ea1e28bc413d>
Mon, 14 Oct 2013 02:28:39 +0000 (02:28 +0000)
git-svn-id: https://svn.dealii.org/branches/branch_manifold_id@31220 0785d39b-7218-0410-832d-ea1e28bc413d

deal.II/examples/step-42/step-42.cc

index b3f695b07baf80584935522fa9be0103d4d9a45b..5df351e27a1c30dbf6af39e7a431ee24cb548365 100644 (file)
@@ -51,7 +51,7 @@
 #include <deal.II/grid/grid_tools.h>
 #include <deal.II/grid/tria_accessor.h>
 #include <deal.II/grid/tria_iterator.h>
-#include <deal.II/grid/tria_boundary_lib.h>
+#include <deal.II/grid/manifold_lib.h>
 
 #include <deal.II/distributed/tria.h>
 #include <deal.II/distributed/grid_refinement.h>
@@ -908,8 +908,8 @@ namespace Step42
         GridTools::transform(&rotate_half_sphere, triangulation);
         GridTools::shift(Point<dim>(0.5, 0.5, 0.5), triangulation);
 
-        static HyperBallBoundary<dim> boundary_description(Point<dim>(0.5, 0.5, 0.5), radius);
-        triangulation.set_boundary(0, boundary_description);
+        static PolarManifold<dim> boundary_description(Point<dim>(0.5, 0.5, 0.5));
+        triangulation.set_manifold(0, boundary_description);
       }
     // Alternatively, create a hypercube mesh. After creating it,
     // assign boundary indicators as follows:

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.