Gromacs
2026.0-dev-20241113-4b16639
|
#include <type_traits>
#include <utility>
#include "gromacs/mdspan/mdspan.h"
#include "gromacs/utility/arrayref.h"
Declares MultiDimArray.
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. | |