From c59aeef2e0c86ec3f0f34ce77c205f3ef0b034cc Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Sun, 8 Nov 2026 22:04:06 +0100 Subject: Abstract move. Forstio independence --- modules/core/tests/equilibrium.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'modules/core/tests/equilibrium.cpp') diff --git a/modules/core/tests/equilibrium.cpp b/modules/core/tests/equilibrium.cpp index 7d36600..ad11699 100644 --- a/modules/core/tests/equilibrium.cpp +++ b/modules/core/tests/equilibrium.cpp @@ -11,15 +11,15 @@ void check_equilibrium(){ using dfi = lbm::df_info; - saw::data> rho; + kel::lbm::data> rho; rho.at({}).set(1.0); - saw::data> vel; - for(saw::data i{0u}; i.get() < Descriptor::D; ++i){ + kel::lbm::data> vel; + for(kel::lbm::data i{0u}; i.get() < Descriptor::D; ++i){ vel.at({{i}}) = {0.0}; } auto eq = lbm::equilibrium(rho,vel); - for(saw::data i{0u}; i.get() < Descriptor::Q; ++i){ + for(kel::lbm::data i{0u}; i.get() < Descriptor::Q; ++i){ SAW_EXPECT(eq.at(i).get() == dfi::weights[i.get()], std::string{"No momentum and normalized rho should be exactly the weights: "} + std::to_string(eq.at(i).get()) + std::string{" "} + std::to_string(dfi::weights[i.get()])); } } -- cgit v1.3.1