triangulation.add_periodicity(periodic_faces);
triangulation.set_all_manifold_ids(111);
- static PeriodicHillManifold<dim> manifold;
+ PeriodicHillManifold<dim> manifold;
triangulation.set_manifold(111, manifold);
triangulation.refine_global(2);
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
tria.refine_global(2);
- const unsigned int frequency = 2;
- const double deformation = 0.05;
- static DeformedCubeManifold<dim> manifold(0.0, 1.0, deformation, frequency);
+ const unsigned int frequency = 2;
+ const double deformation = 0.05;
+ DeformedCubeManifold<dim> manifold(0.0, 1.0, deformation, frequency);
tria.set_all_manifold_ids(1);
tria.set_manifold(1, manifold);
Triangulation<dim> tria;
GridGenerator::hyper_cube(tria);
tria.refine_global(2);
- const unsigned int frequency = 2;
- const double deformation = 0.05;
- static DeformedCubeManifold<dim> manifold(0.0, 1.0, deformation, frequency);
+ const unsigned int frequency = 2;
+ const double deformation = 0.05;
+ DeformedCubeManifold<dim> manifold(0.0, 1.0, deformation, frequency);
tria.set_all_manifold_ids(1);
tria.set_manifold(1, manifold);