#ifndef _STRIDE_SEARCH_DEFS_HPP_ #define _STRIDE_SEARCH_DEFS_HPP_ #include "StrideSearchConfig.h" #include #include #ifdef HAVE_KOKKOS #include "Kokkos_Core.hpp" #else #include #endif namespace StrideSearch { /// Floating point data type typedef double Real; /// Integer data type typedef int Int; /// Memory index data type typedef int Index; /// Rectangle in lat-lon space (south, north, west, east) typedef std::array region_type; #ifdef HAVE_KOKKOS typedef Kokkos::View RealArray; typedef Kokkos::View IndexArray; #else /// Real array data type typedef std::vector RealArray; /// Index array data type typedef std::vector IndexArray; #endif } #endif