Triangulation<dim> triangulation;
GridGenerator::cylinder (triangulation);
- GridTools::transform (&rotate_to_y<dim>, triangulation);
+ GridTools::transform ((Point<dim> (*)(const Point<dim>&))&rotate_to_y<dim>, triangulation);
static const CylinderBoundary<dim> boundary (1,1);
triangulation.set_boundary (0, boundary);
Triangulation<dim> triangulation;
GridGenerator::cylinder (triangulation);
- GridTools::transform (&rotate_to_y<dim>, triangulation);
+ GridTools::transform ((Point<dim> (*)(const Point<dim>&))&rotate_to_y<dim>, triangulation);
static const CylinderBoundary<dim> boundary (1,2);
triangulation.set_boundary (0, boundary);
Triangulation<dim> triangulation;
GridGenerator::cylinder (triangulation);
- GridTools::transform (&rotate_to_y<dim>, triangulation);
+ GridTools::transform ((Point<dim> (*)(const Point<dim>&))&rotate_to_y<dim>, triangulation);
static const CylinderBoundary<dim> boundary (1,
Point<dim>(std::cos(xy_angle), std::sin(xy_angle), 0),
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