summaryrefslogtreecommitdiff
path: root/examples/poiseulle_particles_2d_gpu
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-07-30 22:00:25 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-07-30 22:00:25 +0200
commita5c654598544f2a33289664ba73a77343d301ce2 (patch)
treef902e06419efc0175aca4c6fd5fc390650724182 /examples/poiseulle_particles_2d_gpu
parentf8071e48dcafc4ecefcfdaece2feeebe4d7c8bf6 (diff)
parentea3564475a0e8431c553fb34d4b680e05c451c8a (diff)
downloadlibs-lbm-a5c654598544f2a33289664ba73a77343d301ce2.tar.gz
Merge branch 'dev'
Diffstat (limited to 'examples/poiseulle_particles_2d_gpu')
-rw-r--r--examples/poiseulle_particles_2d_gpu/sim.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/examples/poiseulle_particles_2d_gpu/sim.cpp b/examples/poiseulle_particles_2d_gpu/sim.cpp
index fd6cdca..f5b49e9 100644
--- a/examples/poiseulle_particles_2d_gpu/sim.cpp
+++ b/examples/poiseulle_particles_2d_gpu/sim.cpp
@@ -25,6 +25,8 @@ template<typename T, typename Desc, typename Coll>
saw::error_or<void> lbm_main(const saw::data<args::LbmArgs>& args){
using namespace kel::lbm;
+ auto& an = args.template get<"args">();
+
using dfi = df_info<T,Desc>;
auto eo_lbm_dir = output_directory();
@@ -33,7 +35,7 @@ saw::error_or<void> lbm_main(const saw::data<args::LbmArgs>& args){
}
auto& lbm_dir = eo_lbm_dir.get_value();
- auto out_dir = lbm_dir / "poiseulle_particles_2d_gpu" / "hlbm";
+ auto out_dir = lbm_dir / "poiseulle_particles_2d_gpu" / an.template get<"coupling">().stl_view();
{
std::error_code ec;