]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Replace Boundary by Manifold.
authorMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Wed, 8 Nov 2017 11:00:58 +0000 (12:00 +0100)
committerMartin Kronbichler <kronbichler@lnm.mw.tum.de>
Tue, 12 Dec 2017 08:58:04 +0000 (09:58 +0100)
tests/fe/jacobians_face.cc

index a4750bdd9a59583b73300a8a226117703b37a6d4..d5c28411a6df326bc82a1c9d8af7e5936054c61c 100644 (file)
 #include <deal.II/fe/mapping_q.h>
 #include <deal.II/grid/tria.h>
 #include <deal.II/grid/grid_generator.h>
-#include <deal.II/grid/tria_boundary_lib.h>
+#include <deal.II/grid/manifold_lib.h>
 
 template <int dim>
 void test()
 {
   Triangulation<dim> tria;
   GridGenerator::hyper_ball (tria);
-  static const HyperBallBoundary<dim> boundary;
-  tria.set_boundary (0, boundary);
+  static const SphericalManifold<dim> manifold;
+  tria.set_all_manifold_ids_on_boundary(0);
+  tria.set_manifold (0, manifold);
   tria.begin_active()->set_refine_flag();
   tria.execute_coarsening_and_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.