This specifies a set of bounds for a dimension when declaring a yakl::FSArray.
More...
#include <YAKL_FSArray.h>
|
static constexpr int | lower () |
|
static constexpr int | upper () |
|
template<int L, int U = -999>
class yakl::SB< L, U >
This specifies a set of bounds for a dimension when declaring a yakl::FSArray.
It takes either one or two template parameter. Specifying one template parameter gives an upper bound and assumes a lower bound of 1
. E.g., yakl::SB<nx>
means a lower bound of 1
and an upper bound of nx
. Specifying two template parameters gives a lower and an upper bound. E.g., yakl::SB<0,nx+1>
means a lower bound of 0
and an upper bound of nx+1
.
◆ SB()
template<int L, int U = -999>
◆ lower()
template<int L, int U = -999>
static constexpr int yakl::SB< L, U >::lower |
( |
| ) |
|
|
inlinestaticconstexpr |
◆ upper()
template<int L, int U = -999>
static constexpr int yakl::SB< L, U >::upper |
( |
| ) |
|
|
inlinestaticconstexpr |
The documentation for this class was generated from the following file: