From 377b6596a9cdfb62a261d2cba4c67be3e9d79244 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 6 Jul 2026 21:50:06 +0200 Subject: Fixing hlbm momentum and fixing the boundary conditions --- modules/core/c++/hlbm.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/core/c++') diff --git a/modules/core/c++/hlbm.hpp b/modules/core/c++/hlbm.hpp index d57a2e7..9a89697 100644 --- a/modules/core/c++/hlbm.hpp +++ b/modules/core/c++/hlbm.hpp @@ -174,7 +174,7 @@ public: uint64_t i_opp = dfi::opposite_index[i]; - saw::data dfs_added = dfs.at({i}) + dfs_old_f.at(n_ind_i).at({i_opp}); + saw::data dfs_added = dfs.at({i}) - dfs_old_f.at(n_ind_i).at({i_opp}); saw::data> dfs_added_v; dfs_added_v.at({}) = dfs_added; auto ei_dfs = e_i * dfs_added_v; -- cgit v1.2.3