From 25c85bf962e0646f8e03f67fd4982450f41ee6a6 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Fri, 6 Mar 2026 21:05:36 +0100 Subject: Work finished for this week --- lib/core/c++/boundary.hpp | 30 +++++++++++++++++++++++++++++- 1 file changed, 29 insertions(+), 1 deletion(-) (limited to 'lib/core/c++/boundary.hpp') diff --git a/lib/core/c++/boundary.hpp b/lib/core/c++/boundary.hpp index d5f3022..9afdfd7 100644 --- a/lib/core/c++/boundary.hpp +++ b/lib/core/c++/boundary.hpp @@ -14,7 +14,10 @@ struct ZouHeHorizontal{}; struct Equilibrium {}; template -struct ZouHeVertical{}; +struct ZouHePressureY{}; + +template +struct ZouHeVelocityX {}; } /** @@ -167,5 +170,30 @@ public: } } }; + +/* +template +class component, Encode> final { +private: + saw::data> velocity_; +public: + component( + saw::data> velocity__ + ): + velocity_{velocity__} + {} + + template + void apply(const saw::data& field, const saw::data>& index, saw::data time_step) const { + + bool is_even = ((time_step.get() % 2u) == 0u); + using dfi = df_info; + + auto& dfs_old_f = (is_even) ? field.template get<"dfs_old">() : field.template get<"dfs">(); + + } +}; +*/ + } } -- cgit v1.2.3