From 2e7350d8249621543e68497b9b295e5cbf1b862a Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Thu, 31 Jul 2025 17:59:54 +0200 Subject: Moving files to proper rename --- examples/poiseulle_particles_channel_2d.cpp | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'examples/poiseulle_particles_channel_2d.cpp') diff --git a/examples/poiseulle_particles_channel_2d.cpp b/examples/poiseulle_particles_channel_2d.cpp index edead49..5052074 100644 --- a/examples/poiseulle_particles_channel_2d.cpp +++ b/examples/poiseulle_particles_channel_2d.cpp @@ -280,10 +280,10 @@ void set_initial_conditions(saw::data& latt){ }, {{0u,0u}}, meta); } -void add_particles(kel::lbm::particle_system& part_sys){ +void add_particles(kel::lbm::particle_system& part_sys){ + using namespace kel::lbm; saw::data> part; - auto& p_mask = part.template get<"mask">(); { particle_circle_geometry geo; @@ -312,9 +312,10 @@ void add_particles(kel::lbm::particle_system& part_sys){ void couple_particles_to_lattice( kel::lbm::particle_system& part_sys, saw::data& latt, - saw::data,sch::D2Q9::D>>& macros, - saw::data time_step + saw::data,kel::lbm::sch::D2Q9::D>>& macros, + saw::data time_step ){ + using namespace kel::lbm; iterate_over([&](const saw::data>& index){ auto& cell = latt(index); auto& info = cell.template get<"info">(); @@ -464,7 +465,7 @@ int main(int argc, char** argv){ return -1; } auto& lbm_dir = eo_lbm_dir.get_value(); - auto out_dir = lbm_dir / "poiseulle_channel_2d"; + auto out_dir = lbm_dir / "poiseulle_particles_channel_2d"; std::string_view cfg_file_name = "config.json"; if(argc > 1){ -- cgit v1.2.3