summaryrefslogtreecommitdiff
path: root/examples/throat_clog_2d/common.hpp
diff options
context:
space:
mode:
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>>;
}
}