From 0c0087ef9482634273ec1a23d3a915754f94926d Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 11 Nov 2026 01:16:44 +0100 Subject: Snapshot. Migration to Lbm Unit --- examples/feature_development/common.hpp | 2 +- examples/feature_development/init.hpp | 4 ++-- examples/feature_development/sim.cpp | 4 ++-- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'examples/feature_development') diff --git a/examples/feature_development/common.hpp b/examples/feature_development/common.hpp index 6806b2c..e5274c2 100644 --- a/examples/feature_development/common.hpp +++ b/examples/feature_development/common.hpp @@ -48,7 +48,7 @@ using RhoChunk = Chunk, 0u, dim_x, dim_y>; template using MacroStruct = Struct< - Member, "momentum">, + Member, "velocity">, Member, "density">, Member, "porosity"> >; diff --git a/examples/feature_development/init.hpp b/examples/feature_development/init.hpp index a61ef37..333e9a3 100644 --- a/examples/feature_development/init.hpp +++ b/examples/feature_development/init.hpp @@ -57,7 +57,7 @@ kel::lbm::error_or init( // auto& df_f = fields.template get<"dfs_old">(); auto& rho_f = macros.template get<"density">(); - auto& vel_f = macros.template get<"momentum">(); + auto& vel_f = macros.template get<"velocity">(); auto& por_f = macros.template get<"porosity">(); iterator::apply( @@ -113,7 +113,7 @@ kel::lbm::error_or init( ); { - kel::lbm::data> radius_p; + kel::lbm::data>> radius_p; radius_p.at({}).set(2); kel::lbm::data> dense_p; dense_p.at({}).set(1); diff --git a/examples/feature_development/sim.cpp b/examples/feature_development/sim.cpp index e852313..34ad5e3 100644 --- a/examples/feature_development/sim.cpp +++ b/examples/feature_development/sim.cpp @@ -46,9 +46,9 @@ kel::lbm::error_or lbm_main(const kel::lbm::data& args){ converter conv { // delta_x - {{1.0}}, + {1.0}, // delta_t - {{1.0}} + {1.0} }; print_lbm_meta(conv,{0.1},{1e-4},{0.4 * dim_y}); -- cgit v1.3.1