ARTS 2.5.11 (git: 725533f0)
|
Row-major fixed grid creation. More...
#include <grids.h>
Public Types | |
using | base = b |
Public Member Functions | |
template<typename... Inds> | |
constexpr | FixedGrid (Inds... inds) noexcept |
constexpr | FixedGrid () noexcept |
constexpr | FixedGrid (FixedGrid &&g) noexcept |
constexpr FixedGrid & | operator= (FixedGrid &&g) noexcept |
template<typename... Inds> | |
constexpr base & | operator() (Inds... inds) noexcept |
template<typename... Inds> | |
constexpr const base & | operator() (Inds... inds) const noexcept |
constexpr base & | operator[] (std::size_t ind) noexcept |
constexpr const base & | operator[] (std::size_t ind) const noexcept |
Static Public Attributes | |
static constexpr std::size_t | N = sizeof...(Sizes) |
Private Attributes | |
std::array< b, mul(Sizes...)> | ptr |
Friends | |
std::ostream & | operator<< (std::ostream &os, const FixedGrid &g) |
Row-major fixed grid creation.
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
|
inlineconstexprnoexcept |
Access operator
Definition at line 171 of file grids.h.
References gridsize_from_index(), index_from_gridsize(), and FixedGrid< b, Sizes >::ptr.
|
inlineconstexprnoexcept |
Access operator
Definition at line 165 of file grids.h.
References gridsize_from_index(), index_from_gridsize(), and FixedGrid< b, Sizes >::ptr.
|
inlineconstexprnoexcept |
Move and set operator
Definition at line 158 of file grids.h.
References FixedGrid< b, Sizes >::ptr.
|
inlineconstexprnoexcept |
Access operator for VectorType
Definition at line 182 of file grids.h.
References FixedGrid< b, Sizes >::N, and FixedGrid< b, Sizes >::ptr.
|
inlineconstexprnoexcept |
Access operator for VectorType
Definition at line 176 of file grids.h.
References FixedGrid< b, Sizes >::N, and FixedGrid< b, Sizes >::ptr.
|
staticconstexpr |
Number of dimensions
Definition at line 138 of file grids.h.
Referenced by FixedGrid< b, Sizes >::operator[](), and FixedGrid< b, Sizes >::operator[]().
|
private |
List of values
Definition at line 134 of file grids.h.
Referenced by FixedGrid< b, Sizes >::operator()(), FixedGrid< b, Sizes >::operator()(), FixedGrid< b, Sizes >::operator=(), FixedGrid< b, Sizes >::operator[](), and FixedGrid< b, Sizes >::operator[]().