diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-08 17:02:58 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-08 17:02:58 +0200 |
| commit | 8551a96ce0a7753cac5c7f3037f16b40ebad9b34 (patch) | |
| tree | aba8caedd6ec5f1eaea0be86e322fecb27267779 /examples | |
| parent | f572400830a55f34c4b2ccb34a7d6294960a42b9 (diff) | |
| download | libs-lbm-8551a96ce0a7753cac5c7f3037f16b40ebad9b34.tar.gz | |
PSM wrong force. oops :)
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/stokes_drag_particle_2d_psm_gpu/sim.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
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<void> step( component<T,Desc,cmpt::PSM,encode::Sycl<saw::encode::Native>> collision{0.8}; component<T,Desc,cmpt::BounceBack,encode::Sycl<saw::encode::Native>> bb; component<T,Desc,cmpt::AntiBounceBack<0u>,encode::Sycl<saw::encode::Native>> abb; + component<T,Desc,cmpt::HlbmOneParticleMomentumExchange,encode::Sycl<saw::encode::Native>> one_part_moment; saw::data<sch::Scalar<T>> eps; eps.at({}).set(1.5f); @@ -222,6 +223,7 @@ saw::error_or<void> 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; |
