From 576b566d09194e923f73e0aa5a576bfdb5cfe945 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 3 Sep 2026 13:42:38 +0200 Subject: Dangling --- modules/core/c++/hlbm.hpp | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) (limited to 'modules/core/c++/hlbm.hpp') diff --git a/modules/core/c++/hlbm.hpp b/modules/core/c++/hlbm.hpp index e8ea66a..0df5896 100644 --- a/modules/core/c++/hlbm.hpp +++ b/modules/core/c++/hlbm.hpp @@ -102,12 +102,6 @@ public: template class component final { private: -/* - template - void apply_i(const saw::data& field, const saw::data& macros, const saw::data& part_groups, saw::data> index, saw::data time_step) const { - // if constexpr ( i < ) - } -*/ public: template void apply(const saw::data& field, const saw::data& macros, const saw::data& part_group, saw::data> index, saw::data time_step, saw::data sub_steps) const { @@ -167,10 +161,6 @@ public: auto vel_p_old = (pirb_pos-pirb_pos_old) / ts; iterator::apply([&](const auto& index_f) -> void{ - // ask for the d_k value here. - // For every value im iterating over I need sth - // std::cout<<"Pos: "<> rel_dist = saw::math::vectorize_data(index_f).template cast_to() - pirb_pos; saw::data> eps; @@ -207,9 +197,12 @@ public: momentum = momentum + ei_dfs; } - // technically needs to adjust for rotation as well + + // TODO technically needs to adjust for rotation as well auto& rho = mrho_f.at(index_f); + + macros.template get<"force">().at(index_f) = momentum; force_p = force_p + momentum; },start,stop); -- cgit v1.3.1