diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-15 16:56:16 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-15 16:56:16 +0200 |
| commit | 91f75c895fb2c344805ddcb91439b93bba0293c4 (patch) | |
| tree | b12c4854cf7a1912f2540f29b23835c82e47432d /examples/settling_spheres_2d_hlbm_gpu/sim.cpp | |
| parent | 6c66e5309dbfdcabb852871eade7e21438375742 (diff) | |
| parent | aedeb28b41ffbe0229d065c69f7d2e4570968ace (diff) | |
| download | libs-lbm-91f75c895fb2c344805ddcb91439b93bba0293c4.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'examples/settling_spheres_2d_hlbm_gpu/sim.cpp')
| -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(); |
