Skip to main content

struct neighborhood

Declaration

template <int Dims>
struct neighborhood { /* full declaration omitted */ };

Template Parameters

int Dims

Member Variables

size_t m_dim0
size_t m_dim1
size_t m_dim2

Member Function Overview

  • neighborhood(size_t dim0)
  • template <int D = Dims, std::enable_if_t<D >= 2, void *>... >
    neighborhood(size_t dim0, size_t dim1)
  • template <int D = Dims, std::enable_if_t<D == 3, void *>... >
    neighborhood(size_t dim0, size_t dim1, size_t dim2)
  • operator()(const chunk<Dims> & chnk) const → subrange<Dims>

Member Functions

neighborhood(size_t dim0)

Parameters

size_t dim0

template <int D = Dims,
          std::enable_if_t<D >= 2, void*>...>
neighborhood(size_t dim0, size_t dim1)

Template Parameters

int D = Dims
std::enable_if_t<D >= 2, void *>

Parameters

size_t dim0
size_t dim1

template <int D = Dims,
          std::enable_if_t<D == 3, void*>...>
neighborhood(size_t dim0,
             size_t dim1,
             size_t dim2)

Template Parameters

int D = Dims
std::enable_if_t<D == 3, void *>

Parameters

size_t dim0
size_t dim1
size_t dim2

subrange<Dims> operator()(
    const chunk<Dims>& chnk) const

Parameters

const chunk<Dims>& chnk