]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Remove static declaration from a few tests 15962/head
authorMartin Kronbichler <martin.kronbichler@uni-a.de>
Thu, 7 Sep 2023 18:11:35 +0000 (20:11 +0200)
committerMartin Kronbichler <martin.kronbichler@uni-a.de>
Thu, 7 Sep 2023 18:11:35 +0000 (20:11 +0200)
tests/matrix_free/matrix_vector_faces_12.cc
tests/matrix_free/matrix_vector_rt_04.cc
tests/matrix_free/matrix_vector_rt_face_04.cc

index bffa100a31230554f73ad2deb4093ddfadaee650..c0ee9c159baefee97ff1d7c444e722665f318478 100644 (file)
@@ -282,7 +282,7 @@ test()
   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);
 
index e4ad5db4774b8eae26146ee794b4b3530ccb880a..74c6f0b2fdedb8829bb97c44fbd95f693db35d33 100644 (file)
@@ -130,9 +130,9 @@ test()
   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);
 
index 781730776e849456d257cf6143fa191a4d40e765..023495223064059d9332e2afdf6c7d3bb28ba91f 100644 (file)
@@ -131,9 +131,9 @@ test()
   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);
 

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.