summaryrefslogtreecommitdiff
path: root/c++/lattice.h
blob: 86c643c99d5a3ecba95474d1ebd9edf43c9562fe (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#pragma once

#include <forstio/codec/schema.h>

namespace kel {
namespace lbm {
namespace schema {
using namespace saw::schema;

template<typename T, uint16_t D, uint16_t Q>
using Lattice = Array<FixedArray<T,Q>,D>;

template<typename T, uint16_t Q>
using Lattice2D = Lattice<T,2,Q>;

template<typename T, uint16_t Q>
using Lattice3D = Lattice<T,3,Q>;
}
}
}