Gromacs  2025.0-dev-20241029-e106fce
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions | Variables
multidimarray.h File Reference
#include <type_traits>
#include <utility>
#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...
 

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.