diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-30 21:27:06 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-07-30 21:27:06 +0200 |
| commit | ea3564475a0e8431c553fb34d4b680e05c451c8a (patch) | |
| tree | f902e06419efc0175aca4c6fd5fc390650724182 /examples/poiseulle_particles_2d_gpu/sim.cpp | |
| parent | 87b0148bb6814171983b537a456f7b5004833529 (diff) | |
| download | libs-lbm-ea3564475a0e8431c553fb34d4b680e05c451c8a.tar.gz | |
Turns out, you need to reference the data type you retrieve ._.
Diffstat (limited to 'examples/poiseulle_particles_2d_gpu/sim.cpp')
| -rw-r--r-- | examples/poiseulle_particles_2d_gpu/sim.cpp | 4 |
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; |
