diff --git a/bindings/python/src/_pyghex/structured/regular/domain_descriptor.hpp b/bindings/python/src/_pyghex/structured/regular/domain_descriptor.hpp index 55813aab..336b9bee 100644 --- a/bindings/python/src/_pyghex/structured/regular/domain_descriptor.hpp +++ b/bindings/python/src/_pyghex/structured/regular/domain_descriptor.hpp @@ -32,8 +32,9 @@ using domain_descriptor_specializations_ = gridtools::meta::transform< } // namespace using domain_descriptor_specializations = - gridtools::meta::concat, - domain_descriptor_specializations_<3>, domain_descriptor_specializations_<4>>; + gridtools::meta::concat, + domain_descriptor_specializations_<2>, domain_descriptor_specializations_<3>, + domain_descriptor_specializations_<4>>; } // namespace regular } // namespace structured diff --git a/bindings/python/src/_pyghex/structured/regular/field_descriptor.hpp b/bindings/python/src/_pyghex/structured/regular/field_descriptor.hpp index dcc84729..942384a1 100644 --- a/bindings/python/src/_pyghex/structured/regular/field_descriptor.hpp +++ b/bindings/python/src/_pyghex/structured/regular/field_descriptor.hpp @@ -31,8 +31,9 @@ using field_descriptor_specializations_ = gridtools::meta::transform< field_descriptor_args_>; using field_descriptor_specializations = - gridtools::meta::concat, - field_descriptor_specializations_<3>, field_descriptor_specializations_<4>>; + gridtools::meta::concat, + field_descriptor_specializations_<2>, field_descriptor_specializations_<3>, + field_descriptor_specializations_<4>>; } // namespace } // namespace regular diff --git a/bindings/python/src/_pyghex/structured/regular/halo_generator.hpp b/bindings/python/src/_pyghex/structured/regular/halo_generator.hpp index 8b5824f1..b259d16a 100644 --- a/bindings/python/src/_pyghex/structured/regular/halo_generator.hpp +++ b/bindings/python/src/_pyghex/structured/regular/halo_generator.hpp @@ -30,8 +30,9 @@ using halo_generator_specializations_ = gridtools::meta::transform< gridtools::meta::rename::template apply, halo_generator_args_>; -using halo_generator_specializations = gridtools::meta::concat, - halo_generator_specializations_<3>, halo_generator_specializations_<4>>; +using halo_generator_specializations = + gridtools::meta::concat, halo_generator_specializations_<2>, + halo_generator_specializations_<3>, halo_generator_specializations_<4>>; } // namespace } // namespace regular } // namespace structured diff --git a/bindings/python/src/_pyghex/structured/regular/pattern.hpp b/bindings/python/src/_pyghex/structured/regular/pattern.hpp index 3daee7b7..2a177e4b 100644 --- a/bindings/python/src/_pyghex/structured/regular/pattern.hpp +++ b/bindings/python/src/_pyghex/structured/regular/pattern.hpp @@ -41,8 +41,9 @@ using make_pattern_traits_specializations_ = make_pattern_traits_args_>; using make_pattern_traits_specializations = - gridtools::meta::concat, - make_pattern_traits_specializations_<3>, make_pattern_traits_specializations_<4>>; + gridtools::meta::concat, + make_pattern_traits_specializations_<2>, make_pattern_traits_specializations_<3>, + make_pattern_traits_specializations_<4>>; } // namespace } // namespace regular diff --git a/bindings/python/src/_pyghex/structured/types.hpp b/bindings/python/src/_pyghex/structured/types.hpp index 1d401a01..389e628f 100644 --- a/bindings/python/src/_pyghex/structured/types.hpp +++ b/bindings/python/src/_pyghex/structured/types.hpp @@ -28,6 +28,12 @@ using dims = std::integral_constant; template struct layouts; +template<> +struct layouts<1> +{ + using list = gridtools::meta::list>; +}; + template<> struct layouts<2> {