summaryrefslogtreecommitdiff
path: root/c++/util.hpp
diff options
context:
space:
mode:
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>;
+ }
+};
+}
+}