From e67393d7fcc6e9aa1dfe10e3a6a0d087b9621678 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 8 Jul 2026 17:32:12 +0200 Subject: Force calculated --- examples/stokes_drag_particle_2d_psm_gpu/sim.cpp | 3 --- 1 file changed, 3 deletions(-) (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 135bde4..3220a63 100644 --- a/examples/stokes_drag_particle_2d_psm_gpu/sim.cpp +++ b/examples/stokes_drag_particle_2d_psm_gpu/sim.cpp @@ -134,7 +134,6 @@ saw::error_or setup_initial_conditions( por_f.at(index).at({}) = {1}; rho.at({}) = {1}; auto& vel = vel_f.at(index); - vel.at({{0u}}) = 0.0002f; auto eq = equilibrium(rho,vel); @@ -178,7 +177,6 @@ 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); @@ -223,7 +221,6 @@ 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