summaryrefslogtreecommitdiff
path: root/c++/lbm.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-04-20 17:30:52 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-04-20 17:30:52 +0200
commit15a0453cf45066f3d88db783b08ce266af59230f (patch)
treef496d9e4263c2724e7795a66bb22313891894301 /c++/lbm.hpp
parent56df73013f58a217550ef1510083e249cec05d95 (diff)
Add unit printing and removed type from delta type
Diffstat (limited to 'c++/lbm.hpp')
-rw-r--r--c++/lbm.hpp23
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"
+ <<""
+ ;
+}
+}
+}