diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-23 23:20:48 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-23 23:20:48 +0200 |
| commit | 4e6cedae1bba1eb02f1dac96e11bd8b692fc1df7 (patch) | |
| tree | 7731c7ee35f188c05aa9afaa756c974a71cba7fa /examples | |
| parent | 0befcd5938e540e19555d587ab87fd0eb4419dfb (diff) | |
| parent | 34bcca5a8d9234febbed9c11c2c801c3e5d63581 (diff) | |
| download | libs-lbm-4e6cedae1bba1eb02f1dac96e11bd8b692fc1df7.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
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<void> 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<void> 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()){ |
