#pragma once #include namespace kel { namespace lbm { namespace schema { using namespace saw::schema; template struct Descriptor {}; template using CellType = FixedArray; /** * T... is restricted to Member schemas */ template using CellData = Struct< CellT... >; /** * T is an array of CellData */ template using Lattice = Array; } template class df_info{}; template class df_info> { static constexpr std::array, 5> directions = { { 0, 0}, {-1, 0}, { 0,-1}, { 0, 1}, { 1, 0} }; static constexpr std::array,5> weights = { {1,3}, {1,6}, {1,6}, {1,6}, {1,6} }; static constexpr std::ratio cs2 = {1,3}; }; } }