13#include "Index/Index.h"
20 template <
unsigned Dim>
26 template <
class... Args,
typename std::enable_if<
sizeof...(Args) == Dim,
bool>::type =
true>
27 KOKKOS_FUNCTION
NDIndex(
const Args&... args);
41 KOKKOS_INLINE_FUNCTION
unsigned size()
const noexcept;
46 KOKKOS_INLINE_FUNCTION
bool empty()
const noexcept;
58 KOKKOS_INLINE_FUNCTION
NDIndex<Dim> grow(
int ncells,
unsigned int dim)
const;
60 KOKKOS_INLINE_FUNCTION
bool touches(
const NDIndex<Dim>&)
const;
62 KOKKOS_INLINE_FUNCTION
bool contains(
const NDIndex<Dim>& a)
const;
83 KOKKOS_INLINE_FUNCTION
constexpr iterator begin();
84 KOKKOS_INLINE_FUNCTION
constexpr iterator end();
94#include "Index/NDIndex.hpp"
KOKKOS_INLINE_FUNCTION bool empty() const noexcept
Definition NDIndex.hpp:41
KOKKOS_INLINE_FUNCTION unsigned size() const noexcept
Definition NDIndex.hpp:32
KOKKOS_INLINE_FUNCTION const ippl::Index & operator[](unsigned d) const noexcept
Definition NDIndex.hpp:22
KOKKOS_INLINE_FUNCTION NDIndex< Dim > intersect(const NDIndex< Dim > &) const
Definition NDIndex.hpp:59
KOKKOS_INLINE_FUNCTION NDIndex< Dim > grow(int ncells) const
Definition NDIndex.hpp:68