Repository navigation
Conversation
Codecov Report❌ Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #2324 +/- ##
==========================================
+ Coverage 82.65% 82.95% +0.30%
==========================================
Files 132 140 +8
Lines 21515 21747 +232
==========================================
+ Hits 17783 18040 +257
+ Misses 3732 3707 -25 ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
sandro-elsweijer
requested changes
Oct 2, 2026
| t8_cmesh_t bbox_cmesh; | ||
| t8_cmesh_init (&bbox_cmesh); | ||
|
|
||
| std::vector<double> vertices |
|
|
||
| t8_forest_element_points_inside (forest_new, which_tree, new_element, point_coords.data (), | ||
| static_cast<int> (old_element_data.midpoints.size ()), point_inside.data (), | ||
| 0.0f); |
Member
There was a problem hiding this comment.
Suggested change
| 0.0f); | |
| 0); |
Comment on lines
+200
to
+201
|
|
||
| t8_debugf ("starting tree reindexing\n"); |
Member
There was a problem hiding this comment.
Suggested change
| t8_debugf ("starting tree reindexing\n"); |
| t8_cmesh_reindex_tree (t8_cmesh_t cmesh, sc_MPI_Comm comm) | ||
| { | ||
| std::map<t8_gloidx_t, t8_gloidx_t> tree_reindex; | ||
| std::vector<double> flat_vertices; |
Comment on lines
+252
to
+257
| t8_debugf ("Computed center for global tree %li: %f, %f, %.f\n", attr->id, center[0], center[1], center[2]); | ||
| } | ||
|
|
||
| t8_debugf ("received local cmesh bounding box\n"); | ||
| t8_debugf ("physical bbox bounds: x=[%.17g, %.17g], y=[%.17g, %.17g], z=[%.17g, %.17g]\n", min_coords[0], | ||
| max_coords[0], min_coords[1], max_coords[1], min_coords[2], max_coords[2]); |
Member
There was a problem hiding this comment.
Suggested change
| t8_debugf ("Computed center for global tree %li: %f, %f, %.f\n", attr->id, center[0], center[1], center[2]); | |
| } | |
| t8_debugf ("received local cmesh bounding box\n"); | |
| t8_debugf ("physical bbox bounds: x=[%.17g, %.17g], y=[%.17g, %.17g], z=[%.17g, %.17g]\n", min_coords[0], | |
| max_coords[0], min_coords[1], max_coords[1], min_coords[2], max_coords[2]); | |
| } |
| const double dy = max_coords[1] - min_coords[1]; | ||
| const double dz = max_coords[2] - min_coords[2]; | ||
|
|
||
| const double eps = T8_PRECISION_SQRT_EPS; |
Member
There was a problem hiding this comment.
Suggested change
| const double eps = T8_PRECISION_SQRT_EPS; | |
| constexpr double eps = T8_PRECISION_SQRT_EPS; |
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #2325
Describe your changes here:
All these boxes must be checked by the AUTHOR before requesting review:
Documentation:,Bugfix:,Feature:,Improvement:orOther:.All these boxes must be checked by the REVIEWERS before merging the pull request:
As a reviewer please read through all the code lines and make sure that the code is fully understood, bug free, well-documented and well-structured.
General
Tests
If the Pull request introduces code that is not covered by the github action (for example coupling with a new library):
Scripts and Wiki
scripts/internal/find_all_source_files.shto check the indentation of these files.License
doc/(or already has one).