From e5051fd089349723cd876eb17a8bd4a1d094cfa2 Mon Sep 17 00:00:00 2001 From: lenaploetzke <70579874+lenaploetzke@users.noreply.github.com> Date: Mon, 10 Nov 2025 11:11:36 +0100 Subject: [PATCH 01/11] pack competences into one class --- api/t8_mesh_handle/abstract_element.hxx | 15 +++--- api/t8_mesh_handle/competence_pack.hxx | 51 +++++++++++++++++++ api/t8_mesh_handle/ghost_element.hxx | 8 +-- api/t8_mesh_handle/mesh.hxx | 15 ++++-- api/t8_mesh_handle/mesh_element.hxx | 8 +-- .../t8_gtest_cache_competence.cxx | 7 +-- .../t8_gtest_custom_competence.cxx | 7 ++- test/api/t8_mesh_handle/t8_gtest_ghost.cxx | 5 +- .../t8_mesh_handle/t8_gtest_mesh_handle.cxx | 17 ++++--- 9 files changed, 94 insertions(+), 39 deletions(-) create mode 100644 api/t8_mesh_handle/competence_pack.hxx diff --git a/api/t8_mesh_handle/abstract_element.hxx b/api/t8_mesh_handle/abstract_element.hxx index d022bfee69..4ce21384b9 100644 --- a/api/t8_mesh_handle/abstract_element.hxx +++ b/api/t8_mesh_handle/abstract_element.hxx @@ -28,6 +28,7 @@ along with t8code; if not, write to the Free Software Foundation, Inc., #define T8_ABSTRACT_ELEMENT_HXX #include +#include #include #include #include @@ -42,7 +43,7 @@ namespace t8_mesh_handle { /* Forward declaration of the mesh class of the handle. */ -template