summaryrefslogtreecommitdiff
path: root/c++/lattice.h
diff options
context:
space:
mode:
authorClaudius Holeksa <mail@keldu.de>2023-06-19 20:29:35 +0200
committerClaudius Holeksa <mail@keldu.de>2023-06-19 20:31:06 +0200
commit955905b06c5a45adac73631056c9caa758e6d249 (patch)
tree30944e1cd879873a4780ade60337d749b79fa620 /c++/lattice.h
parentcaa36e5cb2be6c0f37ff8cc0c500cc41beec1d42 (diff)
c++,nix: basic setup
Diffstat (limited to 'c++/lattice.h')
-rw-r--r--c++/lattice.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/c++/lattice.h b/c++/lattice.h
new file mode 100644
index 0000000..62752e8
--- /dev/null
+++ b/c++/lattice.h
@@ -0,0 +1,19 @@
+#pragma once
+
+#include <forstio/codec/schema.h>
+
+namespace kel {
+namespace lbm {
+namespace schema {
+template<typename T, size_t D>
+using Lattice = Array<T,D>;
+
+template<typename T>
+using Lattice2D = Lattice<T,2>;
+
+template<typename T>
+using Lattice3D = Lattice<T,3>;
+}
+}
+}
+}