From d6d3862eaf2f28726b3d0e108eb273b5096ae5a6 Mon Sep 17 00:00:00 2001 From: Isaac Morales Date: Fri, 30 Aug 2024 03:52:40 +0200 Subject: [PATCH 1/2] Fix self-contained headers problem --- src/core/operation/mechanical_forces_op.h | 1 + src/neuroscience/new_agent_event/neurite_branching_event.h | 2 ++ src/neuroscience/new_agent_event/new_neurite_extension_event.h | 1 + src/neuroscience/new_agent_event/side_neurite_extension_event.h | 2 ++ src/neuroscience/new_agent_event/split_neurite_element_event.h | 1 + test/unit/core/operation/dividing_cell_op_test.h | 1 + test/unit/core/operation/mechanical_forces_op_test.h | 1 + 7 files changed, 9 insertions(+) diff --git a/src/core/operation/mechanical_forces_op.h b/src/core/operation/mechanical_forces_op.h index 5136d5958..67a42da39 100644 --- a/src/core/operation/mechanical_forces_op.h +++ b/src/core/operation/mechanical_forces_op.h @@ -31,6 +31,7 @@ #include "core/simulation.h" #include "core/util/math.h" #include "core/util/thread_info.h" +#include "core/operation/operation_registry.h" namespace bdm { diff --git a/src/neuroscience/new_agent_event/neurite_branching_event.h b/src/neuroscience/new_agent_event/neurite_branching_event.h index 113f5525b..904cc5592 100644 --- a/src/neuroscience/new_agent_event/neurite_branching_event.h +++ b/src/neuroscience/new_agent_event/neurite_branching_event.h @@ -17,6 +17,8 @@ #include #include "core/agent/new_agent_event.h" +#include "core/real_t.h" +#include "core/container/math_array.h" namespace bdm { namespace neuroscience { diff --git a/src/neuroscience/new_agent_event/new_neurite_extension_event.h b/src/neuroscience/new_agent_event/new_neurite_extension_event.h index b8aa7d10f..fb9cef3cd 100644 --- a/src/neuroscience/new_agent_event/new_neurite_extension_event.h +++ b/src/neuroscience/new_agent_event/new_neurite_extension_event.h @@ -16,6 +16,7 @@ #define NEUROSCIENCE_NEW_AGENT_EVENT_NEW_NEURITE_EXTENSION_EVENT_H_ #include "core/agent/new_agent_event.h" +#include "core/real_t.h" namespace bdm { namespace neuroscience { diff --git a/src/neuroscience/new_agent_event/side_neurite_extension_event.h b/src/neuroscience/new_agent_event/side_neurite_extension_event.h index b72998ba4..1f94055df 100644 --- a/src/neuroscience/new_agent_event/side_neurite_extension_event.h +++ b/src/neuroscience/new_agent_event/side_neurite_extension_event.h @@ -16,6 +16,8 @@ #define NEUROSCIENCE_NEW_AGENT_EVENT_SIDE_NEURITE_EXTENSION_EVENT_H_ #include "core/agent/new_agent_event.h" +#include "core/real_t.h" +#include "core/container/math_array.h" namespace bdm { namespace neuroscience { diff --git a/src/neuroscience/new_agent_event/split_neurite_element_event.h b/src/neuroscience/new_agent_event/split_neurite_element_event.h index fced3bef9..264be460e 100644 --- a/src/neuroscience/new_agent_event/split_neurite_element_event.h +++ b/src/neuroscience/new_agent_event/split_neurite_element_event.h @@ -16,6 +16,7 @@ #define NEUROSCIENCE_NEW_AGENT_EVENT_SPLIT_NEURITE_ELEMENT_EVENT_H_ #include "core/agent/new_agent_event.h" +#include "core/real_t.h" namespace bdm { namespace neuroscience { diff --git a/test/unit/core/operation/dividing_cell_op_test.h b/test/unit/core/operation/dividing_cell_op_test.h index e13e95e48..38f45782b 100644 --- a/test/unit/core/operation/dividing_cell_op_test.h +++ b/test/unit/core/operation/dividing_cell_op_test.h @@ -23,6 +23,7 @@ #include "core/operation/dividing_cell_op.h" #include "core/resource_manager.h" #include "unit/test_util/test_util.h" +#include "core/operation/operation_registry.h" namespace bdm { namespace dividing_cell_op_test_internal { diff --git a/test/unit/core/operation/mechanical_forces_op_test.h b/test/unit/core/operation/mechanical_forces_op_test.h index 55b4efa14..95fe54b43 100644 --- a/test/unit/core/operation/mechanical_forces_op_test.h +++ b/test/unit/core/operation/mechanical_forces_op_test.h @@ -18,6 +18,7 @@ #include "core/agent/cell.h" #include "core/operation/mechanical_forces_op.h" #include "unit/test_util/test_util.h" +#include "core/operation/operation_registry.h" namespace bdm { namespace mechanical_forces_op_test_internal { From 0b576b02eaa822547d995e3b41216dd6420d9281 Mon Sep 17 00:00:00 2001 From: Isaac Morales Date: Fri, 30 Aug 2024 04:10:41 +0200 Subject: [PATCH 2/2] Run clang-format --- src/core/operation/mechanical_forces_op.h | 1 - src/neuroscience/new_agent_event/neurite_branching_event.h | 2 +- src/neuroscience/new_agent_event/side_neurite_extension_event.h | 2 +- test/unit/core/operation/dividing_cell_op_test.h | 2 +- test/unit/core/operation/mechanical_forces_op_test.h | 2 +- 5 files changed, 4 insertions(+), 5 deletions(-) diff --git a/src/core/operation/mechanical_forces_op.h b/src/core/operation/mechanical_forces_op.h index 67a42da39..5136d5958 100644 --- a/src/core/operation/mechanical_forces_op.h +++ b/src/core/operation/mechanical_forces_op.h @@ -31,7 +31,6 @@ #include "core/simulation.h" #include "core/util/math.h" #include "core/util/thread_info.h" -#include "core/operation/operation_registry.h" namespace bdm { diff --git a/src/neuroscience/new_agent_event/neurite_branching_event.h b/src/neuroscience/new_agent_event/neurite_branching_event.h index 904cc5592..85dd1e26e 100644 --- a/src/neuroscience/new_agent_event/neurite_branching_event.h +++ b/src/neuroscience/new_agent_event/neurite_branching_event.h @@ -17,8 +17,8 @@ #include #include "core/agent/new_agent_event.h" -#include "core/real_t.h" #include "core/container/math_array.h" +#include "core/real_t.h" namespace bdm { namespace neuroscience { diff --git a/src/neuroscience/new_agent_event/side_neurite_extension_event.h b/src/neuroscience/new_agent_event/side_neurite_extension_event.h index 1f94055df..d4c6f802b 100644 --- a/src/neuroscience/new_agent_event/side_neurite_extension_event.h +++ b/src/neuroscience/new_agent_event/side_neurite_extension_event.h @@ -16,8 +16,8 @@ #define NEUROSCIENCE_NEW_AGENT_EVENT_SIDE_NEURITE_EXTENSION_EVENT_H_ #include "core/agent/new_agent_event.h" -#include "core/real_t.h" #include "core/container/math_array.h" +#include "core/real_t.h" namespace bdm { namespace neuroscience { diff --git a/test/unit/core/operation/dividing_cell_op_test.h b/test/unit/core/operation/dividing_cell_op_test.h index 38f45782b..417ebcfd3 100644 --- a/test/unit/core/operation/dividing_cell_op_test.h +++ b/test/unit/core/operation/dividing_cell_op_test.h @@ -21,9 +21,9 @@ #include "core/agent/cell.h" #include "core/operation/dividing_cell_op.h" +#include "core/operation/operation_registry.h" #include "core/resource_manager.h" #include "unit/test_util/test_util.h" -#include "core/operation/operation_registry.h" namespace bdm { namespace dividing_cell_op_test_internal { diff --git a/test/unit/core/operation/mechanical_forces_op_test.h b/test/unit/core/operation/mechanical_forces_op_test.h index 95fe54b43..45a60911c 100644 --- a/test/unit/core/operation/mechanical_forces_op_test.h +++ b/test/unit/core/operation/mechanical_forces_op_test.h @@ -17,8 +17,8 @@ #include "core/agent/cell.h" #include "core/operation/mechanical_forces_op.h" -#include "unit/test_util/test_util.h" #include "core/operation/operation_registry.h" +#include "unit/test_util/test_util.h" namespace bdm { namespace mechanical_forces_op_test_internal {