Gromacs  2022-beta1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Typedefs | Functions | Variables
multidimarray.h File Reference
#include "gromacs/mdspan/mdspan.h"
#include "gromacs/utility/arrayref.h"
+ Include dependency graph for multidimarray.h:
+ This graph shows which files directly or indirectly include this file:

Description

Declares MultiDimArray.

Author
Christian Blau cblau.nosp@m.@gwd.nosp@m.g.de

Classes

class  gmx::MultiDimArray< TContainer, Extents, LayoutPolicy >
 Multidimensional array that manages its own memory. More...
 

Typedefs

template<class... >
using gmx::detail::void_t = void
 Same as std::void_t from C++17.
 

Functions

template<class TContainer , class Extents >
constexpr MultiDimArray
< TContainer, Extents >
::const_iterator 
gmx::begin (const MultiDimArray< TContainer, Extents > &multiDimArray)
 Free MultiDimArray begin function addressing its contiguous memory.
 
template<class TContainer , class Extents >
constexpr MultiDimArray
< TContainer, Extents >
::iterator 
gmx::begin (MultiDimArray< TContainer, Extents > &multiDimArray)
 Free MultiDimArray begin function addressing its contiguous memory.
 
template<class TContainer , class Extents >
constexpr MultiDimArray
< TContainer, Extents >
::const_iterator 
gmx::end (const MultiDimArray< TContainer, Extents > &multiDimArray)
 Free MultiDimArray end function addressing its contiguous memory.
 
template<class TContainer , class Extents >
constexpr MultiDimArray
< TContainer, Extents >
::iterator 
gmx::end (MultiDimArray< TContainer, Extents > &multiDimArray)
 Free MultiDimArray end function addressing its contiguous memory.
 
template<class TContainer , class Extents >
void gmx::swap (MultiDimArray< TContainer, Extents > &a, MultiDimArray< TContainer, Extents > &b) noexcept
 Swap function.
 

Variables

template<typename T >
constexpr bool gmx::detail::is_resizable_v = is_resizable<T>::value
 Type has a resize member function callable with size_t argument.