From 1dda51f5a95d7dc6e8bcf617f53cb763753db0a7 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sat, 11 Jul 2026 17:17:22 +0200 Subject: moving test --- .../moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp | 22 ---------------------- 1 file changed, 22 deletions(-) (limited to 'examples/moving_poiseulle_particles_2d_hlbm_gpu') diff --git a/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp b/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp index ce93d3e..daa397a 100644 --- a/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp +++ b/examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp @@ -144,28 +144,6 @@ saw::error_or setup_initial_conditions( df_f.get_dims(), {{1u,1u}} ); - /* Technically the particle group should handle this case - iterator::apply( - [&](auto& index){ - saw::data> middle, ind_vec; - middle.at({{0u}}) = dim_x * 0.25; - middle.at({{1u}}) = dim_y * 0.5; - - ind_vec.at({{0u}}) = index.at({{0u}}).template cast_to(); - ind_vec.at({{1u}}) = index.at({{1u}}).template cast_to(); - - auto dist = middle - ind_vec; - auto dist_2 = saw::math::dot(dist,dist); - if(dist_2.at({}).get() < dim_y*dim_y*0.01){ - porous_f.at(index).at({}) = 0.0; - } - }, - {},// 0-index - df_f.get_dims() - ); - */ - - return saw::make_void(); } -- cgit v1.2.3