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 /examples | |
parent | 56df73013f58a217550ef1510083e249cec05d95 (diff) |
Add unit printing and removed type from delta type
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cavity_2d.cpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/examples/cavity_2d.cpp b/examples/cavity_2d.cpp index 55223a4..f1e2f51 100644 --- a/examples/cavity_2d.cpp +++ b/examples/cavity_2d.cpp @@ -1,5 +1,6 @@ #include "../c++/descriptor.hpp" #include "../c++/macroscopic.hpp" +#include "../c++/lbm.hpp" /** */ @@ -371,7 +372,14 @@ int main(){ saw::data<sch::CavityFieldD2Q9, saw::encode::Native> lattice{dim}; - // auto& df_field = lattices.at(0).template get<"dfs">(); + converter<sch::T> conv{ + {0.1}, + {0.1} + }; + + print_lbm_meta(conv); + + //auto& df_field = lattices.at(0).template get<"dfs">(); //for(uint64_t i = 0; i < df_field.get_dim_size<0u>(); ++i){ // lattices.at(i) = {dim_x, dim_y}; //} @@ -380,6 +388,7 @@ int main(){ * Set meta information describing what this cell is */ set_geometry(lattice); + /** * */ |