summaryrefslogtreecommitdiff
path: root/c++/util.hpp
diff options
context:
space:
mode:
authorClaudius "keldu" Holeksa <mail@keldu.de>2025-08-12 17:32:39 +0200
committerClaudius "keldu" Holeksa <mail@keldu.de>2025-08-12 17:32:39 +0200
commita1afab28506cbb52da8229b84a146fbf30c4a4ce (patch)
treee9144143e372ac4f4682c5c50d5fb44c9fec2f0a /c++/util.hpp
parenteec5df246866a4a1008b37fef0a96d4be5fa9c79 (diff)
End of day, building util funcs
Diffstat (limited to 'c++/util.hpp')
-rw-r--r--c++/util.hpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/c++/util.hpp b/c++/util.hpp
new file mode 100644
index 0000000..a215cc1
--- /dev/null
+++ b/c++/util.hpp
@@ -0,0 +1,13 @@
+#pragma once
+
+namespace kel {
+namespace lbm {
+template<typename T, typename Descriptor>
+struct is_neighbour {
+ template<typename CellFieldSchema>
+ static bool operator()(saw::data<CellFieldSchema>& latt, saw::data<sch::FixedArray<sch::UInt64, Descriptor::D>& index, saw::data<sch::UInt64> range) {
+ using dfi = df_info<T,Descriptor>;
+ }
+};
+}
+}