From 24827b7753fcdc6c837301064afe60e3d1df3145 Mon Sep 17 00:00:00 2001 From: "Claudius \"keldu\" Holeksa" Date: Mon, 14 Apr 2025 16:24:56 +0200 Subject: wip. Doing a basic modular design for GPU prep --- c++/collision.hpp | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'c++/collision.hpp') diff --git a/c++/collision.hpp b/c++/collision.hpp index 4e16832..87187c2 100644 --- a/c++/collision.hpp +++ b/c++/collision.hpp @@ -9,16 +9,22 @@ namespace cmpt { struct BGK {}; } -template -class component { +template +class component { public: + using Component = cmpt::BGK; + using access = cmpt::access_tuple< - cmpt::access<"dfs", 0, true, true> + cmpt::access<"dfs", 1, true, true, true> >; static constexpr saw::string_literal name = "collision"; static constexpr saw::string_literal after = ""; static constexpr saw::string_literal before = "streaming"; + + void apply(saw::data& field){ + + } }; } } -- cgit v1.2.3