From 0d77c9879b4b31b975abc5ce7873b8156e25d24c Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Wed, 7 Oct 2026 18:27:16 +0200 Subject: Redoing stuff and breaking things --- examples/throat_clog_2d/sim.cpp | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'examples/throat_clog_2d/sim.cpp') diff --git a/examples/throat_clog_2d/sim.cpp b/examples/throat_clog_2d/sim.cpp index 9a21a96..26ac26b 100644 --- a/examples/throat_clog_2d/sim.cpp +++ b/examples/throat_clog_2d/sim.cpp @@ -46,9 +46,9 @@ saw::error_or lbm_main(const saw::data& args){ converter conv { // delta_x - {{0.41 / dim_y}}, + {{0.64 / dim_y}}, // delta_t - {{1.067e-4 * 0.5}} + {{1.067e-2}} }; print_lbm_meta(conv,{1e-3},{1e-4},{0.5 * dim_y}); @@ -136,8 +136,7 @@ saw::error_or lbm_main(const saw::data& args){ } sycl_q.wait(); - /* - if(i.get() % 64u == 0u){ + if(i.get() % 256u == 0u){ { auto eov = dev.copy_to_host(lbm_sycl_macro_data,*lbm_macro_data_ptr); if(eov.is_error()){ @@ -145,13 +144,12 @@ saw::error_or lbm_main(const saw::data& args){ } } { - auto eov = write_vtk_file(out_dir,std::string{"stdkr_2d_"}+an.template get<"coupling">().stl_string(),i.get(), *lbm_macro_data_ptr); + auto eov = write_vtk_file(out_dir,std::string{"throat_clog_2d_"}+an.template get<"coupling">().stl_string(),i.get(), *lbm_macro_data_ptr); if(eov.is_error()){ return eov; } } } - */ // Stream sycl_q.submit([&](acpp::sycl::handler& h){ component> stream; -- cgit v1.3.1