Gromacs  2024.4
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Typedefs
mdspan.cpp File Reference
#include "gmxpre.h"
#include "gromacs/mdspan/mdspan.h"
#include <cstdio>
#include <gtest/gtest.h>
+ Include dependency graph for mdspan.cpp:

Description

Testing gmx::basic_mdspan.

Author
Christian Trott crtro.nosp@m.tt@s.nosp@m.andia.nosp@m..gov
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

Typedefs

using gmx::anonymous_namespace{mdspan.cpp}::mdspan_int = basic_mdspan< int, extents< 5, dynamic_extent, 3, dynamic_extent, 1 >, layout_right, accessor_basic< int >>
 View on int data with mixed static and dynamic extents.
 
using gmx::anonymous_namespace{mdspan.cpp}::mdspan_float = basic_mdspan< float, extents< 5, dynamic_extent, 3, dynamic_extent, 1 >, layout_right, accessor_basic< float >>
 View on float data with mixed static and dynamic extents.
 
using gmx::anonymous_namespace{mdspan.cpp}::MdSpanTypes = ::testing::Types< mdspan_int, mdspan_float >
 Types to be tested.