From: Martin Kronbichler Date: Thu, 7 Sep 2023 18:11:35 +0000 (+0200) Subject: Remove static declaration from a few tests X-Git-Tag: relicensing~524^2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=refs%2Fpull%2F15962%2Fhead;p=dealii.git Remove static declaration from a few tests --- diff --git a/tests/matrix_free/matrix_vector_faces_12.cc b/tests/matrix_free/matrix_vector_faces_12.cc index bffa100a31..c0ee9c159b 100644 --- a/tests/matrix_free/matrix_vector_faces_12.cc +++ b/tests/matrix_free/matrix_vector_faces_12.cc @@ -282,7 +282,7 @@ test() triangulation.add_periodicity(periodic_faces); triangulation.set_all_manifold_ids(111); - static PeriodicHillManifold manifold; + PeriodicHillManifold manifold; triangulation.set_manifold(111, manifold); triangulation.refine_global(2); diff --git a/tests/matrix_free/matrix_vector_rt_04.cc b/tests/matrix_free/matrix_vector_rt_04.cc index e4ad5db477..74c6f0b2fd 100644 --- a/tests/matrix_free/matrix_vector_rt_04.cc +++ b/tests/matrix_free/matrix_vector_rt_04.cc @@ -130,9 +130,9 @@ test() Triangulation tria; GridGenerator::hyper_cube(tria); tria.refine_global(2); - const unsigned int frequency = 2; - const double deformation = 0.05; - static DeformedCubeManifold manifold(0.0, 1.0, deformation, frequency); + const unsigned int frequency = 2; + const double deformation = 0.05; + DeformedCubeManifold manifold(0.0, 1.0, deformation, frequency); tria.set_all_manifold_ids(1); tria.set_manifold(1, manifold); diff --git a/tests/matrix_free/matrix_vector_rt_face_04.cc b/tests/matrix_free/matrix_vector_rt_face_04.cc index 781730776e..0234952230 100644 --- a/tests/matrix_free/matrix_vector_rt_face_04.cc +++ b/tests/matrix_free/matrix_vector_rt_face_04.cc @@ -131,9 +131,9 @@ test() Triangulation tria; GridGenerator::hyper_cube(tria); tria.refine_global(2); - const unsigned int frequency = 2; - const double deformation = 0.05; - static DeformedCubeManifold manifold(0.0, 1.0, deformation, frequency); + const unsigned int frequency = 2; + const double deformation = 0.05; + DeformedCubeManifold manifold(0.0, 1.0, deformation, frequency); tria.set_all_manifold_ids(1); tria.set_manifold(1, manifold);