diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-06-22 17:36:51 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-06-22 17:36:51 +0200 |
| commit | ff702d3c9427794c5557360c53b93f9861f97554 (patch) | |
| tree | 652c64895bcabfac427276367b9c13303869e101 /lib/core | |
| parent | 4c9e43a42c15ce93ffded21dfcaa171f63d20d69 (diff) | |
| download | libs-lbm-ff702d3c9427794c5557360c53b93f9861f97554.tar.gz | |
Dangling
Diffstat (limited to 'lib/core')
| -rw-r--r-- | lib/core/c++/hlbm.hpp | 1 | ||||
| -rw-r--r-- | lib/core/c++/particle/aabb.hpp | 4 | ||||
| -rw-r--r-- | lib/core/tests/particles.cpp | 6 |
3 files changed, 10 insertions, 1 deletions
diff --git a/lib/core/c++/hlbm.hpp b/lib/core/c++/hlbm.hpp index 85e5357..0ba9cc2 100644 --- a/lib/core/c++/hlbm.hpp +++ b/lib/core/c++/hlbm.hpp @@ -142,6 +142,7 @@ public: iterator<Desc::D>::apply([&](const auto& index){ // ask for the d_k value here. // For every value im iterating over I need sth + std::cout<<"Pos: "<<index.at({0u}).get()<<" "<<index.at({1u}).get()<<std::endl; },start,stop); // Check diff --git a/lib/core/c++/particle/aabb.hpp b/lib/core/c++/particle/aabb.hpp index 8579695..d74ea88 100644 --- a/lib/core/c++/particle/aabb.hpp +++ b/lib/core/c++/particle/aabb.hpp @@ -7,6 +7,7 @@ namespace kel { namespace lbm { template<typename PGroup> class particle_aabb final { + static_assert(saw::always_false<PGroup>::value, "Not supported"); }; template<typename T, uint64_t D> @@ -21,7 +22,8 @@ public: sch::Member<sch::FixedArray<sch::UInt64,D>,"b"> >; public: - static constexpr saw::data<AABB> calculate(const saw::data<Schema>& p_grp, const saw::data<sch::FixedArray<sch::UInt64,1u>>& i, const saw::data<sch::FixedArray<sch::UInt64,D>>& meta){ + template<typename Encode> + static constexpr saw::data<AABB> calculate(const saw::data<Schema,Encode>& p_grp, const saw::data<sch::FixedArray<sch::UInt64,1u>>& i, const saw::data<sch::FixedArray<sch::UInt64,D>>& meta){ saw::data<AABB> aabb; auto& parts = p_grp.template get<"particles">(); diff --git a/lib/core/tests/particles.cpp b/lib/core/tests/particles.cpp index 1c18fbb..de9477c 100644 --- a/lib/core/tests/particles.cpp +++ b/lib/core/tests/particles.cpp @@ -272,4 +272,10 @@ SAW_TEST("Verlet integration test 2D"){ } } */ + +SAW_TEST("Particle / AABB"){ + using namespace kel; + + +} } |
