From 3093a1c306536f1318029e6c7fce3b02f8843ba4 Mon Sep 17 00:00:00 2001 From: Schmitt Date: Fri, 23 Oct 2026 12:55:43 +0200 Subject: [PATCH 01/14] Initial Commit --- mesh_handle/element.hxx | 16 ++++++++++++ mesh_handle/mesh.hxx | 22 ++++++++++++++++- test/mesh_handle/t8_gtest_mesh_handle.cxx | 30 +++++++++++++++++++++++ 3 files changed, 67 insertions(+), 1 deletion(-) diff --git a/mesh_handle/element.hxx b/mesh_handle/element.hxx index 9adaa615ab..6329ba32c1 100644 --- a/mesh_handle/element.hxx +++ b/mesh_handle/element.hxx @@ -413,6 +413,22 @@ class element: public TCompetences>... { } } + /** Check if the element is conformal, i.e. there are no hanging nodes on any of its faces. + * This is the case if the element has zero or exactly one face neighbor at each face. + * This function uses the cached face neighbor defined in TCompetences if available. + * \return True if the element is conformal, false otherwise. + */ + bool + is_conformal () const + { + for (int iface = 0; iface < get_num_faces (); ++iface) { + if (get_face_neighbors (iface).size () > 1) { + return false; + } + } + return true; + } + /** Convert points from the reference space of this element to the reference space of * its tree / its initial coarse mesh element. * \param [in] ref_coords Points in the element's reference space [0,1]^dim. diff --git a/mesh_handle/mesh.hxx b/mesh_handle/mesh.hxx index c8d4586e62..a68ea924dc 100644 --- a/mesh_handle/mesh.hxx +++ b/mesh_handle/mesh.hxx @@ -43,7 +43,8 @@ #include #include #include - +#include /* For t8_forest_has_subelements */ +#include namespace t8_mesh_handle { @@ -239,6 +240,25 @@ class mesh: public TMeshCompetencePack::template apply #include #include +#include /** Parametrized test fixture for the mesh handle tests. */ struct t8_mesh_handle_test: public testing::TestWithParam> @@ -173,6 +174,35 @@ TEST_P (t8_mesh_handle_test, test_cache_face_competences) } } +/** Check the conformity check of the elements and the mesh. The mesh version is compared to the forest. */ +TEST_P (t8_mesh_handle_test, test_is_conformal) +{ + using mesh_class = t8_mesh_handle::mesh; + auto mesh + = t8_mesh_handle::handle_hypercube_uniform_default (eclass, level, sc_MPI_COMM_WORLD, true, true); + + /* A uniform mesh is always conformal. After this, the neighbor cache is also filled. */ + EXPECT_TRUE (mesh->is_conformal ()); + for (const auto& element : *mesh) { + EXPECT_TRUE (element.is_conformal ()); + for (int iface = 0; iface < element.get_num_faces (); ++iface) { + EXPECT_TRUE (element.neighbor_cache_filled (iface)); + } + } + + /* Refining every second element should create hanging nodes (except 0D and 1D, where each face has at most one point). */ + mesh->set_adapt (adapt_callback_refine_second); + mesh->set_ghost (); + mesh->commit (); + EXPECT_EQ (mesh->is_conformal (), t8_forest_is_conforming (mesh->get_forest ())); + if (mesh->get_dimension () > 1) { + EXPECT_FALSE (mesh->is_conformal ()); + const bool any_element_not_conformal + = std::any_of (mesh->cbegin (), mesh->cend (), [] (const auto& element) { return !element.is_conformal (); }); + EXPECT_TRUE (any_element_not_conformal); + } +} + /** Check that the unique union of multiple competence packs works as intended. */ TEST (t8_mesh_handle_test, test_union_element_competence_pack) { From e179f00628e8bb45623b3eff8b4b371780a3f2e1 Mon Sep 17 00:00:00 2001 From: Schmitt Date: Thu, 29 Oct 2026 11:34:41 +0100 Subject: [PATCH 02/14] small changes --- mesh_handle/element.hxx | 6 ++--- mesh_handle/mesh.hxx | 5 ++-- test/mesh_handle/t8_gtest_ghost.cxx | 31 +++++++++++++++++++++++ test/mesh_handle/t8_gtest_mesh_handle.cxx | 30 ---------------------- 4 files changed, 37 insertions(+), 35 deletions(-) diff --git a/mesh_handle/element.hxx b/mesh_handle/element.hxx index 6329ba32c1..5251ca32d3 100644 --- a/mesh_handle/element.hxx +++ b/mesh_handle/element.hxx @@ -419,14 +419,14 @@ class element: public TCompetences>... { * \return True if the element is conformal, false otherwise. */ bool - is_conformal () const + has_hanging_node () const { for (int iface = 0; iface < get_num_faces (); ++iface) { if (get_face_neighbors (iface).size () > 1) { - return false; + return true; } } - return true; + return false; } /** Convert points from the reference space of this element to the reference space of diff --git a/mesh_handle/mesh.hxx b/mesh_handle/mesh.hxx index a68ea924dc..2068ec32a8 100644 --- a/mesh_handle/mesh.hxx +++ b/mesh_handle/mesh.hxx @@ -38,13 +38,14 @@ #include #include #include +#include #include #include #include #include #include -#include /* For t8_forest_has_subelements */ #include + namespace t8_mesh_handle { @@ -251,7 +252,7 @@ class mesh: public TMeshCompetencePack::template apply #include #include +#include #include +#include /** Parametrized test fixture for the ghost tests. */ struct t8_mesh_ghost_test: public testing::TestWithParam> @@ -179,6 +181,35 @@ TEST_P (t8_mesh_ghost_test, compare_neighbors_to_forest) } } +/** Check the conformity check of the elements and the mesh. The mesh version is compared to the forest. */ +TEST_P (t8_mesh_handle_test, test_is_conformal) +{ + using mesh_class = t8_mesh_handle::mesh; + auto mesh + = t8_mesh_handle::handle_hypercube_uniform_default (eclass, level, sc_MPI_COMM_WORLD, true, true); + + /* A uniform mesh is always conformal. After this, the neighbor cache is also filled. */ + EXPECT_TRUE (mesh->is_conformal ()); + for (const auto& element : *mesh) { + EXPECT_TRUE (element.is_conformal ()); + for (int iface = 0; iface < element.get_num_faces (); ++iface) { + EXPECT_TRUE (element.neighbor_cache_filled (iface)); + } + } + + /* Refining every second element should create hanging nodes (except 0D and 1D, where each face has at most one point). */ + mesh->set_adapt (adapt_callback_refine_second); + mesh->set_ghost (); + mesh->commit (); + EXPECT_EQ (mesh->is_conformal (), t8_forest_is_conforming (mesh->get_forest ())); + if (mesh->get_dimension () > 1) { + EXPECT_FALSE (mesh->is_conformal ()); + const bool any_element_not_conformal + = std::any_of (mesh->cbegin (), mesh->cend (), [] (const auto& element) { return !element.is_conformal (); }); + EXPECT_TRUE (any_element_not_conformal); + } +} + /** Child of \ref t8_mesh_handle::cache_neighbors that allows to modify the cache variables for test purposes. */ template struct cache_neighbors_overwrite: public t8_mesh_handle::cache_neighbors diff --git a/test/mesh_handle/t8_gtest_mesh_handle.cxx b/test/mesh_handle/t8_gtest_mesh_handle.cxx index b7b71ff9f2..8bb9870b4b 100644 --- a/test/mesh_handle/t8_gtest_mesh_handle.cxx +++ b/test/mesh_handle/t8_gtest_mesh_handle.cxx @@ -35,7 +35,6 @@ along with t8code; if not, write to the Free Software Foundation, Inc., #include #include #include -#include /** Parametrized test fixture for the mesh handle tests. */ struct t8_mesh_handle_test: public testing::TestWithParam> @@ -174,35 +173,6 @@ TEST_P (t8_mesh_handle_test, test_cache_face_competences) } } -/** Check the conformity check of the elements and the mesh. The mesh version is compared to the forest. */ -TEST_P (t8_mesh_handle_test, test_is_conformal) -{ - using mesh_class = t8_mesh_handle::mesh; - auto mesh - = t8_mesh_handle::handle_hypercube_uniform_default (eclass, level, sc_MPI_COMM_WORLD, true, true); - - /* A uniform mesh is always conformal. After this, the neighbor cache is also filled. */ - EXPECT_TRUE (mesh->is_conformal ()); - for (const auto& element : *mesh) { - EXPECT_TRUE (element.is_conformal ()); - for (int iface = 0; iface < element.get_num_faces (); ++iface) { - EXPECT_TRUE (element.neighbor_cache_filled (iface)); - } - } - - /* Refining every second element should create hanging nodes (except 0D and 1D, where each face has at most one point). */ - mesh->set_adapt (adapt_callback_refine_second); - mesh->set_ghost (); - mesh->commit (); - EXPECT_EQ (mesh->is_conformal (), t8_forest_is_conforming (mesh->get_forest ())); - if (mesh->get_dimension () > 1) { - EXPECT_FALSE (mesh->is_conformal ()); - const bool any_element_not_conformal - = std::any_of (mesh->cbegin (), mesh->cend (), [] (const auto& element) { return !element.is_conformal (); }); - EXPECT_TRUE (any_element_not_conformal); - } -} - /** Check that the unique union of multiple competence packs works as intended. */ TEST (t8_mesh_handle_test, test_union_element_competence_pack) { From e48166c89d8088eaaf4cd8b8f00e12ea0cf51d88 Mon Sep 17 00:00:00 2001 From: Vyp3er Date: Thu, 29 Oct 2026 13:17:33 +0100 Subject: [PATCH 03/14] Fix Doxygen and TEst logic --- mesh_handle/mesh.hxx | 5 ++++- test/mesh_handle/t8_gtest_ghost.cxx | 13 +++++++++---- 2 files changed, 13 insertions(+), 5 deletions(-) diff --git a/mesh_handle/mesh.hxx b/mesh_handle/mesh.hxx index 2068ec32a8..2c4ae04572 100644 --- a/mesh_handle/mesh.hxx +++ b/mesh_handle/mesh.hxx @@ -242,13 +242,16 @@ class mesh: public TMeshCompetencePack::template applyget_dimension () <= 1) { + return true; // 1D or lower-dimensional meshes are always conformal. + } SC_CHECK_ABORT (!t8_forest_has_subelements (m_forest), "The conformity check is not possible for meshes with subelements."); const bool locally_conformal diff --git a/test/mesh_handle/t8_gtest_ghost.cxx b/test/mesh_handle/t8_gtest_ghost.cxx index cd46fd8875..eaec81a6a9 100644 --- a/test/mesh_handle/t8_gtest_ghost.cxx +++ b/test/mesh_handle/t8_gtest_ghost.cxx @@ -33,6 +33,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., #include #include #include +#include "t8_gtest_common.hxx" #include #include #include @@ -182,7 +183,7 @@ TEST_P (t8_mesh_ghost_test, compare_neighbors_to_forest) } /** Check the conformity check of the elements and the mesh. The mesh version is compared to the forest. */ -TEST_P (t8_mesh_handle_test, test_is_conformal) +TEST_P (t8_mesh_ghost_test, test_is_conformal) { using mesh_class = t8_mesh_handle::mesh; auto mesh @@ -191,7 +192,7 @@ TEST_P (t8_mesh_handle_test, test_is_conformal) /* A uniform mesh is always conformal. After this, the neighbor cache is also filled. */ EXPECT_TRUE (mesh->is_conformal ()); for (const auto& element : *mesh) { - EXPECT_TRUE (element.is_conformal ()); + EXPECT_FALSE (element.has_hanging_node ()); for (int iface = 0; iface < element.get_num_faces (); ++iface) { EXPECT_TRUE (element.neighbor_cache_filled (iface)); } @@ -205,8 +206,12 @@ TEST_P (t8_mesh_handle_test, test_is_conformal) if (mesh->get_dimension () > 1) { EXPECT_FALSE (mesh->is_conformal ()); const bool any_element_not_conformal - = std::any_of (mesh->cbegin (), mesh->cend (), [] (const auto& element) { return !element.is_conformal (); }); - EXPECT_TRUE (any_element_not_conformal); + = std::any_of (mesh->cbegin (), mesh->cend (), [] (const auto& element) { return element.has_hanging_node (); }); + int local = any_element_not_conformal ? 1 : 0; + int global = 0; + const int mpiret = sc_MPI_Allreduce (&local, &global, 1, sc_MPI_INT, sc_MPI_LOR, sc_MPI_COMM_WORLD); + SC_CHECK_MPI (mpiret); + EXPECT_TRUE (global != 0); } } From d06d0823a73fe59b78dbce3f7506afd03caa7e91 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 12:21:10 +0200 Subject: [PATCH 04/14] Add test header files to installed header files --- src/CMakeLists.txt | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index db09a38ee8..e0339b3ea9 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -345,6 +345,14 @@ install( DIRECTORY t8_schemes PATTERN "*.h" PATTERN "*.hxx" ) + +install( DIRECTORY test + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} + FILES_MATCHING + PATTERN "*.hxx" + PATTERN "*.h" +) + install( DIRECTORY t8_types DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING From 965c24f7ae0fedf2576a58a6bc05dac2f40f1ac7 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 12:40:21 +0200 Subject: [PATCH 05/14] remove install call from src/CMake and move into test/CMake --- src/CMakeLists.txt | 9 ++------- test/CMakeLists.txt | 7 +++++++ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index e0339b3ea9..1bcbd11eb6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -346,13 +346,6 @@ install( DIRECTORY t8_schemes PATTERN "*.hxx" ) -install( DIRECTORY test - DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} - FILES_MATCHING - PATTERN "*.hxx" - PATTERN "*.h" -) - install( DIRECTORY t8_types DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING @@ -378,6 +371,8 @@ install( DIRECTORY t8_openfoam PATTERN "*.h" ) + + install( TARGETS T8 EXPORT ${PROJECT_NAME}-targets ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 6ff24b4331..f08ae4286c 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -251,3 +251,10 @@ if(NOT APPLE) add_t8_cpp_test( NAME t8_gtest_compute_first_element_serial SOURCES t8_cmesh/t8_gtest_compute_first_element.cxx ) endif() +# Install test header files +install( DIRECTORY . + DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test + FILES_MATCHING + PATTERN "*.hxx" + PATTERN "*.h" +) \ No newline at end of file From 8237d2865e7efb2434cbccc3ada61ef606ff61d2 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 13:04:39 +0200 Subject: [PATCH 06/14] add target include dirs --- test/CMakeLists.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index f08ae4286c..d3917468a3 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -251,6 +251,8 @@ if(NOT APPLE) add_t8_cpp_test( NAME t8_gtest_compute_first_element_serial SOURCES t8_cmesh/t8_gtest_compute_first_element.cxx ) endif() +target_include_directories( T8 PUBLIC $ ) + # Install test header files install( DIRECTORY . DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/test From 67b6efb576d60fa01c28ba151c1df4129faceb22 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 13:21:45 +0200 Subject: [PATCH 07/14] Add install interface for test headers --- test/CMakeLists.txt | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index d3917468a3..1ae8d5829e 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -251,7 +251,10 @@ if(NOT APPLE) add_t8_cpp_test( NAME t8_gtest_compute_first_element_serial SOURCES t8_cmesh/t8_gtest_compute_first_element.cxx ) endif() -target_include_directories( T8 PUBLIC $ ) +target_include_directories( T8 PUBLIC + $ + $ +) # Install test header files install( DIRECTORY . From 18a72d55e3ce402f654ff062349c2a52c86b7912 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 13:44:34 +0200 Subject: [PATCH 08/14] Remove test prefix from all test includes --- .../competences/t8_gtest_dg_competences.cxx | 2 +- test/mesh_handle/competences/t8_gtest_handle_data.cxx | 2 +- test/mesh_handle/t8_gtest_adapt_partition_balance.cxx | 2 +- test/mesh_handle/t8_gtest_ghost.cxx | 2 +- test/mesh_handle/t8_gtest_mesh_handle.cxx | 2 +- test/t8_IO/t8_gtest_vtk_reader.cxx | 2 +- test/t8_cmesh/t8_gtest_attribute_gloidx_array.cxx | 2 +- test/t8_cmesh/t8_gtest_bcast.cxx | 2 +- .../t8_gtest_cmesh_add_attributes_when_derive.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_boundary_conditions.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_bounding_box.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_copy.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_face_is_boundary.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_partition.cxx | 6 +++--- test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_set_partition_offsets.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_vertex_conn.cxx | 2 +- .../t8_gtest_cmesh_vertex_conn_tree_to_vertex.cxx | 4 ++-- .../t8_gtest_cmesh_vertex_conn_vertex_to_tree.cxx | 4 ++-- test/t8_cmesh/t8_gtest_hypercube.cxx | 2 +- test/t8_cmesh/t8_gtest_multiple_attributes.cxx | 4 ++-- .../t8_cmesh_new_empty.hxx | 4 ++-- .../t8_cmesh_new_periodic.hxx | 4 ++-- test/t8_data/t8_data_handler_specs.cxx | 2 +- test/t8_data/t8_enlarged_stdtypes.hxx | 2 +- test/t8_data/t8_gtest_data_handler.cxx | 6 +++--- test/t8_data/t8_gtest_shmem.cxx | 2 +- test/t8_data/t8_pseudo_trees.hxx | 2 +- test/t8_forest/t8_gtest_balance.cxx | 6 +++--- test/t8_forest/t8_gtest_bin_search.cxx | 6 +++--- test/t8_forest/t8_gtest_element_is_boundary.cxx | 8 ++++---- test/t8_forest/t8_gtest_element_is_leaf.cxx | 8 ++++---- test/t8_forest/t8_gtest_element_volume.cxx | 4 ++-- test/t8_forest/t8_gtest_find_owner.cxx | 4 ++-- test/t8_forest/t8_gtest_forest_commit.cxx | 4 ++-- test/t8_forest/t8_gtest_forest_face_normal.cxx | 4 ++-- test/t8_forest/t8_gtest_ghost_and_owner.cxx | 4 ++-- test/t8_forest/t8_gtest_ghost_delete.cxx | 2 +- test/t8_forest/t8_gtest_ghost_exchange.cxx | 4 ++-- test/t8_forest/t8_gtest_half_neighbors.cxx | 6 +++--- test/t8_forest/t8_gtest_leaf_face_neighbors.cxx | 10 +++++----- test/t8_forest/t8_gtest_neighbors_of_ghosts.cxx | 2 +- test/t8_forest/t8_gtest_partition_data.cxx | 2 +- test/t8_forest/t8_gtest_partition_for_coarsening.cxx | 6 +++--- test/t8_forest/t8_gtest_search.cxx | 6 +++--- test/t8_forest/t8_gtest_set_partition_offset.cxx | 6 +++--- test/t8_forest/t8_gtest_subelement.cxx | 4 ++-- test/t8_forest/t8_gtest_transform.cxx | 4 ++-- test/t8_forest/t8_gtest_user_data.cxx | 4 ++-- test/t8_forest/t8_gtest_weighted_partitioning.cxx | 6 +++--- .../t8_gtest_empty_global_tree.cxx | 2 +- .../t8_forest_incomplete/t8_gtest_empty_local_tree.cxx | 2 +- test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx | 2 +- test/t8_forest_incomplete/t8_gtest_permute_hole.cxx | 2 +- test/t8_forest_incomplete/t8_gtest_recursive.cxx | 4 ++-- .../t8_gtest_geometry_cad.cxx | 6 +++--- .../t8_gtest_geometry_cad_component.cxx | 4 ++-- .../t8_gtest_geometry_lagrange.cxx | 2 +- .../t8_gtest_geometry_linear.cxx | 4 ++-- test/t8_geometry/t8_gtest_geometry_negative_volume.cxx | 4 ++-- .../t8_gtest_geometry_triangular_interpolation.cxx | 2 +- test/t8_geometry/t8_gtest_point_inside.cxx | 2 +- test/t8_gtest_adapt_callbacks.cxx | 2 +- test/t8_gtest_eclass.cxx | 2 +- test/t8_gtest_macros.hxx | 4 ++-- test/t8_gtest_main.cxx | 2 +- test/t8_gtest_memory_macros.cxx | 2 +- test/t8_schemes/t8_gtest_ancestor.cxx | 6 +++--- test/t8_schemes/t8_gtest_ancestor_id.cxx | 4 ++-- test/t8_schemes/t8_gtest_bfs_base.hxx | 2 +- test/t8_schemes/t8_gtest_boundary_extrude.cxx | 6 +++--- test/t8_schemes/t8_gtest_child_parent_face.cxx | 4 ++-- test/t8_schemes/t8_gtest_default.cxx | 2 +- test/t8_schemes/t8_gtest_descendant.cxx | 6 +++--- test/t8_schemes/t8_gtest_dfs_base.hxx | 2 +- test/t8_schemes/t8_gtest_element_count_leaves.cxx | 4 ++-- test/t8_schemes/t8_gtest_element_ref_coords.cxx | 2 +- test/t8_schemes/t8_gtest_element_shape.cxx | 2 +- test/t8_schemes/t8_gtest_elements_are_family.cxx | 4 ++-- test/t8_schemes/t8_gtest_equal.cxx | 6 +++--- test/t8_schemes/t8_gtest_face_corner.cxx | 6 +++--- test/t8_schemes/t8_gtest_face_descendant.cxx | 6 +++--- test/t8_schemes/t8_gtest_face_neigh.cxx | 6 +++--- test/t8_schemes/t8_gtest_find_parent.cxx | 6 +++--- test/t8_schemes/t8_gtest_get_linear_id.cxx | 4 ++-- test/t8_schemes/t8_gtest_input_equal_output.cxx | 6 +++--- test/t8_schemes/t8_gtest_is_ancestor.cxx | 4 ++-- test/t8_schemes/t8_gtest_nca.cxx | 6 +++--- test/t8_schemes/t8_gtest_pack_unpack.cxx | 6 +++--- test/t8_schemes/t8_gtest_root.cxx | 8 ++++---- test/t8_schemes/t8_gtest_set_linear_id.cxx | 6 +++--- test/t8_schemes/t8_gtest_successor.cxx | 6 +++--- test/t8_schemes/t8_subelement/t8_gtest_geometrical.cxx | 2 +- test/t8_types/t8_gtest_vec.cxx | 4 ++-- 94 files changed, 179 insertions(+), 179 deletions(-) diff --git a/test/mesh_handle/competences/t8_gtest_dg_competences.cxx b/test/mesh_handle/competences/t8_gtest_dg_competences.cxx index 25e4962a8a..86eb22b363 100644 --- a/test/mesh_handle/competences/t8_gtest_dg_competences.cxx +++ b/test/mesh_handle/competences/t8_gtest_dg_competences.cxx @@ -25,7 +25,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., * Checks that the competences for discontinuous Galerkin methods defined in \ref dg_competences.hxx work as expected. */ #include -#include +#include #include #include diff --git a/test/mesh_handle/competences/t8_gtest_handle_data.cxx b/test/mesh_handle/competences/t8_gtest_handle_data.cxx index 8532fc46cb..addb6e19d4 100644 --- a/test/mesh_handle/competences/t8_gtest_handle_data.cxx +++ b/test/mesh_handle/competences/t8_gtest_handle_data.cxx @@ -27,7 +27,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., #include #include -#include +#include #include #include diff --git a/test/mesh_handle/t8_gtest_adapt_partition_balance.cxx b/test/mesh_handle/t8_gtest_adapt_partition_balance.cxx index 0ca9b81579..20bfd65b6a 100644 --- a/test/mesh_handle/t8_gtest_adapt_partition_balance.cxx +++ b/test/mesh_handle/t8_gtest_adapt_partition_balance.cxx @@ -26,7 +26,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., */ #include #include -#include +#include #include "t8_gtest_common.hxx" #include diff --git a/test/mesh_handle/t8_gtest_ghost.cxx b/test/mesh_handle/t8_gtest_ghost.cxx index eaec81a6a9..e3a89a9f9a 100644 --- a/test/mesh_handle/t8_gtest_ghost.cxx +++ b/test/mesh_handle/t8_gtest_ghost.cxx @@ -26,7 +26,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., */ #include -#include +#include #include #include diff --git a/test/mesh_handle/t8_gtest_mesh_handle.cxx b/test/mesh_handle/t8_gtest_mesh_handle.cxx index 8bb9870b4b..b603cb2d4a 100644 --- a/test/mesh_handle/t8_gtest_mesh_handle.cxx +++ b/test/mesh_handle/t8_gtest_mesh_handle.cxx @@ -27,7 +27,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., */ #include -#include +#include #include #include "t8_gtest_common.hxx" diff --git a/test/t8_IO/t8_gtest_vtk_reader.cxx b/test/t8_IO/t8_gtest_vtk_reader.cxx index 853518dd14..24b360a659 100644 --- a/test/t8_IO/t8_gtest_vtk_reader.cxx +++ b/test/t8_IO/t8_gtest_vtk_reader.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include "t8_test_data_dir.h" #include diff --git a/test/t8_cmesh/t8_gtest_attribute_gloidx_array.cxx b/test/t8_cmesh/t8_gtest_attribute_gloidx_array.cxx index 95ef05b134..73f81a59c9 100644 --- a/test/t8_cmesh/t8_gtest_attribute_gloidx_array.cxx +++ b/test/t8_cmesh/t8_gtest_attribute_gloidx_array.cxx @@ -23,7 +23,7 @@ #include #include #include -#include +#include /* Test the t8_cmesh_set_attribute_gloidx_array and t8_cmesh_get_attribute_gloidx_array functions. * We create a cmesh with two trees and add an array with N entries to each tree. diff --git a/test/t8_cmesh/t8_gtest_bcast.cxx b/test/t8_cmesh/t8_gtest_bcast.cxx index f9c43e3552..89e32360ad 100644 --- a/test/t8_cmesh/t8_gtest_bcast.cxx +++ b/test/t8_cmesh/t8_gtest_bcast.cxx @@ -29,7 +29,7 @@ #include #include #include -#include +#include struct cmesh_hypercube: public testing::TestWithParam { diff --git a/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx b/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx index 56beb7f586..915cb9c778 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" diff --git a/test/t8_cmesh/t8_gtest_cmesh_boundary_conditions.cxx b/test/t8_cmesh/t8_gtest_cmesh_boundary_conditions.cxx index daa140bc88..24e9b2e93e 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_boundary_conditions.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_boundary_conditions.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/t8_cmesh/t8_gtest_cmesh_bounding_box.cxx b/test/t8_cmesh/t8_gtest_cmesh_bounding_box.cxx index a0a02b8d3c..82c230573b 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_bounding_box.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_bounding_box.cxx @@ -29,7 +29,7 @@ #include #include #include -#include +#include /** * \brief Test fixture for testing the bounding box of a t8_cmesh. Computes a cmesh inside diff --git a/test/t8_cmesh/t8_gtest_cmesh_copy.cxx b/test/t8_cmesh/t8_gtest_cmesh_copy.cxx index 138ac70679..aca02c585d 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_copy.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_copy.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" diff --git a/test/t8_cmesh/t8_gtest_cmesh_face_is_boundary.cxx b/test/t8_cmesh/t8_gtest_cmesh_face_is_boundary.cxx index f0036cc4c1..d4b506c63d 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_face_is_boundary.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_face_is_boundary.cxx @@ -23,7 +23,7 @@ #include #include #include -#include +#include #include /* Test for one tree */ diff --git a/test/t8_cmesh/t8_gtest_cmesh_partition.cxx b/test/t8_cmesh/t8_gtest_cmesh_partition.cxx index 3d61371db3..85e5569633 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_partition.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_partition.cxx @@ -25,9 +25,9 @@ #include #include #include -#include -#include -#include +#include +#include +#include /* We create a cmesh, partition it and repartition it several times. * At the end we result in the same partition as at the beginning and we diff --git a/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx b/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx index 668c687a26..c667393f3a 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx @@ -29,7 +29,7 @@ #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" #include -#include +#include #include "t8_test_data_dir.h" #include diff --git a/test/t8_cmesh/t8_gtest_cmesh_set_partition_offsets.cxx b/test/t8_cmesh/t8_gtest_cmesh_set_partition_offsets.cxx index 5e2e4a0a8e..5113904eb5 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_set_partition_offsets.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_set_partition_offsets.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/t8_cmesh/t8_gtest_cmesh_vertex_conn.cxx b/test/t8_cmesh/t8_gtest_cmesh_vertex_conn.cxx index 34a88570b8..0fb793920e 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_vertex_conn.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_vertex_conn.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_tree_to_vertex.cxx b/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_tree_to_vertex.cxx index 2c103fe77c..d6605fb2d4 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_tree_to_vertex.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_tree_to_vertex.cxx @@ -21,13 +21,13 @@ */ #include -#include +#include #include #include #include #include #include -#include +#include /* In this file we test the tree to vertex functionality. diff --git a/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_vertex_to_tree.cxx b/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_vertex_to_tree.cxx index 9bba5b760d..24a4f2f1e6 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_vertex_to_tree.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_vertex_conn_vertex_to_tree.cxx @@ -21,10 +21,10 @@ */ #include -#include +#include #include #include -#include +#include /* In this file we test the t8_cmesh_vertex_conn_vertex_to_tree * class of the cmesh global vertex list. diff --git a/test/t8_cmesh/t8_gtest_hypercube.cxx b/test/t8_cmesh/t8_gtest_hypercube.cxx index fc334f4ebc..5f46b9189a 100644 --- a/test/t8_cmesh/t8_gtest_hypercube.cxx +++ b/test/t8_cmesh/t8_gtest_hypercube.cxx @@ -27,7 +27,7 @@ #include #include #include -#include +#include /* Create class for parameterized Test with multiple test parameters */ struct cmesh_hypercube_trees: public testing::TestWithParam> diff --git a/test/t8_cmesh/t8_gtest_multiple_attributes.cxx b/test/t8_cmesh/t8_gtest_multiple_attributes.cxx index fa5dcd97f6..e8a45233ae 100644 --- a/test/t8_cmesh/t8_gtest_multiple_attributes.cxx +++ b/test/t8_cmesh/t8_gtest_multiple_attributes.cxx @@ -25,8 +25,8 @@ #include #include #include -#include -#include +#include +#include /* Test if multiple attributes are partitioned correctly. */ diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_empty.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_empty.hxx index 1ad3ecdf48..8d93d95843 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_empty.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_empty.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_EMPTY_HXX #define T8_CMESH_NEW_EMPTY_HXX -#include -#include +#include +#include #include #include diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_periodic.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_periodic.hxx index 36638c2293..b7fb0899fb 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_periodic.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_periodic.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_PERIODIC_HXX #define T8_CMESH_NEW_PERIODIC_HXX -#include -#include +#include +#include #include #include diff --git a/test/t8_data/t8_data_handler_specs.cxx b/test/t8_data/t8_data_handler_specs.cxx index fa656b7114..8e7b2f0593 100644 --- a/test/t8_data/t8_data_handler_specs.cxx +++ b/test/t8_data/t8_data_handler_specs.cxx @@ -27,7 +27,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., * */ -#include +#include #include /** diff --git a/test/t8_data/t8_enlarged_stdtypes.hxx b/test/t8_data/t8_enlarged_stdtypes.hxx index 5dd8ba7fbf..d05c2e60c8 100644 --- a/test/t8_data/t8_enlarged_stdtypes.hxx +++ b/test/t8_data/t8_enlarged_stdtypes.hxx @@ -30,7 +30,7 @@ #ifndef T8_ENLARGED_STDTYPES_HXX #define T8_ENLARGED_STDTYPES_HXX -#include +#include #include /** diff --git a/test/t8_data/t8_gtest_data_handler.cxx b/test/t8_data/t8_gtest_data_handler.cxx index b7d30ca80d..0db6c4e607 100644 --- a/test/t8_data/t8_gtest_data_handler.cxx +++ b/test/t8_data/t8_gtest_data_handler.cxx @@ -28,9 +28,9 @@ along with t8code; if not, write to the Free Software Foundation, Inc., */ #include -#include -#include -#include +#include +#include +#include #include #include #include diff --git a/test/t8_data/t8_gtest_shmem.cxx b/test/t8_data/t8_gtest_shmem.cxx index d616368bf1..d456f0cde4 100644 --- a/test/t8_data/t8_gtest_shmem.cxx +++ b/test/t8_data/t8_gtest_shmem.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include /* This Test test the shared memory for mpi. It includes tests for initialization and finalizing, the type, the communicator, * the element size and count of the shared memory */ diff --git a/test/t8_data/t8_pseudo_trees.hxx b/test/t8_data/t8_pseudo_trees.hxx index 7dedb952a0..98b541ba1f 100644 --- a/test/t8_data/t8_pseudo_trees.hxx +++ b/test/t8_data/t8_pseudo_trees.hxx @@ -29,7 +29,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., #include #include -#include +#include #include #include diff --git a/test/t8_forest/t8_gtest_balance.cxx b/test/t8_forest/t8_gtest_balance.cxx index d1c97f57da..ce7567b8fe 100644 --- a/test/t8_forest/t8_gtest_balance.cxx +++ b/test/t8_forest/t8_gtest_balance.cxx @@ -25,9 +25,9 @@ */ #include -#include -#include -#include +#include +#include +#include #include #include diff --git a/test/t8_forest/t8_gtest_bin_search.cxx b/test/t8_forest/t8_gtest_bin_search.cxx index d520ea42a4..8c7eaf3711 100644 --- a/test/t8_forest/t8_gtest_bin_search.cxx +++ b/test/t8_forest/t8_gtest_bin_search.cxx @@ -21,15 +21,15 @@ */ #include -#include +#include #include #include #include #include #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include +#include +#include /* In these tests we check the t8_forest_bin_search_lower, t8_forest_bin_search_upper * and t8_forest_bin_search_first_descendant_ancestor functions. diff --git a/test/t8_forest/t8_gtest_element_is_boundary.cxx b/test/t8_forest/t8_gtest_element_is_boundary.cxx index e9587e9d8c..af8a4bc880 100644 --- a/test/t8_forest/t8_gtest_element_is_boundary.cxx +++ b/test/t8_forest/t8_gtest_element_is_boundary.cxx @@ -26,10 +26,10 @@ #include #include #include -#include -#include -#include -#include +#include +#include +#include +#include /* In this test we check the t8_forest_element_is_boundary function. * Iterating over all cmesh test cases, we create a uniform and an adaptive forest. diff --git a/test/t8_forest/t8_gtest_element_is_leaf.cxx b/test/t8_forest/t8_gtest_element_is_leaf.cxx index ecd3a1a2e3..59f6d925e7 100644 --- a/test/t8_forest/t8_gtest_element_is_leaf.cxx +++ b/test/t8_forest/t8_gtest_element_is_leaf.cxx @@ -21,16 +21,16 @@ */ #include -#include +#include #include #include #include #include #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include -#include +#include +#include +#include /* In this test we check the t8_forest_element_is_leaf function. * Iterating over all cmesh test cases, we creat a uniform and an adaptive forest. diff --git a/test/t8_forest/t8_gtest_element_volume.cxx b/test/t8_forest/t8_gtest_element_volume.cxx index 48d4b86305..eb05549866 100644 --- a/test/t8_forest/t8_gtest_element_volume.cxx +++ b/test/t8_forest/t8_gtest_element_volume.cxx @@ -23,13 +23,13 @@ #include #include #include -#include +#include #include #include #include #include #include -#include +#include /** * This file tests the volume-computation of elements. diff --git a/test/t8_forest/t8_gtest_find_owner.cxx b/test/t8_forest/t8_gtest_find_owner.cxx index 9201b69592..c0d32fccc3 100644 --- a/test/t8_forest/t8_gtest_find_owner.cxx +++ b/test/t8_forest/t8_gtest_find_owner.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include #include #include #include @@ -32,7 +32,7 @@ #include #include #include -#include +#include struct forest_find_owner: public testing::TestWithParam> { diff --git a/test/t8_forest/t8_gtest_forest_commit.cxx b/test/t8_forest/t8_gtest_forest_commit.cxx index 1ccaedd34f..37a6d12472 100644 --- a/test/t8_forest/t8_gtest_forest_commit.cxx +++ b/test/t8_forest/t8_gtest_forest_commit.cxx @@ -28,8 +28,8 @@ #include #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include +#include +#include /* In this test we adapt, balance and partition a uniform forest. * We do this in two ways: diff --git a/test/t8_forest/t8_gtest_forest_face_normal.cxx b/test/t8_forest/t8_gtest_forest_face_normal.cxx index e3efed2e62..f8cbe9481d 100644 --- a/test/t8_forest/t8_gtest_forest_face_normal.cxx +++ b/test/t8_forest/t8_gtest_forest_face_normal.cxx @@ -27,8 +27,8 @@ #include #include #include -#include -#include +#include +#include /** * This file tests the face normal computation of elements. diff --git a/test/t8_forest/t8_gtest_ghost_and_owner.cxx b/test/t8_forest/t8_gtest_ghost_and_owner.cxx index 8fc0b5521d..ef2e29bff2 100644 --- a/test/t8_forest/t8_gtest_ghost_and_owner.cxx +++ b/test/t8_forest/t8_gtest_ghost_and_owner.cxx @@ -28,8 +28,8 @@ #include #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include +#include +#include /* This test program tests the forest ghost layer. * We adapt a forest and create its ghost layer. Afterwards, we diff --git a/test/t8_forest/t8_gtest_ghost_delete.cxx b/test/t8_forest/t8_gtest_ghost_delete.cxx index 262f1b88f6..eadd5dbb01 100644 --- a/test/t8_forest/t8_gtest_ghost_delete.cxx +++ b/test/t8_forest/t8_gtest_ghost_delete.cxx @@ -28,7 +28,7 @@ #include #include #include -#include +#include /* This test is executed on a subcommunicator of exactly 2 procs, because it demonstrates a configuration that is currently not working. See https://github.com/DLR-AMR/t8code/issues/825. * A partitioned square of uniform refinement level 1 is adapted once, where only the lower half is refined. diff --git a/test/t8_forest/t8_gtest_ghost_exchange.cxx b/test/t8_forest/t8_gtest_ghost_exchange.cxx index 5726b82ca4..1c744016ba 100644 --- a/test/t8_forest/t8_gtest_ghost_exchange.cxx +++ b/test/t8_forest/t8_gtest_ghost_exchange.cxx @@ -28,8 +28,8 @@ #include #include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include +#include +#include /* This test program tests the forest ghost exchange routine. * Given a forest for which the ghost layer was created and an array diff --git a/test/t8_forest/t8_gtest_half_neighbors.cxx b/test/t8_forest/t8_gtest_half_neighbors.cxx index 621788e4f0..212a50fe42 100644 --- a/test/t8_forest/t8_gtest_half_neighbors.cxx +++ b/test/t8_forest/t8_gtest_half_neighbors.cxx @@ -21,8 +21,8 @@ */ #include -#include -#include +#include +#include #include #include @@ -33,7 +33,7 @@ #include #include #include -#include +#include struct forest_half_neighbors: public testing::TestWithParam, int>> { diff --git a/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx b/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx index 2a4a8129f4..b0f4147bba 100644 --- a/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx +++ b/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include @@ -35,12 +35,12 @@ #include #include #include -#include -#include +#include +#include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" #include "t8_test_data_dir.h" -#include -#include +#include +#include bool test_face_neighbors_skip_cmesh (const t8_cmesh_t cmesh) diff --git a/test/t8_forest/t8_gtest_neighbors_of_ghosts.cxx b/test/t8_forest/t8_gtest_neighbors_of_ghosts.cxx index f0a7604cf8..fdd54873c1 100644 --- a/test/t8_forest/t8_gtest_neighbors_of_ghosts.cxx +++ b/test/t8_forest/t8_gtest_neighbors_of_ghosts.cxx @@ -25,7 +25,7 @@ */ #include -#include +#include #include #include diff --git a/test/t8_forest/t8_gtest_partition_data.cxx b/test/t8_forest/t8_gtest_partition_data.cxx index bb4e25a125..a561d5600d 100644 --- a/test/t8_forest/t8_gtest_partition_data.cxx +++ b/test/t8_forest/t8_gtest_partition_data.cxx @@ -33,7 +33,7 @@ #include #include #include -#include +#include #include #include diff --git a/test/t8_forest/t8_gtest_partition_for_coarsening.cxx b/test/t8_forest/t8_gtest_partition_for_coarsening.cxx index a4ada065ec..eec43e3ff6 100644 --- a/test/t8_forest/t8_gtest_partition_for_coarsening.cxx +++ b/test/t8_forest/t8_gtest_partition_for_coarsening.cxx @@ -56,10 +56,10 @@ // testing #include -#include -#include +#include +#include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include +#include // t8code #include diff --git a/test/t8_forest/t8_gtest_search.cxx b/test/t8_forest/t8_gtest_search.cxx index 3bfe38a2e3..3c382f4717 100644 --- a/test/t8_forest/t8_gtest_search.cxx +++ b/test/t8_forest/t8_gtest_search.cxx @@ -21,15 +21,15 @@ */ #include -#include +#include #include #include #include #include #include #include -#include -#include +#include +#include struct forest_search: public testing::TestWithParam, int>> { diff --git a/test/t8_forest/t8_gtest_set_partition_offset.cxx b/test/t8_forest/t8_gtest_set_partition_offset.cxx index cc2bfc4e57..38167aaaa3 100644 --- a/test/t8_forest/t8_gtest_set_partition_offset.cxx +++ b/test/t8_forest/t8_gtest_set_partition_offset.cxx @@ -50,10 +50,10 @@ // testing #include -#include +#include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include +#include +#include // t8code #include diff --git a/test/t8_forest/t8_gtest_subelement.cxx b/test/t8_forest/t8_gtest_subelement.cxx index 00574dcac7..43d4924cb5 100644 --- a/test/t8_forest/t8_gtest_subelement.cxx +++ b/test/t8_forest/t8_gtest_subelement.cxx @@ -26,8 +26,8 @@ */ #include -#include -#include +#include +#include #include #include diff --git a/test/t8_forest/t8_gtest_transform.cxx b/test/t8_forest/t8_gtest_transform.cxx index 4c2892227f..2ae27cd3ff 100644 --- a/test/t8_forest/t8_gtest_transform.cxx +++ b/test/t8_forest/t8_gtest_transform.cxx @@ -28,7 +28,7 @@ */ #include -#include +#include #include #include @@ -37,7 +37,7 @@ #include #include #include -#include +#include struct forest_transform: public testing::TestWithParam, int>> { diff --git a/test/t8_forest/t8_gtest_user_data.cxx b/test/t8_forest/t8_gtest_user_data.cxx index 9f10976080..7d6d3e43c6 100644 --- a/test/t8_forest/t8_gtest_user_data.cxx +++ b/test/t8_forest/t8_gtest_user_data.cxx @@ -29,8 +29,8 @@ #include #include #include -#include -#include +#include +#include /* Test t8_forest_set/get_user_data. * We build a forest and set user data for it. diff --git a/test/t8_forest/t8_gtest_weighted_partitioning.cxx b/test/t8_forest/t8_gtest_weighted_partitioning.cxx index f1b5bc2ad2..bf0dba07e8 100644 --- a/test/t8_forest/t8_gtest_weighted_partitioning.cxx +++ b/test/t8_forest/t8_gtest_weighted_partitioning.cxx @@ -44,10 +44,10 @@ // testing #include -#include +#include #include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include -#include +#include +#include // t8code #include diff --git a/test/t8_forest_incomplete/t8_gtest_empty_global_tree.cxx b/test/t8_forest_incomplete/t8_gtest_empty_global_tree.cxx index b020a26dac..ce1a58f2d4 100644 --- a/test/t8_forest_incomplete/t8_gtest_empty_global_tree.cxx +++ b/test/t8_forest_incomplete/t8_gtest_empty_global_tree.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include /** In this test, we are given a forest with 3 global trees. * We adapt the forest so that all 6 compositions of empty diff --git a/test/t8_forest_incomplete/t8_gtest_empty_local_tree.cxx b/test/t8_forest_incomplete/t8_gtest_empty_local_tree.cxx index d18ed45ea2..6129d9272a 100644 --- a/test/t8_forest_incomplete/t8_gtest_empty_local_tree.cxx +++ b/test/t8_forest_incomplete/t8_gtest_empty_local_tree.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #include #define MAX_NUM_RANKS 8 diff --git a/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx b/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx index ca69023e74..15835c253a 100644 --- a/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx +++ b/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx @@ -27,7 +27,7 @@ #include #include #include -#include +#include /* In this test, we first adapt a forest and store every callback return value. * In the next step, we call t8_forest_iterate_replace. Instead of interpolating diff --git a/test/t8_forest_incomplete/t8_gtest_permute_hole.cxx b/test/t8_forest_incomplete/t8_gtest_permute_hole.cxx index 2ce1ddd97e..d7e0b32131 100644 --- a/test/t8_forest_incomplete/t8_gtest_permute_hole.cxx +++ b/test/t8_forest_incomplete/t8_gtest_permute_hole.cxx @@ -26,7 +26,7 @@ #include #include #include -#include +#include #define MAX_NUM_ELEMENTS 32 /* number of digits for binary representation */ diff --git a/test/t8_forest_incomplete/t8_gtest_recursive.cxx b/test/t8_forest_incomplete/t8_gtest_recursive.cxx index 29b6c8ac19..8c4e5d5e0c 100644 --- a/test/t8_forest_incomplete/t8_gtest_recursive.cxx +++ b/test/t8_forest_incomplete/t8_gtest_recursive.cxx @@ -24,8 +24,8 @@ #include #include #include -#include -#include +#include +#include /* In this test, we recursively constructs a mesh containing only the first * and last elements of a family. Furthermore, for every two elements diff --git a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad.cxx b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad.cxx index 891a8d462e..b17a77eea9 100644 --- a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad.cxx +++ b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad.cxx @@ -27,8 +27,8 @@ #include #include #include -#include -#include +#include +#include #include #include #include @@ -50,7 +50,7 @@ #include #include -#include +#include /* In this file we collect tests for t8code's OpenCASCADE geometry module. * These tests are diff --git a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx index 6c0ef7ef3e..fdd090fd65 100644 --- a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx +++ b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx @@ -39,8 +39,8 @@ */ #include -#include -#include +#include +#include #include #include diff --git a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_lagrange.cxx b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_lagrange.cxx index cadcc356a2..4910de92a2 100644 --- a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_lagrange.cxx +++ b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_lagrange.cxx @@ -31,7 +31,7 @@ #include #include -#include +#include #include #include #include diff --git a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_linear.cxx b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_linear.cxx index 3cdd589528..8b0a855241 100644 --- a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_linear.cxx +++ b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_linear.cxx @@ -24,8 +24,8 @@ * This file contains tests for the linear geometry of t8code. */ -#include -#include +#include +#include #include #include #include diff --git a/test/t8_geometry/t8_gtest_geometry_negative_volume.cxx b/test/t8_geometry/t8_gtest_geometry_negative_volume.cxx index bc8a09b109..34ed37cc85 100644 --- a/test/t8_geometry/t8_gtest_geometry_negative_volume.cxx +++ b/test/t8_geometry/t8_gtest_geometry_negative_volume.cxx @@ -29,8 +29,8 @@ #include #include #include -#include -#include +#include +#include struct check_negative_volume: public testing::TestWithParam { diff --git a/test/t8_geometry/t8_gtest_geometry_triangular_interpolation.cxx b/test/t8_geometry/t8_gtest_geometry_triangular_interpolation.cxx index 4ecb4d1088..64932e8016 100644 --- a/test/t8_geometry/t8_gtest_geometry_triangular_interpolation.cxx +++ b/test/t8_geometry/t8_gtest_geometry_triangular_interpolation.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/t8_geometry/t8_gtest_point_inside.cxx b/test/t8_geometry/t8_gtest_point_inside.cxx index 3ebe1b9bd0..2358530f3c 100644 --- a/test/t8_geometry/t8_gtest_point_inside.cxx +++ b/test/t8_geometry/t8_gtest_point_inside.cxx @@ -21,7 +21,7 @@ */ #include -#include +#include #include #include #include diff --git a/test/t8_gtest_adapt_callbacks.cxx b/test/t8_gtest_adapt_callbacks.cxx index c41a679cec..fd3bf672d1 100644 --- a/test/t8_gtest_adapt_callbacks.cxx +++ b/test/t8_gtest_adapt_callbacks.cxx @@ -24,7 +24,7 @@ * Provide forest adapt callback functions that we use in our tests. */ -#include +#include /* Adapt a forest such that always the first child of a * family is refined and no other elements. This results in a highly diff --git a/test/t8_gtest_eclass.cxx b/test/t8_gtest_eclass.cxx index b07c2315d6..47548fefe7 100644 --- a/test/t8_gtest_eclass.cxx +++ b/test/t8_gtest_eclass.cxx @@ -25,7 +25,7 @@ #include #include #include -#include +#include struct gtest_eclass: public testing::TestWithParam { diff --git a/test/t8_gtest_macros.hxx b/test/t8_gtest_macros.hxx index 959e5781b9..7b99ee77e2 100644 --- a/test/t8_gtest_macros.hxx +++ b/test/t8_gtest_macros.hxx @@ -32,8 +32,8 @@ #include #include #include -#include -#include +#include +#include /** * lambda to pass to an INSTANTIATE_TEST_SUITE_P to print the current cmesh_example_base diff --git a/test/t8_gtest_main.cxx b/test/t8_gtest_main.cxx index c6669e54ae..a564ffe5ad 100644 --- a/test/t8_gtest_main.cxx +++ b/test/t8_gtest_main.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include /* Check that MPI is configured consistently */ #if (defined(T8_ENABLE_MPI) && defined(gtest_disable_mpi)) || (defined(T8_ENABLE_MPI) && defined(gtest_disable_mpi)) diff --git a/test/t8_gtest_memory_macros.cxx b/test/t8_gtest_memory_macros.cxx index 92c96ec7b2..739d9ed2ea 100644 --- a/test/t8_gtest_memory_macros.cxx +++ b/test/t8_gtest_memory_macros.cxx @@ -20,7 +20,7 @@ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. */ -#include +#include /** * Package id for the testsuite. Used for attributes. diff --git a/test/t8_schemes/t8_gtest_ancestor.cxx b/test/t8_schemes/t8_gtest_ancestor.cxx index f3158d622e..e525b27345 100644 --- a/test/t8_schemes/t8_gtest_ancestor.cxx +++ b/test/t8_schemes/t8_gtest_ancestor.cxx @@ -26,11 +26,11 @@ */ #include -#include -#include +#include +#include #include #include -#include +#include struct ancestor: public testing::TestWithParam { diff --git a/test/t8_schemes/t8_gtest_ancestor_id.cxx b/test/t8_schemes/t8_gtest_ancestor_id.cxx index 82ba77ae9f..f038018847 100644 --- a/test/t8_schemes/t8_gtest_ancestor_id.cxx +++ b/test/t8_schemes/t8_gtest_ancestor_id.cxx @@ -29,9 +29,9 @@ #include #include #include -#include +#include #include "t8_gtest_dfs_base.hxx" -#include +#include struct class_ancestor_id: public TestDFS { diff --git a/test/t8_schemes/t8_gtest_bfs_base.hxx b/test/t8_schemes/t8_gtest_bfs_base.hxx index 45a07e8423..0e252d44e4 100644 --- a/test/t8_schemes/t8_gtest_bfs_base.hxx +++ b/test/t8_schemes/t8_gtest_bfs_base.hxx @@ -30,7 +30,7 @@ #include #include -#include +#include #include /** A base class for breadth first search tests. */ diff --git a/test/t8_schemes/t8_gtest_boundary_extrude.cxx b/test/t8_schemes/t8_gtest_boundary_extrude.cxx index 4b6abe640b..bfb2bee3b8 100644 --- a/test/t8_schemes/t8_gtest_boundary_extrude.cxx +++ b/test/t8_schemes/t8_gtest_boundary_extrude.cxx @@ -23,10 +23,10 @@ #include #include #include -#include -#include +#include +#include #include "t8_gtest_dfs_base.hxx" -#include +#include struct class_test_boundary_extrude: public TestDFS { diff --git a/test/t8_schemes/t8_gtest_child_parent_face.cxx b/test/t8_schemes/t8_gtest_child_parent_face.cxx index 1f6805f435..c37cc097b1 100644 --- a/test/t8_schemes/t8_gtest_child_parent_face.cxx +++ b/test/t8_schemes/t8_gtest_child_parent_face.cxx @@ -23,9 +23,9 @@ #include #include #include -#include +#include #include "t8_gtest_dfs_base.hxx" -#include +#include /* TODO: extend this test or new test. On each level, * go multiple levels below and check against ancestor face. diff --git a/test/t8_schemes/t8_gtest_default.cxx b/test/t8_schemes/t8_gtest_default.cxx index 36aeea455f..bcfe8a13f8 100644 --- a/test/t8_schemes/t8_gtest_default.cxx +++ b/test/t8_schemes/t8_gtest_default.cxx @@ -35,7 +35,7 @@ #include #include #include -#include +#include TEST (gtest_default_scheme, is_default) { diff --git a/test/t8_schemes/t8_gtest_descendant.cxx b/test/t8_schemes/t8_gtest_descendant.cxx index 587e0fec1f..6a705e8003 100644 --- a/test/t8_schemes/t8_gtest_descendant.cxx +++ b/test/t8_schemes/t8_gtest_descendant.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include /* This program tests the descendant function of an element. */ diff --git a/test/t8_schemes/t8_gtest_dfs_base.hxx b/test/t8_schemes/t8_gtest_dfs_base.hxx index f51bb1e3c6..1f795f5fbe 100644 --- a/test/t8_schemes/t8_gtest_dfs_base.hxx +++ b/test/t8_schemes/t8_gtest_dfs_base.hxx @@ -30,7 +30,7 @@ #include #include -#include +#include /** A base class for depth first search tests. */ struct TestDFS: public testing::TestWithParam> diff --git a/test/t8_schemes/t8_gtest_element_count_leaves.cxx b/test/t8_schemes/t8_gtest_element_count_leaves.cxx index 20be78302d..522eb967f5 100644 --- a/test/t8_schemes/t8_gtest_element_count_leaves.cxx +++ b/test/t8_schemes/t8_gtest_element_count_leaves.cxx @@ -21,8 +21,8 @@ */ #include -#include -#include +#include +#include /* * In this file we test whether the t8_element_count_leaves{_from_root} diff --git a/test/t8_schemes/t8_gtest_element_ref_coords.cxx b/test/t8_schemes/t8_gtest_element_ref_coords.cxx index b9a49d2bfc..e47cd08281 100644 --- a/test/t8_schemes/t8_gtest_element_ref_coords.cxx +++ b/test/t8_schemes/t8_gtest_element_ref_coords.cxx @@ -31,7 +31,7 @@ #include #include #include -#include +#include #if T8_TEST_LEVEL_INT >= 1 #define MAX_LEVEL_REF_COORD_TEST 3 diff --git a/test/t8_schemes/t8_gtest_element_shape.cxx b/test/t8_schemes/t8_gtest_element_shape.cxx index ccf045d68e..5f9993d768 100644 --- a/test/t8_schemes/t8_gtest_element_shape.cxx +++ b/test/t8_schemes/t8_gtest_element_shape.cxx @@ -23,7 +23,7 @@ #include #include #include -#include +#include /** \file * This file consists of several test all around the shape of an element. diff --git a/test/t8_schemes/t8_gtest_elements_are_family.cxx b/test/t8_schemes/t8_gtest_elements_are_family.cxx index e0d3a5f876..3e90c4d80c 100644 --- a/test/t8_schemes/t8_gtest_elements_are_family.cxx +++ b/test/t8_schemes/t8_gtest_elements_are_family.cxx @@ -22,8 +22,8 @@ #include #include -#include -#include +#include +#include #include "t8_gtest_dfs_base.hxx" struct are_family: public TestDFS diff --git a/test/t8_schemes/t8_gtest_equal.cxx b/test/t8_schemes/t8_gtest_equal.cxx index f58b1d60ca..ee09d417e7 100644 --- a/test/t8_schemes/t8_gtest_equal.cxx +++ b/test/t8_schemes/t8_gtest_equal.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "t8_gtest_dfs_base.hxx" struct class_test_equal: public TestDFS diff --git a/test/t8_schemes/t8_gtest_face_corner.cxx b/test/t8_schemes/t8_gtest_face_corner.cxx index bb6cfc36fb..201412f694 100644 --- a/test/t8_schemes/t8_gtest_face_corner.cxx +++ b/test/t8_schemes/t8_gtest_face_corner.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "t8_gtest_dfs_base.hxx" /** This test is used to test the corner_face and face_corner scheme functions. diff --git a/test/t8_schemes/t8_gtest_face_descendant.cxx b/test/t8_schemes/t8_gtest_face_descendant.cxx index 035392ec0b..78487ee055 100644 --- a/test/t8_schemes/t8_gtest_face_descendant.cxx +++ b/test/t8_schemes/t8_gtest_face_descendant.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "t8_gtest_dfs_base.hxx" /* compute the first/last descendant by iteratively taking the first/last child at each level*/ diff --git a/test/t8_schemes/t8_gtest_face_neigh.cxx b/test/t8_schemes/t8_gtest_face_neigh.cxx index e1f3c81b6e..0f436b7588 100644 --- a/test/t8_schemes/t8_gtest_face_neigh.cxx +++ b/test/t8_schemes/t8_gtest_face_neigh.cxx @@ -21,10 +21,10 @@ */ #include -#include +#include #include -#include -#include +#include +#include #include diff --git a/test/t8_schemes/t8_gtest_find_parent.cxx b/test/t8_schemes/t8_gtest_find_parent.cxx index d92c163170..9bda88abbf 100644 --- a/test/t8_schemes/t8_gtest_find_parent.cxx +++ b/test/t8_schemes/t8_gtest_find_parent.cxx @@ -22,10 +22,10 @@ #include #include -#include -#include +#include +#include #include "t8_gtest_dfs_base.hxx" -#include +#include struct class_find_parent: public TestDFS { diff --git a/test/t8_schemes/t8_gtest_get_linear_id.cxx b/test/t8_schemes/t8_gtest_get_linear_id.cxx index 498a25c830..53fe9f1c82 100644 --- a/test/t8_schemes/t8_gtest_get_linear_id.cxx +++ b/test/t8_schemes/t8_gtest_get_linear_id.cxx @@ -23,10 +23,10 @@ #include #include #include -#include +#include #include #include -#include +#include struct get_linear_id: public testing::TestWithParam> { diff --git a/test/t8_schemes/t8_gtest_input_equal_output.cxx b/test/t8_schemes/t8_gtest_input_equal_output.cxx index 7bf52f04d5..d89dd6eaf5 100644 --- a/test/t8_schemes/t8_gtest_input_equal_output.cxx +++ b/test/t8_schemes/t8_gtest_input_equal_output.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "t8_gtest_dfs_base.hxx" #include diff --git a/test/t8_schemes/t8_gtest_is_ancestor.cxx b/test/t8_schemes/t8_gtest_is_ancestor.cxx index 34c95ac3ef..b6afae03bb 100644 --- a/test/t8_schemes/t8_gtest_is_ancestor.cxx +++ b/test/t8_schemes/t8_gtest_is_ancestor.cxx @@ -33,9 +33,9 @@ #include #include #include -#include +#include #include "t8_gtest_dfs_base.hxx" -#include +#include class class_is_ancestor: public TestDFS { void diff --git a/test/t8_schemes/t8_gtest_nca.cxx b/test/t8_schemes/t8_gtest_nca.cxx index a8521d31a0..f874f65b05 100644 --- a/test/t8_schemes/t8_gtest_nca.cxx +++ b/test/t8_schemes/t8_gtest_nca.cxx @@ -26,10 +26,10 @@ */ #include -#include +#include #include -#include -#include +#include +#include struct nca: public testing::TestWithParam> { diff --git a/test/t8_schemes/t8_gtest_pack_unpack.cxx b/test/t8_schemes/t8_gtest_pack_unpack.cxx index a1725bf325..bfd374b06e 100644 --- a/test/t8_schemes/t8_gtest_pack_unpack.cxx +++ b/test/t8_schemes/t8_gtest_pack_unpack.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "t8_gtest_dfs_base.hxx" /** Use DFS to check for all elements, if packing them, sending them to ourself and unpacking them results in the same element diff --git a/test/t8_schemes/t8_gtest_root.cxx b/test/t8_schemes/t8_gtest_root.cxx index bbc04b12c0..007be4196a 100644 --- a/test/t8_schemes/t8_gtest_root.cxx +++ b/test/t8_schemes/t8_gtest_root.cxx @@ -24,12 +24,12 @@ */ #include -#include -#include -#include +#include +#include +#include #include #include -#include +#include struct root: public testing::TestWithParam> { diff --git a/test/t8_schemes/t8_gtest_set_linear_id.cxx b/test/t8_schemes/t8_gtest_set_linear_id.cxx index f85c3be8bd..40ae8626d0 100644 --- a/test/t8_schemes/t8_gtest_set_linear_id.cxx +++ b/test/t8_schemes/t8_gtest_set_linear_id.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include #include "t8_gtest_bfs_base.hxx" /** In this test we iterate through all elements. diff --git a/test/t8_schemes/t8_gtest_successor.cxx b/test/t8_schemes/t8_gtest_successor.cxx index b184a4019b..a15198f0e2 100644 --- a/test/t8_schemes/t8_gtest_successor.cxx +++ b/test/t8_schemes/t8_gtest_successor.cxx @@ -22,9 +22,9 @@ #include #include -#include -#include -#include +#include +#include +#include struct class_successor: public testing::TestWithParam> { diff --git a/test/t8_schemes/t8_subelement/t8_gtest_geometrical.cxx b/test/t8_schemes/t8_subelement/t8_gtest_geometrical.cxx index 22c6546987..b430329db7 100644 --- a/test/t8_schemes/t8_subelement/t8_gtest_geometrical.cxx +++ b/test/t8_schemes/t8_subelement/t8_gtest_geometrical.cxx @@ -27,7 +27,7 @@ */ #include -#include +#include #include #include diff --git a/test/t8_types/t8_gtest_vec.cxx b/test/t8_types/t8_gtest_vec.cxx index 1d12ad4722..c149b5e53f 100644 --- a/test/t8_types/t8_gtest_vec.cxx +++ b/test/t8_types/t8_gtest_vec.cxx @@ -25,8 +25,8 @@ #include #include #include -#include -#include +#include +#include #include #include From a7cbc5e2908df1104d0a29f924fbe3ac4813ac05 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 13:51:50 +0200 Subject: [PATCH 09/14] use < instead of " in include --- ...gtest_cmesh_add_attributes_when_derive.cxx | 2 +- test/t8_cmesh/t8_gtest_cmesh_copy.cxx | 2 +- .../t8_gtest_cmesh_set_join_by_vertices.cxx | 2 +- .../t8_cmesh_example_sets.hxx | 24 +++++++++---------- .../t8_cmesh_new_bigmesh_param.hxx | 4 ++-- .../t8_cmesh_new_comm.hxx | 4 ++-- .../t8_cmesh_new_disjoint_bricks_param.hxx | 4 ++-- .../t8_cmesh_new_from_class_param.hxx | 4 ++-- .../t8_cmesh_new_hypercube_pad.hxx | 4 ++-- .../t8_cmesh_new_hypercube_param.hxx | 4 ++-- .../t8_cmesh_new_prism_cake_param.hxx | 4 ++-- .../t8_gtest_cmesh_generator_test.cxx | 6 ++--- .../t8_gtest_cmesh_sum_of_sets.hxx | 2 +- test/t8_forest/t8_gtest_bin_search.cxx | 2 +- test/t8_forest/t8_gtest_element_is_leaf.cxx | 2 +- test/t8_forest/t8_gtest_forest_commit.cxx | 2 +- test/t8_forest/t8_gtest_ghost_and_owner.cxx | 2 +- test/t8_forest/t8_gtest_ghost_exchange.cxx | 2 +- .../t8_gtest_leaf_face_neighbors.cxx | 2 +- .../t8_gtest_partition_for_coarsening.cxx | 2 +- .../t8_gtest_set_partition_offset.cxx | 2 +- .../t8_gtest_weighted_partitioning.cxx | 2 +- .../t8_gtest_iterate_replace.cxx | 2 +- 23 files changed, 43 insertions(+), 43 deletions(-) diff --git a/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx b/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx index 915cb9c778..a15ba26adb 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_add_attributes_when_derive.cxx @@ -24,7 +24,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include /* Test if adding attributes to a cmesh when deriving it from another * cmesh is working. diff --git a/test/t8_cmesh/t8_gtest_cmesh_copy.cxx b/test/t8_cmesh/t8_gtest_cmesh_copy.cxx index aca02c585d..deb9a6fd8a 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_copy.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_copy.cxx @@ -27,7 +27,7 @@ #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include /* We create and commit a cmesh, then derive a new cmesh * from it without any changes. diff --git a/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx b/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx index c667393f3a..b451fdd082 100644 --- a/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx +++ b/test/t8_cmesh/t8_gtest_cmesh_set_join_by_vertices.cxx @@ -27,7 +27,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include #include "t8_test_data_dir.h" diff --git a/test/t8_cmesh_generator/t8_cmesh_example_sets.hxx b/test/t8_cmesh_generator/t8_cmesh_example_sets.hxx index d9953b06f8..8c03a89ac5 100644 --- a/test/t8_cmesh_generator/t8_cmesh_example_sets.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_example_sets.hxx @@ -28,18 +28,18 @@ #include -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_prism_cake_param.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_from_class_param.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_bigmesh_param.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_disjoint_bricks_param.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_comm.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_pad.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_param.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_empty.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_periodic.hxx" -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_gtest_cmesh_sum_of_sets.hxx" -#include "test/t8_gtest_schemes.hxx" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include T8_EXTERN_C_BEGIN (); diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_bigmesh_param.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_bigmesh_param.hxx index cfbb0da248..10a9407e10 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_bigmesh_param.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_bigmesh_param.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_BIGMESH_PARAM_HXX #define T8_CMESH_NEW_BIGMESH_PARAM_HXX -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include "t8_cmesh/t8_cmesh_examples.h" #include diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_comm.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_comm.hxx index f049504bb0..88e207bcdb 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_comm.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_comm.hxx @@ -27,8 +27,8 @@ #ifndef T8_CMESH_NEW_COMM #define T8_CMESH_NEW_COMM -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include namespace new_cmesh_comm diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_disjoint_bricks_param.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_disjoint_bricks_param.hxx index 2fb4ee14a4..8d6d9d9b58 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_disjoint_bricks_param.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_disjoint_bricks_param.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_DISJOINT_BRICKS_PARAM_HXX #define T8_CMESH_NEW_DISJOINT_BRICKS_PARAM_HXX -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include "t8_cmesh/t8_cmesh_examples.h" namespace new_disjoint_bricks diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_from_class_param.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_from_class_param.hxx index 6693d2d858..eaa0637a7f 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_from_class_param.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_from_class_param.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_FROM_CLASS_PARAM #define T8_CMESH_NEW_FROM_CLASS_PARAM -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include #include diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_pad.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_pad.hxx index a2df4c4b54..44c673b60d 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_pad.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_pad.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_HYPERCUBE_PAD #define T8_CMESH_NEW_HYPERCUBE_PAD -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include namespace new_hypercube_pad diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_param.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_param.hxx index e8fdb4324e..fda8fce87b 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_param.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_hypercube_param.hxx @@ -27,8 +27,8 @@ #define T8_CMESH_NEW_HYPERCUBE_PARAM_HXX #include -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include namespace new_hypercube_cmesh diff --git a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_prism_cake_param.hxx b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_prism_cake_param.hxx index 3ee0a9da0c..289b815722 100644 --- a/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_prism_cake_param.hxx +++ b/test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_prism_cake_param.hxx @@ -26,8 +26,8 @@ #ifndef T8_CMESH_NEW_PRISM_CAKE_PARAM_HXX #define T8_CMESH_NEW_PRISM_CAKE_PARAM_HXX -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_params.hxx" +#include +#include #include namespace new_prism_cake diff --git a/test/t8_cmesh_generator/t8_gtest_cmesh_generator_test.cxx b/test/t8_cmesh_generator/t8_gtest_cmesh_generator_test.cxx index 7981752d8a..1134b87960 100644 --- a/test/t8_cmesh_generator/t8_gtest_cmesh_generator_test.cxx +++ b/test/t8_cmesh_generator/t8_gtest_cmesh_generator_test.cxx @@ -22,9 +22,9 @@ #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" -#include "test/t8_cmesh_generator/t8_cmesh_parameterized_examples/t8_cmesh_new_bigmesh_param.hxx" -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" +#include +#include +#include struct t8_cmesh_iter: public testing::TestWithParam { diff --git a/test/t8_cmesh_generator/t8_gtest_cmesh_sum_of_sets.hxx b/test/t8_cmesh_generator/t8_gtest_cmesh_sum_of_sets.hxx index c278a0c24f..1d248d4dba 100644 --- a/test/t8_cmesh_generator/t8_gtest_cmesh_sum_of_sets.hxx +++ b/test/t8_cmesh_generator/t8_gtest_cmesh_sum_of_sets.hxx @@ -26,7 +26,7 @@ #ifndef T8_GTEST_cmesh_sum_of_sets_HXX #define T8_GTEST_cmesh_sum_of_sets_HXX -#include "test/t8_cmesh_generator/t8_gtest_cmesh_cartesian_product.hxx" +#include T8_EXTERN_C_BEGIN (); diff --git a/test/t8_forest/t8_gtest_bin_search.cxx b/test/t8_forest/t8_gtest_bin_search.cxx index 8c7eaf3711..5766ff949b 100644 --- a/test/t8_forest/t8_gtest_bin_search.cxx +++ b/test/t8_forest/t8_gtest_bin_search.cxx @@ -27,7 +27,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include diff --git a/test/t8_forest/t8_gtest_element_is_leaf.cxx b/test/t8_forest/t8_gtest_element_is_leaf.cxx index 59f6d925e7..cb6e72212a 100644 --- a/test/t8_forest/t8_gtest_element_is_leaf.cxx +++ b/test/t8_forest/t8_gtest_element_is_leaf.cxx @@ -27,7 +27,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include #include diff --git a/test/t8_forest/t8_gtest_forest_commit.cxx b/test/t8_forest/t8_gtest_forest_commit.cxx index 37a6d12472..b24476a458 100644 --- a/test/t8_forest/t8_gtest_forest_commit.cxx +++ b/test/t8_forest/t8_gtest_forest_commit.cxx @@ -27,7 +27,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include diff --git a/test/t8_forest/t8_gtest_ghost_and_owner.cxx b/test/t8_forest/t8_gtest_ghost_and_owner.cxx index ef2e29bff2..dde672c482 100644 --- a/test/t8_forest/t8_gtest_ghost_and_owner.cxx +++ b/test/t8_forest/t8_gtest_ghost_and_owner.cxx @@ -27,7 +27,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include diff --git a/test/t8_forest/t8_gtest_ghost_exchange.cxx b/test/t8_forest/t8_gtest_ghost_exchange.cxx index 1c744016ba..750e3905bf 100644 --- a/test/t8_forest/t8_gtest_ghost_exchange.cxx +++ b/test/t8_forest/t8_gtest_ghost_exchange.cxx @@ -27,7 +27,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include diff --git a/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx b/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx index b0f4147bba..44556de835 100644 --- a/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx +++ b/test/t8_forest/t8_gtest_leaf_face_neighbors.cxx @@ -37,7 +37,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include "t8_test_data_dir.h" #include #include diff --git a/test/t8_forest/t8_gtest_partition_for_coarsening.cxx b/test/t8_forest/t8_gtest_partition_for_coarsening.cxx index eec43e3ff6..c549209150 100644 --- a/test/t8_forest/t8_gtest_partition_for_coarsening.cxx +++ b/test/t8_forest/t8_gtest_partition_for_coarsening.cxx @@ -58,7 +58,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include // t8code diff --git a/test/t8_forest/t8_gtest_set_partition_offset.cxx b/test/t8_forest/t8_gtest_set_partition_offset.cxx index 38167aaaa3..cbdd12f9ce 100644 --- a/test/t8_forest/t8_gtest_set_partition_offset.cxx +++ b/test/t8_forest/t8_gtest_set_partition_offset.cxx @@ -51,7 +51,7 @@ // testing #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include diff --git a/test/t8_forest/t8_gtest_weighted_partitioning.cxx b/test/t8_forest/t8_gtest_weighted_partitioning.cxx index bf0dba07e8..2075509373 100644 --- a/test/t8_forest/t8_gtest_weighted_partitioning.cxx +++ b/test/t8_forest/t8_gtest_weighted_partitioning.cxx @@ -45,7 +45,7 @@ // testing #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include diff --git a/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx b/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx index 15835c253a..70a42d8420 100644 --- a/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx +++ b/test/t8_forest_incomplete/t8_gtest_iterate_replace.cxx @@ -23,7 +23,7 @@ #include #include #include -#include "test/t8_cmesh_generator/t8_cmesh_example_sets.hxx" +#include #include #include #include From 4547a0aeade728e6cb2e2e4be50dd74ec3830281 Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 13:54:35 +0200 Subject: [PATCH 10/14] fix test include paths with src prefix --- test/t8_IO/t8_gtest_vtk_reader.cxx | 2 +- .../t8_gtest_geometry_cad_component.cxx | 2 +- test/t8_gtest_adapt_callbacks.hxx | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/test/t8_IO/t8_gtest_vtk_reader.cxx b/test/t8_IO/t8_gtest_vtk_reader.cxx index 24b360a659..d8a1b92c07 100644 --- a/test/t8_IO/t8_gtest_vtk_reader.cxx +++ b/test/t8_IO/t8_gtest_vtk_reader.cxx @@ -22,7 +22,7 @@ #include #include -#include +#include #include "t8_test_data_dir.h" #include diff --git a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx index fdd090fd65..ba7ec4abac 100644 --- a/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx +++ b/test/t8_geometry/t8_geometry_implementations/t8_gtest_geometry_cad_component.cxx @@ -48,7 +48,7 @@ #include #include #include -#include +#include #include #include diff --git a/test/t8_gtest_adapt_callbacks.hxx b/test/t8_gtest_adapt_callbacks.hxx index eb6d75dfb7..596b8c4eb5 100644 --- a/test/t8_gtest_adapt_callbacks.hxx +++ b/test/t8_gtest_adapt_callbacks.hxx @@ -27,7 +27,7 @@ #ifndef T8_GTEST_ADAPT_CALLBACKS #define T8_GTEST_ADAPT_CALLBACKS -#include +#include #include /** Adapt a forest such that always the child with ID=1 (i.e. the second child) From 80be3487050aed9d64195546171f08cb45fe236d Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 14:31:23 +0200 Subject: [PATCH 11/14] change install path for test --- test/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/CMakeLists.txt b/test/CMakeLists.txt index 1ae8d5829e..72be8a9386 100644 --- a/test/CMakeLists.txt +++ b/test/CMakeLists.txt @@ -253,7 +253,7 @@ endif() target_include_directories( T8 PUBLIC $ - $ + $ ) # Install test header files From 1be715a2f2e39cc07d67deefe02de8c35671565f Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 14:00:22 +0200 Subject: [PATCH 12/14] Apply batched suggestions from code review Co-authored-by: Johannes Holke --- src/CMakeLists.txt | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 1bcbd11eb6..9b42e0cb1f 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -371,8 +371,6 @@ install( DIRECTORY t8_openfoam PATTERN "*.h" ) - - install( TARGETS T8 EXPORT ${PROJECT_NAME}-targets ARCHIVE DESTINATION ${CMAKE_INSTALL_LIBDIR} From a770e6d2665aa4e2abcd340c7ca74a541f18274a Mon Sep 17 00:00:00 2001 From: Johannes Holke Date: Fri, 23 Oct 2026 14:00:54 +0200 Subject: [PATCH 13/14] Apply batched suggestions from code review Co-authored-by: Johannes Holke --- src/CMakeLists.txt | 1 - 1 file changed, 1 deletion(-) diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 9b42e0cb1f..db09a38ee8 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -345,7 +345,6 @@ install( DIRECTORY t8_schemes PATTERN "*.h" PATTERN "*.hxx" ) - install( DIRECTORY t8_types DESTINATION ${CMAKE_INSTALL_INCLUDEDIR} FILES_MATCHING From 369bb38e7811d819189670e14d0b3601ff7c0550 Mon Sep 17 00:00:00 2001 From: Vyp3er Date: Fri, 30 Oct 2026 11:51:31 +0100 Subject: [PATCH 14/14] Adapt comment --- mesh_handle/element.hxx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/mesh_handle/element.hxx b/mesh_handle/element.hxx index 5251ca32d3..dbc8625b29 100644 --- a/mesh_handle/element.hxx +++ b/mesh_handle/element.hxx @@ -413,10 +413,10 @@ class element: public TCompetences>... { } } - /** Check if the element is conformal, i.e. there are no hanging nodes on any of its faces. - * This is the case if the element has zero or exactly one face neighbor at each face. + /** Check if the element has a hanging node i.e. if any of its faces has more than one neighbor. + * This is the case if the element has more than one face neighbor at any face. * This function uses the cached face neighbor defined in TCompetences if available. - * \return True if the element is conformal, false otherwise. + * \return True if the element has a hanging node, false otherwise. */ bool has_hanging_node () const