summaryrefslogtreecommitdiff
path: root/examples/moving_poiseulle_particles_2d_fplbm_gpu
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-30 21:27:06 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-30 21:27:06 +0200
commitea3564475a0e8431c553fb34d4b680e05c451c8a (patch)
treef902e06419efc0175aca4c6fd5fc390650724182 /examples/moving_poiseulle_particles_2d_fplbm_gpu
parent87b0148bb6814171983b537a456f7b5004833529 (diff)
downloadlibs-lbm-ea3564475a0e8431c553fb34d4b680e05c451c8a.tar.gz
Turns out, you need to reference the data type you retrieve ._.
Diffstat (limited to 'examples/moving_poiseulle_particles_2d_fplbm_gpu')
-rw-r--r--examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp b/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp
index 42495c6..f6c09e9 100644
--- a/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp
+++ b/examples/moving_poiseulle_particles_2d_fplbm_gpu/sim.cpp
@@ -134,7 +134,7 @@ saw::error_or<void> init(
}
},
{},// 0-index
- df_f.get_dims()
+ dfs_f.get_dims()
);
saw::data<sch::Scalar<T>> rad;
@@ -350,7 +350,7 @@ saw::error_or<void> lbm_main(int argc, char** argv){
auto lsdm_view = make_view(lbm_sycl_macro_data);
auto lsdp_view = make_view(lbm_sycl_parts_data);
- saw::data<sch::UInt64> time_steps{16u*4096ul};
+ saw::data<sch::UInt64> time_steps{32u*2048ul};
auto& info_f = lsd_view.template get<"info">();
for(saw::data<sch::UInt64> i{0u}; i < time_steps and krun; ++i){