diff options
author | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-03 15:55:22 +0200 |
---|---|---|
committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2025-04-03 15:55:22 +0200 |
commit | 4ffcce338176350465dbd4245ad443b766d196f0 (patch) | |
tree | ef3f7293ae3fb3582bb82d68293c62e026a85ca7 /c++/collision.hpp | |
parent | 6b1a01d1cbf3809ddcf6bfb14c337d89f6f7c2b5 (diff) |
wip
Diffstat (limited to 'c++/collision.hpp')
-rw-r--r-- | c++/collision.hpp | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/c++/collision.hpp b/c++/collision.hpp new file mode 100644 index 0000000..4e16832 --- /dev/null +++ b/c++/collision.hpp @@ -0,0 +1,24 @@ +#pragma once + +#include "component.hpp" +#include "equilibrium.hpp" + +namespace kel { +namespace lbm { +namespace cmpt { +struct BGK {}; +} + +template<typename T> +class component<T, cmpt::BGK> { +public: + using access = cmpt::access_tuple< + cmpt::access<"dfs", 0, true, true> + >; + + static constexpr saw::string_literal name = "collision"; + static constexpr saw::string_literal after = ""; + static constexpr saw::string_literal before = "streaming"; +}; +} +} |