diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-20 17:30:52 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-20 17:30:52 +0200 |
commit | 15a0453cf45066f3d88db783b08ce266af59230f (patch) | |
tree | f496d9e4263c2724e7795a66bb22313891894301 /c++/lbm.hpp | |
parent | 56df73013f58a217550ef1510083e249cec05d95 (diff) |
Add unit printing and removed type from delta type
Diffstat (limited to 'c++/lbm.hpp')
-rw-r--r-- | c++/lbm.hpp | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/c++/lbm.hpp b/c++/lbm.hpp new file mode 100644 index 0000000..ddfa948 --- /dev/null +++ b/c++/lbm.hpp @@ -0,0 +1,23 @@ +#pragma once + +#include "descriptor.hpp" +#include "converter.hpp" + +#include <forstio/codec/unit/unit_print.hpp> +#include <iostream> + +namespace kel { +namespace lbm { +template<typename T> +void print_lbm_meta(const converter<T>& conv){ + std::cout + <<"[LBM Meta]\n" + <<"==========\n" + <<"\n" + <<"Δx: "<<conv.delta_x()<<"\n" + <<"Δt: "<<conv.delta_t()<<"\n" + <<"" + ; +} +} +} |