Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Enumerations | Functions
extents.h File Reference
#include <cstddef>
#include <array>
+ Include dependency graph for extents.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares gmx::extents for mdspan.

Author
Christian Trott crtro.nosp@m.tt@s.nosp@m.andia.nosp@m..gov
Ronan Keryell ronan.nosp@m..ker.nosp@m.yell@.nosp@m.xili.nosp@m.nx.co.nosp@m.m
Carter Edwards hedwa.nosp@m.rds@.nosp@m.nvidi.nosp@m.a.co.nosp@m.m
David Hollman dshol.nosp@m.lm@s.nosp@m.andia.nosp@m..gov
Christian Blau cblau.nosp@m.@gwd.nosp@m.g.de

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...