diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-05 18:05:18 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-05 18:05:18 +0100 |
| commit | b79e5cf1a3c07cad4edcad2c909318a5a5b6115e (patch) | |
| tree | f24cb550eb395131ab1e89b175e802490f46dbd3 /lib/core/c++/boundary.hpp | |
| parent | f51a1e9bac0e815f4c6567f80831172e26e5f836 (diff) | |
| download | libs-lbm-b79e5cf1a3c07cad4edcad2c909318a5a5b6115e.tar.gz | |
Fixing boundary conditions
Diffstat (limited to 'lib/core/c++/boundary.hpp')
| -rw-r--r-- | lib/core/c++/boundary.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/core/c++/boundary.hpp b/lib/core/c++/boundary.hpp index ec16edf..6d83c79 100644 --- a/lib/core/c++/boundary.hpp +++ b/lib/core/c++/boundary.hpp @@ -117,7 +117,7 @@ public: for(saw::data<sch::UInt64> k{0u}; k < saw::data<sch::UInt64>{Descriptor::Q}; ++k){ auto c_k = dfi::directions[k.get()]; - if(c_k[0u]*known_dir > 0){ + if(c_k[0u]*known_dir < 0){ sum_unknown_dfs += dfs_old.at({k}) * c_k[0u]; } } |
