summaryrefslogtreecommitdiff
path: root/modules/core/c++
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-09-07 13:36:54 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-09-07 13:36:54 +0200
commit54dfad7ac102fe40d71d8818d77801160a7073c1 (patch)
tree9d931191117f54f2134b3ad3615e2092870a99ca /modules/core/c++
parent576b566d09194e923f73e0aa5a576bfdb5cfe945 (diff)
downloadlibs-lbm-54dfad7ac102fe40d71d8818d77801160a7073c1.tar.gz
FpLbm two way couple doing weird thingsdev
Diffstat (limited to 'modules/core/c++')
-rw-r--r--modules/core/c++/fplbm.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/c++/fplbm.hpp b/modules/core/c++/fplbm.hpp
index f50cb1b..0ab7903 100644
--- a/modules/core/c++/fplbm.hpp
+++ b/modules/core/c++/fplbm.hpp
@@ -352,7 +352,7 @@ public:
// vel_s is technically time the density of the particle?
- force = ( vel_s - mom) * two * flip_por;
+ force = global_force_ * por + ( vel_s - mom) * two * flip_por;
// force = (vel_s - mom) * flip_por / (flip_por / two + one);
force_p = force_p - force;