summaryrefslogtreecommitdiff
path: root/examples/one_particle_sedimentation_2d/sim.cpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2026-09-03 13:42:38 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2026-09-03 13:42:38 +0200
commit576b566d09194e923f73e0aa5a576bfdb5cfe945 (patch)
tree51326d2b3652607325a800d80c4e52cc4ce1f404 /examples/one_particle_sedimentation_2d/sim.cpp
parent8c2e629878ab1c73c73ae92d76e8883ccfa032a2 (diff)
downloadlibs-lbm-576b566d09194e923f73e0aa5a576bfdb5cfe945.tar.gz
Dangling
Diffstat (limited to 'examples/one_particle_sedimentation_2d/sim.cpp')
-rw-r--r--examples/one_particle_sedimentation_2d/sim.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/examples/one_particle_sedimentation_2d/sim.cpp b/examples/one_particle_sedimentation_2d/sim.cpp
index a722fc3..8bf8205 100644
--- a/examples/one_particle_sedimentation_2d/sim.cpp
+++ b/examples/one_particle_sedimentation_2d/sim.cpp
@@ -51,7 +51,8 @@ saw::error_or<void> lbm_main(const saw::data<args::LbmArgs>& args){
{{1.5e-6}}
};
- print_lbm_meta<T,Desc>(conv,{1e-3},{1e-4},{0.02});
+ print_lbm_meta<T,Desc>(conv,{1e-3},{1e-4},{2});
+ std::cout<<"Position: "<<conv.meter_si_to_lbm({{0.01}}).handle().get()<<", "<<conv.meter_si_to_lbm({{0.04}}).handle().get()<<std::endl;
// saw::data<sch::FixedArray<sch::UInt64,Desc::D>> meta{{dim_x,dim_y}};
auto lbm_data_ptr = saw::heap<saw::data<sch::ChunkStruct<T,Desc>>>();