Conversation
Codecov Report❌ Patch coverage is Additional details and impacted files@@ Coverage Diff @@
## main #2060 +/- ##
=======================================
Coverage 77.05% 77.05%
=======================================
Files 112 112
Lines 18959 18957 -2
=======================================
- Hits 14608 14607 -1
+ Misses 4351 4350 -1 ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
lenaploetzke
left a comment
There was a problem hiding this comment.
Thank you for your nice work! Please also merge main :)
| * | ||
| */ | ||
| typedef struct | ||
| using t8_part_ghost_id_and_num_atts = struct |
There was a problem hiding this comment.
I think only struct t8_part_ghost_id_and_num_atts {...} is even clearer in this case.
| * We need it to find neighbor trees. | ||
| */ | ||
| typedef struct | ||
| using t8_msh_file_face_t = struct |
There was a problem hiding this comment.
| using t8_msh_file_face_t = struct | |
| struct t8_msh_file_face_t |
| int orientation = -1; | ||
| int found_orientation = 0; | ||
| int firstvertex = face1 == 0 ? 1 : 0; | ||
| int const firstvertex = face1 == 0 ? 1 : 0; |
There was a problem hiding this comment.
| int const firstvertex = face1 == 0 ? 1 : 0; | |
| int const firstvertex = (face1 == 0 ? 1 : 0); |
This would improve readability (although not related to your PR).
| * This struct stores query data about the elements within the forest. | ||
| */ | ||
| typedef struct | ||
| using t8_forest_child_type_query_t = struct |
There was a problem hiding this comment.
| using t8_forest_child_type_query_t = struct | |
| struct t8_forest_child_type_query_t |
| * The information for a remote process, what data we have to send to them. | ||
| */ | ||
| typedef struct | ||
| using t8_ghost_mpi_send_info_t = struct |
There was a problem hiding this comment.
| using t8_ghost_mpi_send_info_t = struct | |
| struct t8_ghost_mpi_send_info_t |
| * The data structure stored in the global_tree_to_ghost_tree hash table. | ||
| */ | ||
| typedef struct | ||
| using t8_ghost_gtree_hash_t = struct |
There was a problem hiding this comment.
| using t8_ghost_gtree_hash_t = struct | |
| struct t8_ghost_gtree_hash_t |
| * The data structure stored in the process_offsets array. | ||
| */ | ||
| typedef struct | ||
| using t8_ghost_process_hash_t = struct |
There was a problem hiding this comment.
similar as above and for all below.
| * This struct stores the ghost boundary data of a forest. | ||
| */ | ||
| typedef struct | ||
| using t8_forest_ghost_boundary_data_t = struct |
There was a problem hiding this comment.
| using t8_forest_ghost_boundary_data_t = struct | |
| struct t8_forest_ghost_boundary_data_t |
| * we send the information stored in this struct to the other process | ||
| */ | ||
| typedef struct | ||
| using t8_forest_partition_tree_info_t = struct |
There was a problem hiding this comment.
| using t8_forest_partition_tree_info_t = struct | |
| struct t8_forest_partition_tree_info_t |
| const t8_eclass_t tree_class, const int is_ghost, FILE *vtufile, | ||
| int *columns, void **data, T8_VTK_KERNEL_MODUS modus); | ||
| using t8_forest_vtk_cell_data_kernel | ||
| = int (*) (t8_forest_t, const t8_locidx_t, const t8_tree_t, const t8_locidx_t, const t8_element_t *, |
There was a problem hiding this comment.
Maybe we should keep the argument names here to make it easier to define custom callback with correct usage of variables.
Describe your changes here:
This PR consists of a handful of automated low-hanging fruit clang-tidy simplifications/modernizations.
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
script/find_all_source_files.scpto check the indentation of these files.License
doc/(or already has one).