summaryrefslogtreecommitdiff
path: root/c++/collision.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'c++/collision.hpp')
-rw-r--r--c++/collision.hpp24
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";
+};
+}
+}