diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-15 16:55:56 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-15 16:55:56 +0200 |
| commit | aedeb28b41ffbe0229d065c69f7d2e4570968ace (patch) | |
| tree | b12c4854cf7a1912f2540f29b23835c82e47432d /modules/core/c++/hlbm.hpp | |
| parent | 44cb41bbe6128f2c7ca92b06e2267d52e3121721 (diff) | |
| download | libs-lbm-aedeb28b41ffbe0229d065c69f7d2e4570968ace.tar.gz | |
Reworking particle_aabb
Diffstat (limited to 'modules/core/c++/hlbm.hpp')
| -rw-r--r-- | modules/core/c++/hlbm.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/core/c++/hlbm.hpp b/modules/core/c++/hlbm.hpp index 9ddc6c6..eccc2cd 100644 --- a/modules/core/c++/hlbm.hpp +++ b/modules/core/c++/hlbm.hpp @@ -105,7 +105,7 @@ class component<T, Desc, cmpt::HlbmParticle, Encode> final { private: template<typename CellFieldSchema, typename MacroFieldSchema, typename ParticleSchema, uint64_t i> void apply_i(const saw::data<CellFieldSchema, Encode>& field, const saw::data<MacroFieldSchema,Encode>& macros, const saw::data<ParticleSchema,Encode>& part_groups, saw::data<sch::FixedArray<sch::UInt64,1u>> index, saw::data<sch::UInt64> time_step) const { - + // if constexpr ( i < ) } public: /* @@ -136,6 +136,8 @@ public: auto aabb = particle_aabb<ParticleSchema>::calculate(part_spheroid_group,index,mvel.meta()); /// Ok, I iterate over the space which covers our particle? So lower bounds to upper bounds + start = aabb.template get<"a">(); + stop = aabb.template get<"b">(); iterator<Desc::D>::apply([&](const auto& index){ // ask for the d_k value here. |
