YAKL
Public Member Functions | Static Public Member Functions | List of all members
yakl::SB< L, U > Class Template Reference

This specifies a set of bounds for a dimension when declaring a yakl::FSArray. More...

#include <YAKL_FSArray.h>

Public Member Functions

 SB ()=delete
 

Static Public Member Functions

static constexpr int lower ()
 
static constexpr int upper ()
 

Detailed Description

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.

Constructor & Destructor Documentation

◆ SB()

template<int L, int U = -999>
yakl::SB< L, U >::SB ( )
delete

Member Function Documentation

◆ 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: