]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename some tests 12929/head
authorPeter Munch <peterrmuench@gmail.com>
Tue, 9 Nov 2021 09:45:54 +0000 (10:45 +0100)
committerPeter Munch <peterrmuench@gmail.com>
Tue, 9 Nov 2021 09:45:54 +0000 (10:45 +0100)
tests/base/function_signed_distance_01.cc [moved from tests/base/function_level_set.cc with 81% similarity]
tests/base/function_signed_distance_01.output [moved from tests/base/function_level_set.output with 100% similarity]
tests/base/function_signed_distance_02.cc [moved from tests/base/function_signed_distance.cc with 100% similarity]
tests/base/function_signed_distance_02.output [moved from tests/base/function_signed_distance.output with 100% similarity]

similarity index 81%
rename from tests/base/function_level_set.cc
rename to tests/base/function_signed_distance_01.cc
index 7ef37054a465db2f48015774be5a910040d4f3c0..9bba700df6336cd8cc359b37fc92fae00bd41c0e 100644 (file)
 // ---------------------------------------------------------------------
 
 /**
- * Test the classes Functions::LevelSet::Sphere and Functions::LevelSet::Plane,
- * by creating an object of each class and calling the value, gradient and
- * hessian functions at a point where we know what the function values should
- * be.
+ * Test the classes Functions::SignedDistance::Sphere and
+ * Functions::SignedDistance::Plane, by creating an object of each class and
+ * calling the value, gradient and hessian functions at a point where we know
+ * what the function values should be.
  */
 
 #include <deal.II/base/function_level_set.h>
@@ -49,7 +49,7 @@ namespace
     const Point<dim> center;
     const double     radius = 1;
 
-    const Functions::LevelSet::Sphere<dim> level_set(center, radius);
+    const Functions::SignedDistance::Sphere<dim> level_set(center, radius);
 
     Point<dim> point;
     point[0] = 2 * radius;
@@ -68,7 +68,8 @@ namespace
     const Point<dim>     point_in_plane;
     const Tensor<1, dim> normal = Point<dim>::unit_vector(0);
 
-    const Functions::LevelSet::Plane<dim> level_set(point_in_plane, normal);
+    const Functions::SignedDistance::Plane<dim> level_set(point_in_plane,
+                                                          normal);
 
     Point<dim> point;
     for (unsigned int i = 0; i < dim; ++i)

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.