diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-13 13:11:05 +0200 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-08-13 13:11:05 +0200 |
| commit | 7220084ddae1f4c6007f5111913cb7f87a794657 (patch) | |
| tree | ab118dcda72d3fc85fb8087617705d76b647f62d /modules/core/c++/collision.hpp | |
| parent | 919f5a625c5efeea94c0dd0de5039a27e77d3fac (diff) | |
| download | libs-lbm-7220084ddae1f4c6007f5111913cb7f87a794657.tar.gz | |
Renaming velocity to momentum. for now
Diffstat (limited to 'modules/core/c++/collision.hpp')
| -rw-r--r-- | modules/core/c++/collision.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/core/c++/collision.hpp b/modules/core/c++/collision.hpp index 023f61f..39514b8 100644 --- a/modules/core/c++/collision.hpp +++ b/modules/core/c++/collision.hpp @@ -75,7 +75,7 @@ public: auto& dfs_old_f = (is_even) ? field.template get<"dfs_old">() : field.template get<"dfs">(); auto& rho_f = macros.template get<"density">(); - auto& vel_f = macros.template get<"velocity">(); + auto& vel_f = macros.template get<"momentum">(); saw::data<sch::Scalar<T>>& rho = rho_f.at(index); saw::data<sch::Vector<T,Descriptor::D>>& vel = vel_f.at(index); @@ -135,7 +135,7 @@ public: auto& dfs = dfs_old_f.at(index); auto& rho_f = macros.template get<"density">(); - auto& vel_f = macros.template get<"velocity">(); + auto& vel_f = macros.template get<"momentum">(); saw::data<sch::Scalar<T>>& rho = rho_f.at(index); |
