From 8551a96ce0a7753cac5c7f3037f16b40ebad9b34 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 8 Jul 2026 17:02:58 +0200 Subject: PSM wrong force. oops :) --- examples/stokes_drag_particle_2d_psm_gpu/sim.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'examples/stokes_drag_particle_2d_psm_gpu') diff --git a/examples/stokes_drag_particle_2d_psm_gpu/sim.cpp b/examples/stokes_drag_particle_2d_psm_gpu/sim.cpp index 572fab0..2c75ef1 100644 --- a/examples/stokes_drag_particle_2d_psm_gpu/sim.cpp +++ b/examples/stokes_drag_particle_2d_psm_gpu/sim.cpp @@ -178,6 +178,7 @@ saw::error_or step( component> collision{0.8}; component> bb; component,encode::Sycl> abb; + component> one_part_moment; saw::data> eps; eps.at({}).set(1.5f); @@ -222,6 +223,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