summaryrefslogtreecommitdiff
path: root/examples/moving_poiseulle_particles_2d_hlbm_gpu
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-13 20:28:53 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-13 20:28:53 +0200
commit6c66e5309dbfdcabb852871eade7e21438375742 (patch)
treeb1f9a2aa183de57074737a6c55c86afee0ffd53a /examples/moving_poiseulle_particles_2d_hlbm_gpu
parent803a5da1eff80d52ec3db2634dfd916c7de8a3a1 (diff)
parent0dcc910d33832e2c5c29a6317467f85accf77aac (diff)
downloadlibs-lbm-6c66e5309dbfdcabb852871eade7e21438375742.tar.gz
Merge branch 'dev'
Diffstat (limited to 'examples/moving_poiseulle_particles_2d_hlbm_gpu')
-rw-r--r--examples/moving_poiseulle_particles_2d_hlbm_gpu/sim.cpp22
1 files changed, 0 insertions, 22 deletions
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<void> setup_initial_conditions(
df_f.get_dims(),
{{1u,1u}}
);
- /* Technically the particle group should handle this case
- iterator<Desc::D>::apply(
- [&](auto& index){
- saw::data<sch::Vector<T,Desc::D>> 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<T>();
- ind_vec.at({{1u}}) = index.at({{1u}}).template cast_to<T>();
-
- 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();
}