diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-16 11:25:57 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-16 11:25:57 +0100 |
| commit | 4fd241a9405124d9ac66fe7417bf628273a3762f (patch) | |
| tree | ec7afdf3aadb9b8653ddf64b64d425f9578a8301 | |
| parent | 5f185684f6c3634b699c2bc28197033903d59518 (diff) | |
| download | libs-lbm-4fd241a9405124d9ac66fe7417bf628273a3762f.tar.gz | |
Restructuring
| -rw-r--r-- | examples/poiseulle_particles_2d_gpu/sim.cpp | 4 | ||||
| -rw-r--r-- | lib/core/c++/lbm.hpp | 3 |
2 files changed, 6 insertions, 1 deletions
diff --git a/examples/poiseulle_particles_2d_gpu/sim.cpp b/examples/poiseulle_particles_2d_gpu/sim.cpp index 3e0d874..21ff253 100644 --- a/examples/poiseulle_particles_2d_gpu/sim.cpp +++ b/examples/poiseulle_particles_2d_gpu/sim.cpp @@ -55,8 +55,10 @@ saw::error_or<void> kel_main(int argc, char** argv){ return saw::make_void(); } +using FloatT = kel::sch::Float32; + int main(int argc, char** argv){ - auto eov = kel_main<kel::lbm::sch::T,kel::lbm::sch::D2Q9>(argc, argv); + auto eov = kel_main<FloatT,kel::lbm::sch::D2Q9>(argc, argv); if(eov.is_error()){ auto& err = eov.get_error(); std::cerr<<"[Error] "<<err.get_category(); diff --git a/lib/core/c++/lbm.hpp b/lib/core/c++/lbm.hpp index aff38e9..473ca69 100644 --- a/lib/core/c++/lbm.hpp +++ b/lib/core/c++/lbm.hpp @@ -19,6 +19,9 @@ #include <iostream> namespace kel { +namespace sch { +using namespace saw::schema; +} namespace lbm { template<typename T, typename Desc> void print_lbm_meta(const converter<T>& conv, const saw::data<sch::SiKinematicViscosity<T>>& kin_vis_si){ |
