Gromacs
2025-dev-20241008-cf8b9ef
|
#include <cstddef>
#include <array>
Declares gmx::extents for mdspan.
Classes | |
class | gmx::extents< StaticExtents > |
Multidimensional extents with static and dynamic dimensions. More... | |
struct | gmx::detail::extents_analyse< R, E0, StaticExtents...> |
Enable querying extent of specific rank by splitting a static extents off the variadic template arguments. More... | |
struct | gmx::detail::extents_analyse< R, dynamic_extent, StaticExtents...> |
Enable querying extent of specific rank by splitting a dynamic extent off the variadic template arguments. More... | |
struct | gmx::detail::extents_analyse< 0 > |
Specialisation for rank 0 extents analysis. Ends recursive rank analysis. More... | |
class | gmx::extents< StaticExtents > |
Multidimensional extents with static and dynamic dimensions. More... | |
Enumerations | |
enum | : std::ptrdiff_t { dynamic_extent = -1 } |
Define constant that signals dynamic extent. | |
Functions | |
template<std::ptrdiff_t... LHS, std::ptrdiff_t... RHS> | |
constexpr bool | gmx::operator== (const extents< LHS...> &lhs, const extents< RHS...> &rhs) noexcept |
Comparison operator. More... | |
template<std::ptrdiff_t... LHS, std::ptrdiff_t... RHS> | |
constexpr bool | gmx::operator!= (const extents< LHS...> &lhs, const extents< RHS...> &rhs) noexcept |
Check for non-equality. More... | |