summaryrefslogtreecommitdiff
path: root/modules/core/c++/hlbm.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-06 16:11:46 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-06 16:11:46 +0200
commit6a11cbfbeb87c7a75dc85bbc9685b3cf1148a635 (patch)
tree0ea2ccb28a2c83cc79f802ba75a803bcd5d927f6 /modules/core/c++/hlbm.hpp
parent4353831172a4f2d1a61a31e2821a8179d88147fb (diff)
downloadlibs-lbm-6a11cbfbeb87c7a75dc85bbc9685b3cf1148a635.tar.gz
Hlbm, remove clearing of porosity
Diffstat (limited to 'modules/core/c++/hlbm.hpp')
-rw-r--r--modules/core/c++/hlbm.hpp3
1 files changed, 0 insertions, 3 deletions
diff --git a/modules/core/c++/hlbm.hpp b/modules/core/c++/hlbm.hpp
index d9fb3de..d57a2e7 100644
--- a/modules/core/c++/hlbm.hpp
+++ b/modules/core/c++/hlbm.hpp
@@ -14,7 +14,6 @@ namespace cmpt {
struct HlbmInit {};
struct Hlbm {};
struct HlbmParticle {};
-
struct HlbmOneParticleMomentumExchange {};
}
@@ -96,7 +95,6 @@ public:
dfs_old_f.at(index).at({i}) = dfs_old_f.at(index).at({i}) + frequency_ * (eq.at(i) - dfs_old_f.at(index).at({i}));
}
- porosity.at({}) = 1.0;
D.at({}) = 0.0;
N = {};
}
@@ -174,7 +172,6 @@ public:
n_ind_i.at({k}) = (dfi::directions[i])[k];
}
-
uint64_t i_opp = dfi::opposite_index[i];
saw::data<T> dfs_added = dfs.at({i}) + dfs_old_f.at(n_ind_i).at({i_opp});