From: Simon Sticko Date: Tue, 7 Apr 2020 18:41:27 +0000 (+0200) Subject: Rename function create_unit_box() to create_unit_bounding_box(). X-Git-Tag: v9.2.0-rc1~260^2~2 X-Git-Url: https://gitweb.dealii.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b2a25995b31a1d25b0f9646ae472937f53f0b726;p=dealii.git Rename function create_unit_box() to create_unit_bounding_box(). --- diff --git a/include/deal.II/base/bounding_box.h b/include/deal.II/base/bounding_box.h index 31f5726c80..2f2b77d2d3 100644 --- a/include/deal.II/base/bounding_box.h +++ b/include/deal.II/base/bounding_box.h @@ -273,7 +273,7 @@ private: */ template BoundingBox -create_unit_box(); +create_unit_bounding_box(); /** diff --git a/source/base/bounding_box.cc b/source/base/bounding_box.cc index 978bc5c23c..873445bbe9 100644 --- a/source/base/bounding_box.cc +++ b/source/base/bounding_box.cc @@ -317,7 +317,7 @@ BoundingBox::cross_section(const unsigned int direction) const template BoundingBox -create_unit_box() +create_unit_bounding_box() { std::pair, Point> lower_upper_corner; for (unsigned int i = 0; i < dim; ++i) diff --git a/source/base/bounding_box.inst.in b/source/base/bounding_box.inst.in index f44e86ffa7..632d08012d 100644 --- a/source/base/bounding_box.inst.in +++ b/source/base/bounding_box.inst.in @@ -18,5 +18,5 @@ for (deal_II_dimension : SPACE_DIMENSIONS; number : REAL_SCALARS) { template class BoundingBox; - template BoundingBox create_unit_box(); + template BoundingBox create_unit_bounding_box(); } diff --git a/tests/base/bounding_box_6.cc b/tests/base/bounding_box_6.cc index ebeeac7004..95700ef7c8 100644 --- a/tests/base/bounding_box_6.cc +++ b/tests/base/bounding_box_6.cc @@ -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 @@ -189,10 +189,10 @@ test_bounds() // Test that we can call the create_unit_box function. template void -test_create_unit_box() +test_create_unit_bounding_box() { - deallog << "test_create_unit_box" << std::endl; - BoundingBox box = create_unit_box(); + deallog << "test_create_unit_bounding_box" << std::endl; + BoundingBox box = create_unit_bounding_box(); print_box(box); } @@ -222,7 +222,7 @@ run_test() test_bounds(); deallog << std::endl; - test_create_unit_box(); + test_create_unit_bounding_box(); deallog << std::endl; deallog << std::endl; diff --git a/tests/base/bounding_box_6.output b/tests/base/bounding_box_6.output index c16b85b8da..0f979012ae 100644 --- a/tests/base/bounding_box_6.output +++ b/tests/base/bounding_box_6.output @@ -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::