diff options
Diffstat (limited to 'c++/lattice.h')
-rw-r--r-- | c++/lattice.h | 19 |
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>; +} +} +} +} |