From 571e79c4d0b72202186fd11314cf268723b1844d Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 23 Mar 2026 17:33:05 +0100 Subject: Fixed boundary setting --- lib/core/c++/boundary.hpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'lib/core') diff --git a/lib/core/c++/boundary.hpp b/lib/core/c++/boundary.hpp index 217013d..4dbbdf8 100644 --- a/lib/core/c++/boundary.hpp +++ b/lib/core/c++/boundary.hpp @@ -174,14 +174,13 @@ class component, Encode> final { private: saw::data rho_setting_; public: - component(const saw::data& density_setting__): - rho_setting_{density_setting__} + component(const saw::data& rho_setting__): + rho_setting_{rho_setting__} {} template void apply(const saw::data& field, saw::data> index, saw::data time_step) const { using dfi = df_info; - constexpr int known_dir = Dir ? 1 : -1; bool is_even = ((time_step.get() % 2) == 0); -- cgit v1.2.3