diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-17 18:29:22 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-02-17 18:29:22 +0100 |
| commit | dcee24278ed28d21cd3addffeeb8e5f9f7248602 (patch) | |
| tree | d590ede2996f04f69e2c4521019ae5b1bedd05df /lib/core/c++/equilibrium.hpp | |
| parent | bb90083ca62483a1cf0e1b72dfb96e05701035ef (diff) | |
| download | libs-lbm-dcee24278ed28d21cd3addffeeb8e5f9f7248602.tar.gz | |
Diffstat (limited to 'lib/core/c++/equilibrium.hpp')
| -rw-r--r-- | lib/core/c++/equilibrium.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/core/c++/equilibrium.hpp b/lib/core/c++/equilibrium.hpp index 7d1324e..eb2b043 100644 --- a/lib/core/c++/equilibrium.hpp +++ b/lib/core/c++/equilibrium.hpp @@ -9,6 +9,7 @@ saw::data<sch::FixedArray<T, Descriptor::Q>> equilibrium(saw::data<sch::Scalar<T using dfi = df_info<T, Descriptor>; saw::data<sch::FixedArray<T,Descriptor::Q>> eq; + // Brain broken, here's an owl // ^ // 0.0 // / \ @@ -23,7 +24,7 @@ saw::data<sch::FixedArray<T, Descriptor::Q>> equilibrium(saw::data<sch::Scalar<T /** * Calculate equilibrium */ - for(uint64_t i = 0u; i < eq.template get_dim_size<0u>(); ++i){ + for(uint64_t i = 0u; i < Descriptor::Q; ++i){ saw::data<T> vel_c{}; for(uint64_t j = 0u; j < Descriptor::D; ++j){ // <vel,c_i>_2 |
