#include <gromacs/mdspan/extents.h>
template<>
struct gmx::detail::extents_analyse< 0 >
Specialisation for rank 0 extents analysis. Ends recursive rank analysis.
|
constexpr | extents_analyse () |
| Trivial constructor.
|
|
template<std::size_t Rank> |
| extents_analyse (const std::array< std::ptrdiff_t, Rank > &, const std::size_t) |
| Construct from array and rank, doing nothing.
|
|
|
static constexpr std::size_t | rank () noexcept |
| Rank of extent of rank 0. More...
|
|
static constexpr std::size_t | rank_dynamic () noexcept |
| Dynamic rank of extent of rank 0. More...
|
|
static constexpr std::ptrdiff_t | extent (const std::size_t) noexcept |
| Extent of rank 0 is 1, ensuring that product of extents yields required size and not zero. NOTE changed from ORNL reference implementation in making this static constexpr instead of constexpr .. const.
|
|
static constexpr std::ptrdiff_t | static_extent (const std::size_t) noexcept |
| Static extent of rank 0 is 1, ensuring that product of extents yields required size and not zero.
|
|
static constexpr std::size_t gmx::detail::extents_analyse< 0 >::rank |
( |
| ) |
|
|
inlinestaticnoexcept |
Rank of extent of rank 0.
- Returns
- 0
static constexpr std::size_t gmx::detail::extents_analyse< 0 >::rank_dynamic |
( |
| ) |
|
|
inlinestaticnoexcept |
Dynamic rank of extent of rank 0.
- Returns
- 0
The documentation for this struct was generated from the following file: