diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-08 17:32:37 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-08 17:32:37 +0200 |
| commit | fe9fbe33df43ae9397c8cef311ff5f2f9afe8e1f (patch) | |
| tree | 1cd2efb8bea00e8ea495e244ed25884cde56eef5 /examples/stokes_drag_particle_2d_psm_gpu | |
| parent | 68c192ef581543d9e15bdae39599cc231b6abdaa (diff) | |
| parent | e67393d7fcc6e9aa1dfe10e3a6a0d087b9621678 (diff) | |
| download | libs-lbm-fe9fbe33df43ae9397c8cef311ff5f2f9afe8e1f.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'examples/stokes_drag_particle_2d_psm_gpu')
| -rw-r--r-- | examples/stokes_drag_particle_2d_psm_gpu/sim.cpp | 3 |
1 files changed, 0 insertions, 3 deletions
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<void> 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<T,Desc>(rho,vel); @@ -178,7 +177,6 @@ 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); @@ -223,7 +221,6 @@ 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; |
