From 34bcca5a8d9234febbed9c11c2c801c3e5d63581 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 23 Jul 2026 23:20:05 +0200 Subject: Fixed HLBM galilean issue --- examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'examples/moving_poiseulle_particles_2d_hlbm_gpu') diff --git a/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp b/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp index 97ecfde..f89f5da 100644 --- a/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp +++ b/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp @@ -201,7 +201,7 @@ saw::error_or step( index.at({{i}}).set(idx[i]); } - hlbm_one_part.apply(fields,macros,particles,index,t_i,{{128u}}); + hlbm_one_part.apply(fields,macros,particles,index,t_i,{16u}); }); }).wait(); @@ -380,14 +380,13 @@ saw::error_or lbm_main(int argc, char** argv){ } sycl_q.wait(); - if( i.get() % 32u == 33u){ + if( i.get() % 32u == 0u){ { auto eov = dev.copy_to_host(lbm_sycl_macro_data,*lbm_macro_data_ptr); if(eov.is_error()){ return eov; } } - { auto eov = write_vtk_file(out_dir,"m",i.get(), *lbm_macro_data_ptr); if(eov.is_error()){ -- cgit v1.2.3