Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Don't display vertices of bboxes when testing #15871

Merged
merged 1 commit into from
Aug 11, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 2 additions & 11 deletions tests/boost/node_visitor_02.cc
Original file line number Diff line number Diff line change
Expand Up @@ -61,18 +61,9 @@ test(const unsigned int ref = 6, const unsigned int level = 0)
<< boxes_in_level.size() << std::endl;
const auto boxes_in_boxes = extract_children_of_level(tree, level);

unsigned int total_number_of_boxes = 0;
for (unsigned int i = 0; i < boxes_in_boxes.size(); ++i)
{
deallog << "boxes_in_boxes[" << i
<< "] has size: " << boxes_in_boxes[i].size() << std::endl;
total_number_of_boxes += boxes_in_boxes[i].size();

for (const auto &b : boxes_in_boxes[i])
deallog << "Box: "
<< Patterns::Tools::to_string(b.get_boundary_points())
<< std::endl;
}
deallog << "boxes_in_boxes[" << i
<< "] has size: " << boxes_in_boxes[i].size() << std::endl;

// Uncomment to display the partition
// {
Expand Down
80 changes: 0 additions & 80 deletions tests/boost/node_visitor_02.output
Original file line number Diff line number Diff line change
@@ -1,87 +1,7 @@

DEAL::N Boxes in level 0 5
DEAL::boxes_in_boxes[0] has size: 16
DEAL::Box: -0.881921, -0.83147 : -0.531665, -0.450016
DEAL::Box: -0.95694, -0.53175 : -0.536612, -0.276678
DEAL::Box: -0.607969, -0.92388 : -0.366098, -0.518306
DEAL::Box: -0.579054, -0.551777 : -0.369543, -0.29632
DEAL::Box: -0.980785, -0.369233 : -0.591529, -0.125
DEAL::Box: -1, -0.19509 : -0.609835, -5.55112e-17
DEAL::Box: -0.635452, -0.355584 : -0.384288, -0.138959
DEAL::Box: -0.646447, -0.1875 : -0.376705, -1.38778e-17
DEAL::Box: -0.450016, -0.95694 : -0.224817, -0.522164
DEAL::Box: -0.4375, -0.554917 : -0.224112, -0.324238
DEAL::Box: -0.299756, -0.995185 : -0.0837004, -0.538182
DEAL::Box: -0.28014, -0.570217 : -0.0991117, -0.323358
DEAL::Box: -0.414752, -0.370558 : -0.256282, -0.146447
DEAL::Box: -0.418611, -0.185279 : -0.256282, 0
DEAL::Box: -0.301586, -0.353823 : -0.109835, -0.183058
DEAL::Box: -0.292893, -0.183058 : -0.146447, 0.0366117
DEAL::boxes_in_boxes[1] has size: 16
DEAL::Box: -1, -1.11022e-16 : -0.609835, 0.19509
DEAL::Box: -0.980785, 0.125 : -0.591529, 0.369233
DEAL::Box: -0.646447, -5.55112e-17 : -0.376705, 0.1875
DEAL::Box: -0.635452, 0.138959 : -0.384288, 0.355584
DEAL::Box: -0.95694, 0.276678 : -0.536612, 0.53175
DEAL::Box: -0.881921, 0.450016 : -0.531665, 0.83147
DEAL::Box: -0.579054, 0.29632 : -0.369543, 0.551777
DEAL::Box: -0.607969, 0.518306 : -0.366098, 0.92388
DEAL::Box: -0.418611, -1.38778e-17 : -0.256282, 0.215419
DEAL::Box: -0.414752, 0.172335 : -0.256282, 0.370558
DEAL::Box: -0.292893, 0 : -0.109835, 0.183058
DEAL::Box: -0.301586, 0.146447 : -0.109835, 0.353823
DEAL::Box: -0.4375, 0.324238 : -0.224112, 0.554917
DEAL::Box: -0.450016, 0.522164 : -0.224817, 0.95694
DEAL::Box: -0.28014, 0.323358 : -0.0991117, 0.570217
DEAL::Box: -0.299756, 0.538182 : -0.0837004, 0.995185
DEAL::boxes_in_boxes[2] has size: 16
DEAL::Box: -0.167401, -1 : 0.0980171, -0.672244
DEAL::Box: -0.141585, -0.734835 : 0.0707927, -0.460517
DEAL::Box: 0.0666464, -0.995185 : 0.316342, -0.635452
DEAL::Box: 0.0495558, -0.679374 : 0.29632, -0.451364
DEAL::Box: -0.148667, -0.502423 : 0.0926396, -0.292893
DEAL::Box: -0.146447, -0.337087 : 0.0796954, -0.21967
DEAL::Box: 0.0463198, -0.490982 : 0.297335, -0.323358
DEAL::Box: 0.0732233, -0.353823 : 0.301586, -0.21967
DEAL::Box: 0.237256, -0.95694 : 0.531665, -0.594264
DEAL::Box: 0.237056, -0.641192 : 0.508188, -0.422335
DEAL::Box: 0.438711, -0.881921 : 0.83147, -0.531665
DEAL::Box: 0.4375, -0.629442 : 0.881921, -0.40839
DEAL::Box: 0.247779, -0.474112 : 0.490129, -0.277919
DEAL::Box: 0.256282, -0.34467 : 0.503141, -0.185279
DEAL::Box: 0.461953, -0.484625 : 0.95694, -0.276678
DEAL::Box: 0.475682, -0.369233 : 0.980785, -0.167401
DEAL::boxes_in_boxes[3] has size: 16
DEAL::Box: -0.146447, -0.21967 : -0.0366117, 0
DEAL::Box: -0.0732233, -0.21967 : 0.0732233, 0
DEAL::Box: -0.146447, 0 : -0.0366117, 0.21967
DEAL::Box: -0.0732233, -0.0366117 : 0.0732233, 0.21967
DEAL::Box: 0.0366117, -0.21967 : 0.183058, 0
DEAL::Box: 0.146447, -0.21967 : 0.256282, 0
DEAL::Box: 0.0366117, -0.0366117 : 0.183058, 0.21967
DEAL::Box: 0.146447, 0 : 0.256282, 0.21967
DEAL::Box: -0.148667, 0.21967 : -1.38778e-17, 0.502423
DEAL::Box: -0.0430837, 0.183058 : 0.0861675, 0.46967
DEAL::Box: -0.141585, 0.460517 : 0.0707927, 0.734835
DEAL::Box: -0.167401, 0.672244 : 0.0980171, 1
DEAL::Box: 0.0430837, 0.183058 : 0.185279, 0.460517
DEAL::Box: 0.138959, 0.21967 : 0.297335, 0.479541
DEAL::Box: 0.0495558, 0.442211 : 0.29632, 0.672244
DEAL::Box: 0.0666464, 0.617055 : 0.299756, 0.995185
DEAL::boxes_in_boxes[4] has size: 16
DEAL::Box: 0.256282, -0.239086 : 0.51687, -0.0861675
DEAL::Box: 0.256282, -0.129251 : 0.513864, 0.0366117
DEAL::Box: 0.256282, -3.46945e-17 : 0.513864, 0.148667
DEAL::Box: 0.256282, 0.0991117 : 0.5306, 0.247779
DEAL::Box: 0.479541, -0.25 : 0.716348, -3.46945e-17
DEAL::Box: 0.672244, -0.250164 : 1, -6.245e-17
DEAL::Box: 0.490982, -6.93889e-17 : 0.734835, 0.25
DEAL::Box: 0.679374, -1.11022e-16 : 1, 0.263072
DEAL::Box: 0.239086, 0.199238 : 0.396447, 0.456658
DEAL::Box: 0.34467, 0.198223 : 0.503141, 0.474112
DEAL::Box: 0.237056, 0.422335 : 0.508188, 0.641192
DEAL::Box: 0.224817, 0.594264 : 0.507759, 0.95694
DEAL::Box: 0.461953, 0.1875 : 0.679374, 0.5
DEAL::Box: 0.63361, 0.176631 : 0.980785, 0.483853
DEAL::Box: 0.428636, 0.4375 : 0.65533, 0.881921
DEAL::Box: 0.577665, 0.40839 : 0.881921, 0.77301