diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-20 15:38:47 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-03-20 15:38:47 +0100 |
| commit | 9b1ccde40d24ac5e8e22557fc762283382d3e985 (patch) | |
| tree | b13596ca3d99a3062ffd9b4a7ac01bf70fc540d2 /examples/poiseulle_particles_2d_psm_gpu | |
| parent | df2ce610f0389edb0583fed15eaabe5d21518fb5 (diff) | |
| download | libs-lbm-9b1ccde40d24ac5e8e22557fc762283382d3e985.tar.gz | |
Changing to anti bounce back
Diffstat (limited to 'examples/poiseulle_particles_2d_psm_gpu')
| -rw-r--r-- | examples/poiseulle_particles_2d_psm_gpu/sim.cpp | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/examples/poiseulle_particles_2d_psm_gpu/sim.cpp b/examples/poiseulle_particles_2d_psm_gpu/sim.cpp index ff636ca..a8aeabb 100644 --- a/examples/poiseulle_particles_2d_psm_gpu/sim.cpp +++ b/examples/poiseulle_particles_2d_psm_gpu/sim.cpp @@ -201,13 +201,10 @@ saw::error_or<void> step( } - // auto coll_ev = q.submit([&](acpp::sycl::handler& h){ - // Need nicer things to handle the flow. I see improvement here - //component<T,Desc,cmpt::BGK, encode::Sycl<saw::encode::Native>> collision{0.65}; - // component<T,Desc,cmpt::HLBM,encode::Sycl<saw::encode::Native>> collision{0.65}; component<T,Desc,cmpt::PSM,encode::Sycl<saw::encode::Native>> collision{0.65}; component<T,Desc,cmpt::BounceBack,encode::Sycl<saw::encode::Native>> bb; + component<T,Desc,cmpt::AntiBounceBack<0u>,encode::Sycl<saw::encode::Native>> abb; saw::data<sch::Scalar<T>> rho_b; rho_b.at({}) = 1.0; @@ -240,7 +237,7 @@ saw::error_or<void> step( case 0u: break; case 1u: - bb.apply(fields,index,t_i); + abb.apply(fields,index,t_i); break; case 2u: collision.apply(fields,macros,index,t_i); |
