summaryrefslogtreecommitdiff
path: root/examples/moving_poiseulle_particles_2d_hlbm_gpu
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-06-04 22:21:45 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-06-04 22:21:45 +0200
commit3d021acc9f5283c116d0ec0b5a46d2428e99382c (patch)
tree35249eca67870e211d4db0cb1bea090aa0ca3f71 /examples/moving_poiseulle_particles_2d_hlbm_gpu
parent3700a2bdc86a5c56a4051bc5262878e0858306e8 (diff)
downloadlibs-lbm-3d021acc9f5283c116d0ec0b5a46d2428e99382c.tar.gz
Dangling changes
Diffstat (limited to 'examples/moving_poiseulle_particles_2d_hlbm_gpu')
-rw-r--r--examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp b/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp
index 1b7ec2f..ce93d3e 100644
--- a/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp
+++ b/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp
@@ -55,6 +55,9 @@ using MacroStruct = Struct<
//using ParticleArray = Array<
// Particle<T,Desc::D>
//>;
+
+template<typename T, typename Desc>
+using ParticleSpheroidGroup = ParticleGroup<T,Desc::D,ParticleCollisionSpheroid<T,2.0>>;
}
template<typename T, typename Desc>
@@ -171,7 +174,7 @@ template<typename T, typename Desc>
saw::error_or<void> step(
saw::data<sch::Ptr<sch::ChunkStruct<T,Desc>>,encode::Sycl<saw::encode::Native>>& fields,
saw::data<sch::Ptr<sch::MacroStruct<T,Desc>>,encode::Sycl<saw::encode::Native>>& macros,
- saw::data<sch::ParticleSpheroidGroup<T,Desc>>& particles
+ saw::data<sch::Ptr<sch::ParticleSpheroidGroup<T,Desc>>,encode::Sycl<saw::encode::Native>>& particles
saw::data<sch::UInt64> t_i,
device& dev
){