summaryrefslogtreecommitdiff
path: root/examples/stokes_drag_particle_2d_fplbm_gpu
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-06 16:27:52 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-06 16:27:52 +0200
commitec19b2e871133bc8c2f2c75d09000c4865acfde2 (patch)
tree96a257ccd844e69a083215586fdab80688aef021 /examples/stokes_drag_particle_2d_fplbm_gpu
parent6a11cbfbeb87c7a75dc85bbc9685b3cf1148a635 (diff)
downloadlibs-lbm-ec19b2e871133bc8c2f2c75d09000c4865acfde2.tar.gz
Fixing the particle size in fplbm
Diffstat (limited to 'examples/stokes_drag_particle_2d_fplbm_gpu')
-rw-r--r--examples/stokes_drag_particle_2d_fplbm_gpu/sim.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/stokes_drag_particle_2d_fplbm_gpu/sim.cpp b/examples/stokes_drag_particle_2d_fplbm_gpu/sim.cpp
index 78e7ba5..0a9b2fb 100644
--- a/examples/stokes_drag_particle_2d_fplbm_gpu/sim.cpp
+++ b/examples/stokes_drag_particle_2d_fplbm_gpu/sim.cpp
@@ -206,7 +206,7 @@ saw::error_or<void> step(
saw::data<sch::Scalar<T>> eps;
eps.at({}).set(1.5f);
saw::data<sch::Scalar<T>> rad;
- rad.at({}).set(dim_y*0.1);
+ rad.at({}).set(dim_y*0.1/4.0);
saw::data<sch::Vector<T,Desc::D>> p_pos;
{
p_pos.at({{0u}}) = dim_x * 0.5;