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

Description

Declares gmx::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::basic_mdspan< ElementType, Extents, LayoutPolicy, AccessorPolicy >
 Multidimensional array indexing and memory access with flexible mapping and access model. More...
 

Typedefs

template<class T , ptrdiff_t... Indices>
using gmx::mdspan = basic_mdspan< T, extents< Indices...>, layout_right, accessor_basic< T >>
 basic_mdspan with wrapped indices, basic_accessor policiy and right-aligned memory layout.