diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-06-25 00:01:06 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-06-25 00:01:06 +0200 |
| commit | 3403b07823d9f1ade288ff8c6a6774c81c63c262 (patch) | |
| tree | 2d02c5c96316c689977aac2d25a1c4796148aea6 /examples | |
| parent | 573bfdc0bbffdb1d68259bc348e36d57471d56be (diff) | |
| download | libs-lbm-3403b07823d9f1ade288ff8c6a6774c81c63c262.tar.gz | |
Ok, mixing up the use of old and new dfs
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/cavity_2d.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/cavity_2d.cpp b/examples/cavity_2d.cpp index bb6c6d8..c409165 100644 --- a/examples/cavity_2d.cpp +++ b/examples/cavity_2d.cpp @@ -244,7 +244,7 @@ void lbm_step( using dfi = df_info<sch::T,sch::D2Q9>; /** - * Relaxation parameter \tau + * 1. Relaxation parameter \tau */ component<sch::T, sch::D2Q9, cmpt::BGK> coll{0.5384}; @@ -261,7 +261,7 @@ void lbm_step( switch(info({0u}).get()){ case 1u: { - coll.apply(latt, {{i,j}}, time_step); + coll.apply(latt, {{i,j}}, time_step+1u); } break; } } |
