From 9a1ee9e0b348f75f5f4f8fb41ea901a0dea02f13 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Tue, 25 Aug 2026 16:49:40 +0200 Subject: Weird things are happening? --- modules/core/c++/fplbm.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/core/c++/fplbm.hpp') diff --git a/modules/core/c++/fplbm.hpp b/modules/core/c++/fplbm.hpp index 840db99..9514c93 100644 --- a/modules/core/c++/fplbm.hpp +++ b/modules/core/c++/fplbm.hpp @@ -93,8 +93,8 @@ public: saw::data> vel = vel_f.at(index); // compute_rho_u(dfs,rho,vel); - vel = vel + force * half / rho; auto eq = equilibrium(rho,vel); + vel = vel + force * half / rho; using dfi = df_info; @@ -206,8 +206,7 @@ public: // vel_s is technically time the density of the particle? - force = ( vel_s * rho - vel * rho ) * rho * flip_por; - // force = ( vel_s * rho - vel * rho ) * flip_por; + force = ( vel_s * rho - vel * rho ) * flip_por; // force = ( vel_s * rho - vel * rho ) /* (two / three) */ * flip_por; force_p = force_p - force; -- cgit v1.2.3