#include <deal.II/grid/grid_reordering.h>
#include <deal.II/grid/grid_tools.h>
#include <deal.II/grid/grid_generator.h>
-#include <deal.II/grid/tria_boundary.h>
+#include <deal.II/grid/manifold.h>
#include <deal.II/grid/grid_out.h>
#include <deal.II/dofs/dof_handler.h>
#include <deal.II/fe/fe_q.h>
#include <deal.II/base/function.h>
#include <deal.II/grid/tria.h>
-#include <deal.II/grid/tria_boundary_lib.h>
+#include <deal.II/grid/manifold_lib.h>
#include <deal.II/grid/grid_generator.h>
#include <deal.II/grid/grid_tools.h>
#include <deal.II/dofs/dof_handler.h>
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<types::boundary_id> boundary_ids;
boundary_ids.insert(0);
data_out.write_gnuplot (deallog.get_file_stream());
-
dh_test.clear();
- tria.set_boundary(0);
+ tria.set_manifold(0);
return 0;
}
volume_mesh.set_manifold (0, boundary_description);
volume_mesh.refine_global (1);
- const HyperBallBoundary<dim-1,dim> surface_description;
+ const PolarManifold<dim> surface_description;
Triangulation<dim-1,dim> boundary_mesh;
boundary_mesh.set_manifold (0, surface_description);
volume_mesh.set_manifold (1, boundary_description);
volume_mesh.refine_global (1);
- const HyperBallBoundary<dim-1,dim> surface_description;
+ const PolarManifold<dim> surface_description;
Triangulation<dim-1,dim> boundary_mesh;
boundary_mesh.set_manifold (1, surface_description);
volume_mesh.set_manifold (0, boundary_description);
volume_mesh.refine_global (1);
- const HyperBallBoundary<dim-1,dim> surface_description;
+ const PolarManifold<dim> surface_description;
Triangulation<dim-1,dim> boundary_mesh;
boundary_mesh.set_manifold (1, surface_description);
boundary_mesh.set_manifold (0, surface_description);
Triangulation<dim> volume_mesh;
GridGenerator::hyper_ball(volume_mesh);
- const HyperBallBoundary<dim-1,dim> surface_description;
+ const PolarManifold<dim> surface_description;
Triangulation<dim-1,dim> boundary_mesh;
boundary_mesh.set_manifold (0, surface_description);
Triangulation<dim> tr;
GridGenerator::hyper_cube_with_cylindrical_hole(tr, .3, .4, 1, 1, false);
- CylinderManifold<dim> boundary(.3, 2);
+ CylinderManifold<dim> boundary(2);
tr.set_manifold(1, boundary);
{
std::ofstream grid_file("coarse_grid.inp");