From f07f88088cfacaad3f94dc667f08ee2c2f38a093 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 20 May 2026 14:06:41 +0200 Subject: Particle issues in hlbm --- lib/core/c++/hlbm.hpp | 17 +++++------------ 1 file changed, 5 insertions(+), 12 deletions(-) (limited to 'lib/core') diff --git a/lib/core/c++/hlbm.hpp b/lib/core/c++/hlbm.hpp index 7af4f7e..196de73 100644 --- a/lib/core/c++/hlbm.hpp +++ b/lib/core/c++/hlbm.hpp @@ -7,7 +7,7 @@ namespace kel { namespace lbm { namespace cmpt { -struct HLBM {}; +struct Hlbm {}; struct HlbmParticle {}; } @@ -15,7 +15,7 @@ struct HlbmParticle {}; * HLBM collision operator for LBM */ template -class component final { +class component final { private: typename saw::native_data_type::type relaxation_; saw::data frequency_; @@ -73,20 +73,13 @@ private: saw::data frequency_; public: - template + template void apply(const saw::data& field, const saw::data& macros, const saw::data& particles, saw::data> index, saw::data time_step) const { /// Figure out how to access the particle list - auto& p = particles.at(i); + // auto& p = particles.at(i); /// Iterate over the grid bounds - auto& grid = p.template get<"grid">(); - - iterator::apply([&](const auto& index){ - auto& g_i = grid.at(index); - - /// Pick up forces and calculate to rigid body TODO - - }); + // auto& grid = p.template get<"grid">(); } }; -- cgit v1.2.3