diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-24 19:02:51 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-24 19:02:51 +0200 |
| commit | f5d88c1ae8948724f11d30c1c2af385cc093eed2 (patch) | |
| tree | a24722d5cb8ba929e15fd2120bc40c7bb2dd699e /modules/core/c++/fplbm.hpp | |
| parent | 2b153a0e0263e5a76550b15382e2609f7b5a5d41 (diff) | |
| download | libs-lbm-f5d88c1ae8948724f11d30c1c2af385cc093eed2.tar.gz | |
Fixing FpLBM, because I messed up guo forcing
Diffstat (limited to 'modules/core/c++/fplbm.hpp')
| -rw-r--r-- | modules/core/c++/fplbm.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/core/c++/fplbm.hpp b/modules/core/c++/fplbm.hpp index c9ed6e9..d8c075b 100644 --- a/modules/core/c++/fplbm.hpp +++ b/modules/core/c++/fplbm.hpp @@ -92,7 +92,7 @@ public: auto& force_f = macros.template get<"force">(); auto& force = force_f.at(index); - vel = vel + force * half; + vel = vel + force * half / rho; // compute_rho_u<T,Descriptor>(dfs,rho,vel); auto eq = equilibrium<T,Descriptor>(rho,vel); |
