|
KOKKOS_DEFAULTED_FUNCTION constexpr | DiscreteVector ()=default |
|
KOKKOS_DEFAULTED_FUNCTION constexpr | DiscreteVector (DiscreteVector const &)=default |
|
KOKKOS_DEFAULTED_FUNCTION constexpr | DiscreteVector (DiscreteVector &&)=default |
|
template<class... DVects, class = std::enable_if_t<(is_discrete_vector_v<DVects> && ...)>> |
KOKKOS_FUNCTION constexpr | DiscreteVector (DVects const &... delems) noexcept |
|
template<class... Params, class = std::enable_if_t<(!is_discrete_vector_v<Params> && ...)>, class = std::enable_if_t<(std::is_convertible_v<Params, DiscreteVectorElement> && ...)>, class = std::enable_if_t<sizeof...(Params) == sizeof...(Tags)>> |
KOKKOS_FUNCTION constexpr | DiscreteVector (Params const &... params) noexcept |
|
KOKKOS_DEFAULTED_FUNCTION | ~DiscreteVector ()=default |
|
KOKKOS_DEFAULTED_FUNCTION constexpr DiscreteVector & | operator= (DiscreteVector const &other)=default |
|
KOKKOS_DEFAULTED_FUNCTION constexpr DiscreteVector & | operator= (DiscreteVector &&other)=default |
|
template<class... OTags> |
KOKKOS_FUNCTION constexpr bool | operator== (DiscreteVector< OTags... > const &rhs) const noexcept |
|
template<class... OTags> |
KOKKOS_FUNCTION constexpr bool | operator!= (DiscreteVector< OTags... > const &rhs) const noexcept |
|
template<class QueryTag > |
KOKKOS_FUNCTION constexpr DiscreteVectorElement & | get () noexcept |
|
template<class QueryTag > |
KOKKOS_FUNCTION constexpr DiscreteVectorElement const & | get () const noexcept |
|
template<class QueryTag > |
KOKKOS_FUNCTION constexpr DiscreteVectorElement const & | get_or (DiscreteVectorElement const &default_value) const & |
|
template<std::size_t N = sizeof...(Tags)> |
KOKKOS_FUNCTION constexpr std::enable_if_t< N==1, DiscreteVectorElement const & > | value () const noexcept |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator++ () |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
KOKKOS_FUNCTION constexpr DiscreteVector | operator++ (int) |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator-- () |
|
template<std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>> |
KOKKOS_FUNCTION constexpr DiscreteVector | operator-- (int) |
|
template<class... OTags> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator+= (DiscreteVector< OTags... > const &rhs) |
|
template<class IntegralType , std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>, class = std::enable_if_t<std::is_integral_v<IntegralType>>> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator+= (IntegralType const &rhs) |
|
template<class... OTags> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator-= (DiscreteVector< OTags... > const &rhs) |
|
template<class IntegralType , std::size_t N = sizeof...(Tags), class = std::enable_if_t<N == 1>, class = std::enable_if_t<std::is_integral_v<IntegralType>>> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator-= (IntegralType const &rhs) |
|
template<class... OTags> |
KOKKOS_FUNCTION constexpr DiscreteVector & | operator*= (DiscreteVector< OTags... > const &rhs) |
|
template<class... Tags>
class ddc::DiscreteVector< Tags >
A DiscreteVector is a vector in the discrete dimension.
Each is tagged by its associated dimensions.
Definition at line 256 of file discrete_vector.hpp.