diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-09 11:21:55 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-09 11:21:55 +0100 |
| commit | 6b10cae1ffa2521ce3c7e6aec85513a24d25934b (patch) | |
| tree | 97f9b3662df3d689da2a21d68723a60cceeb6b54 /lib/core/c++/collision.hpp | |
| parent | 22659a4a4af8be137bcd702b89f1f44cd0fe2455 (diff) | |
| download | libs-lbm-6b10cae1ffa2521ce3c7e6aec85513a24d25934b.tar.gz | |
Set equilibrium boundary for sim
Diffstat (limited to 'lib/core/c++/collision.hpp')
| -rw-r--r-- | lib/core/c++/collision.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/c++/collision.hpp b/lib/core/c++/collision.hpp index a05e263..6c39646 100644 --- a/lib/core/c++/collision.hpp +++ b/lib/core/c++/collision.hpp @@ -52,8 +52,8 @@ public: // auto& dfs_f = (is_even) ? field.template get<"dfs">() : field.template get<"dfs_old">(); auto& dfs_old_f = (is_even) ? field.template get<"dfs_old">() : field.template get<"dfs">(); - saw::data<T> rho; - saw::data<sch::FixedArray<T,Descriptor::D>> vel; + saw::data<sch::Scalar<T>> rho; + saw::data<sch::Vector<T,Descriptor::D>> vel; compute_rho_u<T,Descriptor>(dfs_old_f.at(index),rho,vel); auto eq = equilibrium<T,Descriptor>(rho,vel); |
