From fb3a5f5bcba542974cf2f3f1f401ec717e662942 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 27 Jul 2026 13:32:05 +0200 Subject: Cleaning up simulation setup --- examples/poiseulle_particles_2d_gpu/step.hpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'examples/poiseulle_particles_2d_gpu/step.hpp') diff --git a/examples/poiseulle_particles_2d_gpu/step.hpp b/examples/poiseulle_particles_2d_gpu/step.hpp index aa0e382..c1b148f 100644 --- a/examples/poiseulle_particles_2d_gpu/step.hpp +++ b/examples/poiseulle_particles_2d_gpu/step.hpp @@ -18,13 +18,12 @@ saw::error_or step( auto& info_f = fields.template get<"info">(); auto& porous_f = macros.template get<"porosity">(); - component> particle; + // component> particle; // auto coll_ev = q.submit([&](acpp::sycl::handler& h){ component> collision{0.8}; component> bb; - component,encode::Sycl> abb; saw::data> rho_b; rho_b.at({}) = 1.0; @@ -77,11 +76,13 @@ saw::error_or step( }); }).wait(); + /* q.submit([&](acpp::sycl::handler& h){ h.parallel_for(acpp::sycl::range<1u>{1u}, [=](acpp::sycl::id<1u> idx){ particle.apply(fields,macros,particles,{{0u}},t_i); }); }).wait(); + */ // Step /* -- cgit v1.2.3