From 2ac145b3bb6d2de3887ab08e0cf26423b5e6c5ee Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 25 Feb 2026 20:33:36 +0100 Subject: Changes to run, reworking meta reporting for easier estimation of runtime parameters --- lib/core/c++/lbm.hpp | 24 +++++++++++++++++++++--- 1 file changed, 21 insertions(+), 3 deletions(-) (limited to 'lib/core/c++/lbm.hpp') diff --git a/lib/core/c++/lbm.hpp b/lib/core/c++/lbm.hpp index 27a7df3..a1e088e 100644 --- a/lib/core/c++/lbm.hpp +++ b/lib/core/c++/lbm.hpp @@ -26,15 +26,33 @@ namespace kel { namespace lbm { template -void print_lbm_meta(const converter& conv, const saw::data>& kin_vis_si){ +void print_lbm_meta( + const converter& conv, + const saw::data>& kin_vis_si, + const saw::data>& char_vel, + const saw::data>& char_len +){ std::cout - <<"[LBM Meta]\n" - <<"==========\n" + <<"[Meta]\n" + <<"======\n" + <<"Re: "<<(char_vel * char_len / kin_vis_si)<<"\n" + <<"Ma: "<<(char_vel * saw::data, sch::SiVelocity>::Schema>{std::sqrt(df_info::inv_cs2)})<<"\n" <<"\n" + <<"[SI]\n" + <<"====\n" <<"Δx: "<, sch::LbmKinematicViscosity>::Schema >{df_info::inv_cs2} * conv.kinematic_viscosity_si_to_lbm(kin_vis_si) + saw::data>{0.5})<<"\n" + <