diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-15 15:39:41 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-15 15:39:41 +0200 |
| commit | 44cb41bbe6128f2c7ca92b06e2267d52e3121721 (patch) | |
| tree | 089220c108f12c65abe880f448085f2705c3606a /examples/settling_spheres_2d_hlbm_gpu | |
| parent | 0dcc910d33832e2c5c29a6317467f85accf77aac (diff) | |
| download | libs-lbm-44cb41bbe6128f2c7ca92b06e2267d52e3121721.tar.gz | |
Preping two way
Diffstat (limited to 'examples/settling_spheres_2d_hlbm_gpu')
| -rw-r--r-- | examples/settling_spheres_2d_hlbm_gpu/sim.cpp | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/examples/settling_spheres_2d_hlbm_gpu/sim.cpp b/examples/settling_spheres_2d_hlbm_gpu/sim.cpp index a004a92..f7e47b6 100644 --- a/examples/settling_spheres_2d_hlbm_gpu/sim.cpp +++ b/examples/settling_spheres_2d_hlbm_gpu/sim.cpp @@ -13,7 +13,6 @@ namespace lbm { constexpr uint64_t dim_x = 512ul; constexpr uint64_t dim_y = dim_x * 2ul; - constexpr uint64_t particle_amount = 16ul; namespace sch { @@ -59,15 +58,9 @@ template<typename T, typename Desc> using ParticleSpheroidGroup = ParticleGroup< T, Desc::D, - sch::ParticleCollisionSpheroid<T,2.0f> ->; - -template<typename T, typename Desc> -using ParticleGroups = Tuple< - ParticleSpheroidGroup<T,Desc> + particle_amount, + coll::Spheroid<T> >; - - } template<typename T, typename Desc> @@ -186,9 +179,6 @@ saw::error_or<void> step( for(uint64_t i = 0u; i < Desc::D; ++i){ index.at({{i}}).set(idx[i]); } - - // Reset the force to zero - forces.at(index) = {}; }); }).wait(); |
