diff options
Diffstat (limited to 'c++/collision.hpp')
-rw-r--r-- | c++/collision.hpp | 12 |
1 files changed, 9 insertions, 3 deletions
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<typename T> -class component<T, cmpt::BGK> { +template<typename T, typename Descriptor> +class component<T, Descriptor, cmpt::BGK> { 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<sch::CellField>& field){ + + } }; } } |