From b0a68aba927aaafc97816d18b50b219a595b4dd2 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 18 Apr 2025 16:35:52 +0200 Subject: Compileable state --- c++/macroscopic.hpp | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'c++/macroscopic.hpp') diff --git a/c++/macroscopic.hpp b/c++/macroscopic.hpp index 608b89e..43c727b 100644 --- a/c++/macroscopic.hpp +++ b/c++/macroscopic.hpp @@ -1,18 +1,20 @@ #pragma once +#include "descriptor.hpp" + namespace kel { namespace lbm { /** * Calculate the macroscopic variables rho and u in Lattice Units. */ -template +template void compute_rho_u ( - const saw::data>& dfs, - typename saw::native_data_type::type& rho, - std::array::type, 2>& vel + saw::data>& dfs, + typename saw::native_data_type::type& rho, + std::array::type, 2>& vel ) { - using dfi = df_info; + using dfi = df_info; rho = 0; std::fill(vel.begin(), vel.end(), 0); -- cgit v1.2.3