struct subrange
Declaration
template <int Dims = 1>
struct subrange { /* full declaration omitted */ };
Declared at: include/ranges.h:501
Template Parameters
- int Dims = 1
Member Variables
- id<Dims> offset
- celerity::range<Dims> range = detail::zeros
- static const int dimensions = Dims
Member Function Overview
- subrange()
- subrange(const id<Dims> & offset, const celerity::range<Dims> & range) → constexpr
- subrange(const chunk<Dims> & other) → constexpr
Friend Function Overview
- operator!=(const subrange<Dims> & lhs, const subrange<Dims> & rhs) → friend bool
- operator==(const subrange<Dims> & lhs, const subrange<Dims> & rhs) → friend bool
Member Functions
¶subrange()
subrange()
Declared at: include/ranges.h:507
¶constexpr subrange(
const id<Dims>& offset,
const celerity::range<Dims>& range)
constexpr subrange(
const id<Dims>& offset,
const celerity::range<Dims>& range)
Declared at: include/ranges.h:508
Parameters
- const id<Dims>& offset
- const celerity::range<Dims>& range
¶constexpr subrange(const chunk<Dims>& other)
constexpr subrange(const chunk<Dims>& other)
Declared at: include/ranges.h:509
Parameters
- const chunk<Dims>& other
Friend Functions
¶friend bool operator!=(const subrange<Dims>& lhs,
const subrange<Dims>& rhs)
friend bool operator!=(const subrange<Dims>& lhs,
const subrange<Dims>& rhs)
Declared at: include/ranges.h:512
Parameters
¶friend bool operator==(const subrange<Dims>& lhs,
const subrange<Dims>& rhs)
friend bool operator==(const subrange<Dims>& lhs,
const subrange<Dims>& rhs)
Declared at: include/ranges.h:511