diff options
| author | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-30 19:08:54 +0100 |
|---|---|---|
| committer | Claudius "keldu" Holeksa <mail@keldu.de> | 2026-01-30 19:09:36 +0100 |
| commit | a7420c5f5f56bb21de0241ed152ad9b55965d42d (patch) | |
| tree | 1688a747ffae42e4c2fe0917ed23e5690a88ca55 /lib/core/c++/stream.hpp | |
| parent | 7dd015e6932c516528a88659163bca17cf43f1cc (diff) | |
| download | libs-lbm-a7420c5f5f56bb21de0241ed152ad9b55965d42d.tar.gz | |
Simulation works partially. Reconfirm with writing data out
Diffstat (limited to 'lib/core/c++/stream.hpp')
| -rw-r--r-- | lib/core/c++/stream.hpp | 25 |
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 { + + } +}; +} +} |
