summaryrefslogtreecommitdiff
path: root/modules/core/c++/fplbm.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-08-05 17:13:19 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-08-05 17:13:19 +0200
commita0767a86817055744230239284441fdbb024fab5 (patch)
treeea958f763e49f4a3a861c4436756694cd983bc97 /modules/core/c++/fplbm.hpp
parent80deace4d4b2c93945feeec42a8269f3ba2443d2 (diff)
downloadlibs-lbm-a0767a86817055744230239284441fdbb024fab5.tar.gz
WOrking on psm 2way
Diffstat (limited to 'modules/core/c++/fplbm.hpp')
-rw-r--r--modules/core/c++/fplbm.hpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/core/c++/fplbm.hpp b/modules/core/c++/fplbm.hpp
index 4acdd36..1f38f51 100644
--- a/modules/core/c++/fplbm.hpp
+++ b/modules/core/c++/fplbm.hpp
@@ -208,7 +208,7 @@ public:
pirb_acc = force_p / pg.template get<"total_mass">().at({});
for(saw::data<sch::UInt64> i{0u}; i < sub_steps; ++i){
- //verlet_step_lambda<T,Descriptor::D>(pi,sss);
+ verlet_step_lambda<T,Descriptor::D>(pi,sss);
}
}
};
@@ -286,8 +286,7 @@ public:
// vel_s is technically time the density of the particle?
- force = ( vel_s * rho - vel * rho ) * flip_por / (one + flip_por / two);
- // force = ( vel_s * rho - vel * rho ) * two * flip_por;
+ force = ( vel_s * rho - vel * rho ) * two * flip_por / (one + flip_por);
force_p = force_p - force;
}, aabb.template get<"a">(), aabb.template get<"b">());