]> https://gitweb.dealii.org/ - dealii.git/commitdiff
Rename function create_unit_box() to create_unit_bounding_box().
authorSimon Sticko <simon@sticko.se>
Tue, 7 Apr 2020 18:41:27 +0000 (20:41 +0200)
committerSimon Sticko <simon@sticko.se>
Tue, 7 Apr 2020 19:39:19 +0000 (21:39 +0200)
include/deal.II/base/bounding_box.h
source/base/bounding_box.cc
source/base/bounding_box.inst.in
tests/base/bounding_box_6.cc
tests/base/bounding_box_6.output

index 31f5726c80ec2894e2fba188ad74b4ba2f4d612d..2f2b77d2d3eabce97b31a4c8bdecb48ebba86adf 100644 (file)
@@ -273,7 +273,7 @@ private:
  */
 template <int dim, typename Number = double>
 BoundingBox<dim, Number>
-create_unit_box();
+create_unit_bounding_box();
 
 
 /**
index 978bc5c23c4d7ad2821c8b8d675f918b2a6bd154..873445bbe9ba459aecefcbdaf680b1cd12d5c76f 100644 (file)
@@ -317,7 +317,7 @@ BoundingBox<spacedim, Number>::cross_section(const unsigned int direction) const
 
 template <int dim, typename Number>
 BoundingBox<dim, Number>
-create_unit_box()
+create_unit_bounding_box()
 {
   std::pair<Point<dim, Number>, Point<dim, Number>> lower_upper_corner;
   for (unsigned int i = 0; i < dim; ++i)
index f44e86ffa78eb476ebe32442b1a1614b5cb541a1..632d08012d50f246f5d56d38327ce52dde71c1c7 100644 (file)
@@ -18,5 +18,5 @@ for (deal_II_dimension : SPACE_DIMENSIONS; number : REAL_SCALARS)
   {
     template class BoundingBox<deal_II_dimension, number>;
 
-    template BoundingBox<deal_II_dimension, number> create_unit_box();
+    template BoundingBox<deal_II_dimension, number> create_unit_bounding_box();
   }
index ebeeac7004cb9181dbe5d47178ff87d356382887..95700ef7c8ab479ed29b24a6979e0c542e810b2c 100644 (file)
@@ -20,7 +20,7 @@
 // child
 // vertex
 // bounds
-// and the non-member but related function create_unit_box
+// and the non-member but related function create_unit_bounding_box
 // Each function is tested in the function named test_{member_function_name}.
 
 #include <deal.II/base/bounding_box.h>
@@ -189,10 +189,10 @@ test_bounds()
 // Test that we can call the create_unit_box function.
 template <int dim>
 void
-test_create_unit_box()
+test_create_unit_bounding_box()
 {
-  deallog << "test_create_unit_box" << std::endl;
-  BoundingBox<dim> box = create_unit_box<dim>();
+  deallog << "test_create_unit_bounding_box" << std::endl;
+  BoundingBox<dim> box = create_unit_bounding_box<dim>();
   print_box(box);
 }
 
@@ -222,7 +222,7 @@ run_test()
   test_bounds<dim>();
   deallog << std::endl;
 
-  test_create_unit_box<dim>();
+  test_create_unit_bounding_box<dim>();
   deallog << std::endl;
 
   deallog << std::endl;
index c16b85b8da7753321307af9dd1f321cac9a11901..0f979012ae8ca3e3392bf6bd156dbe21e3f7104c 100644 (file)
@@ -24,7 +24,7 @@ DEAL::test_bounds
 DEAL::Bounds in direction 0
 DEAL::[-1.00000, 1.00000]
 DEAL::
-DEAL::test_create_unit_box
+DEAL::test_create_unit_bounding_box
 DEAL::[0.00000, 1.00000]
 DEAL::
 DEAL::
@@ -63,7 +63,7 @@ DEAL::[-1.00000, 1.00000]
 DEAL::Bounds in direction 1
 DEAL::[-2.00000, 2.00000]
 DEAL::
-DEAL::test_create_unit_box
+DEAL::test_create_unit_bounding_box
 DEAL::[0.00000, 1.00000]x[0.00000, 1.00000]
 DEAL::
 DEAL::
@@ -118,7 +118,7 @@ DEAL::[-2.00000, 2.00000]
 DEAL::Bounds in direction 2
 DEAL::[-3.00000, 3.00000]
 DEAL::
-DEAL::test_create_unit_box
+DEAL::test_create_unit_bounding_box
 DEAL::[0.00000, 1.00000]x[0.00000, 1.00000]x[0.00000, 1.00000]
 DEAL::
 DEAL::

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.