summaryrefslogtreecommitdiff
path: root/lib/core/c++/stream.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/core/c++/stream.hpp')
-rw-r--r--lib/core/c++/stream.hpp25
1 files changed, 25 insertions, 0 deletions
diff --git a/lib/core/c++/stream.hpp b/lib/core/c++/stream.hpp
new file mode 100644
index 0000000..d217373
--- /dev/null
+++ b/lib/core/c++/stream.hpp
@@ -0,0 +1,25 @@
+#pragma once
+
+#include "component.hpp"
+
+namespace kel {
+namespace lbm {
+namespace cmpt {
+struct Stream {};
+}
+
+template<typename T, typename Descriptor, typename Encode>
+class component<T,Descriptor, cmpt::Stream, Encode> final {
+private:
+public:
+ static constexpr saw::string_literal name = "streaming";
+ static constexpr saw::string_literal after = "collide";
+ static constexpr saw::string_literal before = "";
+
+ template<typename CellFieldSchema>
+ void apply(const saw::data<CellFieldSchema, Encode>& field, const saw::data<sch::FixedArray<sch::UInt64,Descriptor::D>>& index, saw::data<sch::UInt64> time_step) const {
+
+ }
+};
+}
+}