diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-27 21:54:03 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-27 21:54:03 +0200 |
| commit | f8071e48dcafc4ecefcfdaece2feeebe4d7c8bf6 (patch) | |
| tree | cd339b39b404fc2da389f9f8e67ec15cf2d293f8 /examples/poiseulle_particles_2d_gpu/init.hpp | |
| parent | b6f536a44152aa93c697fbeda49500f722c9bcd5 (diff) | |
| parent | a826f7d9d4bb48565036dd665cb4c6a54622010d (diff) | |
| download | libs-lbm-f8071e48dcafc4ecefcfdaece2feeebe4d7c8bf6.tar.gz | |
Merge branch 'dev'
Diffstat (limited to 'examples/poiseulle_particles_2d_gpu/init.hpp')
| -rw-r--r-- | examples/poiseulle_particles_2d_gpu/init.hpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/examples/poiseulle_particles_2d_gpu/init.hpp b/examples/poiseulle_particles_2d_gpu/init.hpp index 617b296..cdce25e 100644 --- a/examples/poiseulle_particles_2d_gpu/init.hpp +++ b/examples/poiseulle_particles_2d_gpu/init.hpp @@ -5,8 +5,8 @@ namespace kel { namespace lbm { -template<typename T, typename Desc> -saw::error_or<void> setup_initial_conditions( +template<typename T, typename Desc, typename Coll> +saw::error_or<void> init( const converter<T>& conv, saw::data<sch::ChunkStruct<T,Desc>>& fields, saw::data<sch::MacroStruct<T,Desc>>& macros, @@ -117,7 +117,7 @@ saw::error_or<void> setup_initial_conditions( radius_p.at({}).set(2); saw::data<sch::Scalar<T>> dense_p; dense_p.at({}).set(1); - particles = create_spheroid_particle_group<T,Desc::D>(radius_p, dense_p, {{16u}}); + particles = create_spheroid_particle_group<T,Desc::D,1u>(radius_p, dense_p, {{16u}}); } return saw::make_void(); |
