summaryrefslogtreecommitdiff
path: root/examples/throat_clog_2d/common.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-10-09 13:24:17 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-10-09 13:24:17 +0200
commit7095c698f5c5b7e960db9f9347501b8628f94dac (patch)
tree3e8a906785412bab1fbe1c31f8e482bab07f2378 /examples/throat_clog_2d/common.hpp
parent960c47db8004e12ac49d915116c86945f746a2a8 (diff)
downloadlibs-lbm-7095c698f5c5b7e960db9f9347501b8628f94dac.tar.gz
Trying to fix things
Diffstat (limited to 'examples/throat_clog_2d/common.hpp')
-rw-r--r--examples/throat_clog_2d/common.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/throat_clog_2d/common.hpp b/examples/throat_clog_2d/common.hpp
index 4a1e211..6cc41a3 100644
--- a/examples/throat_clog_2d/common.hpp
+++ b/examples/throat_clog_2d/common.hpp
@@ -22,7 +22,7 @@ namespace lbm {
*/
constexpr uint64_t dim_y = 64ul;
-constexpr uint64_t dim_x = static_cast<uint64_t>(dim_y * (256.0 / 64.0));
+constexpr uint64_t dim_x = dim_y * 4ul;
constexpr uint64_t particle_amount = 1ul;
@@ -64,7 +64,7 @@ using MacroStruct = Struct<
>;
template<typename T, typename Desc>
-using ParticleSpheroidGroup = ParticleGroup<T,Desc::D,1u,coll::Spheroid<T>>;
+using ParticleSpheroidGroup = ParticleGroup<T,Desc::D,particle_amount,coll::Spheroid<T>>;
}
}