From 4fab8965692f75fea3cbbabb3381bfeb00511669 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sun, 5 Jul 2026 22:13:52 +0200 Subject: Found c++ magic --- examples/stokes_drag_particle_2d_hlbm_gpu/sim.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/stokes_drag_particle_2d_hlbm_gpu') diff --git a/examples/stokes_drag_particle_2d_hlbm_gpu/sim.cpp b/examples/stokes_drag_particle_2d_hlbm_gpu/sim.cpp index a919bbe..49e6d43 100644 --- a/examples/stokes_drag_particle_2d_hlbm_gpu/sim.cpp +++ b/examples/stokes_drag_particle_2d_hlbm_gpu/sim.cpp @@ -197,6 +197,7 @@ saw::error_or step( q.submit([&](acpp::sycl::handler& h){ component> bgk{0.8}; component> collision{0.8}; + component> one_part_moment; component> bb; component,encode::Sycl> abb; @@ -241,6 +242,7 @@ saw::error_or step( break; case 2u: opa.apply(macros,index,t_i); + one_part_moment.apply(fields,macros,index,t_i); collision.apply(fields,macros,index,t_i); fg.apply(fields,macros,index,t_i); break; -- cgit v1.2.3