*/
template <int dim, typename Number = double>
BoundingBox<dim, Number>
-create_unit_box();
+create_unit_bounding_box();
/**
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)
{
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();
}
// 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>
// 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);
}
test_bounds<dim>();
deallog << std::endl;
- test_create_unit_box<dim>();
+ test_create_unit_bounding_box<dim>();
deallog << std::endl;
deallog << std::endl;
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::
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::
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::