From 3700a2bdc86a5c56a4051bc5262878e0858306e8 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 3 Jun 2026 20:23:27 +0200 Subject: Dangling --- examples/settling_spheres_2d_hlbm_gpu/sim.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/settling_spheres_2d_hlbm_gpu') diff --git a/examples/settling_spheres_2d_hlbm_gpu/sim.cpp b/examples/settling_spheres_2d_hlbm_gpu/sim.cpp index eb3f377..a004a92 100644 --- a/examples/settling_spheres_2d_hlbm_gpu/sim.cpp +++ b/examples/settling_spheres_2d_hlbm_gpu/sim.cpp @@ -74,7 +74,7 @@ template saw::error_or setup_initial_conditions( saw::data>& fields, saw::data>& macros, - saw::data>& particles + saw::data>& p_group ){ auto& info_f = fields.template get<"info">(); // Set everything as walls @@ -207,8 +207,6 @@ saw::error_or step( auto& p_rot = pirb.template get<"rotation">(); auto& p_acc = pirb.template get<"acceleration">(); - - saw::data> delta_t; delta_t.at({}).set(1.0f); verlet_step_lambda(p,delta_t); @@ -218,7 +216,7 @@ saw::error_or step( // auto coll_ev = q.submit([&](acpp::sycl::handler& h){ // Need nicer things to handle the flow. I see improvement here - component> collision{0.8}; + component> collision{0.8}; component> bb; h.parallel_for(acpp::sycl::range{dim_x,dim_y}, [=](acpp::sycl::id idx){ @@ -236,7 +234,7 @@ saw::error_or step( bb.apply(fields,index,t_i); break; case 2u: - // collision.apply(fields,macros,index,t_i); + collision.apply(fields,macros,index,t_i); break; default: break; @@ -268,7 +266,7 @@ saw::error_or lbm_main(int argc, char** argv){ } auto& lbm_env = eo_lbm_env.get_value(); - auto out_dir = lbm_env.data_dir / "settling_cubes_2d_ibm_gpu"; + auto out_dir = lbm_env.data_dir / "settling_spheres_2d_hlbm_gpu"; { std::error_code ec; -- cgit v1.2.3