YAKL
Public Member Functions | List of all members
yakl::Bnd Struct Reference

Describes a single bound for creating Fortran-style yakl::Array objects. More...

#include <YAKL_Array.h>

Public Member Functions

YAKL_INLINE Bnd ()
 Create a dimension bound with a lower limit of 1 and an upper limit of 1. More...
 
YAKL_INLINE Bnd (int l_in, int u_in)
 Create a dimension bound with a lower limit of l_in and an upper limit of u_in. More...
 
YAKL_INLINE Bnd (int u_in)
 Create a dimension bound with a lower limit of 1 and an upper limit of u_in. More...
 

Detailed Description

Describes a single bound for creating Fortran-style yakl::Array objects.

You can create and object of this class with a single integer, in which case the lower bound default to one, or you can use a pair of values, e.g., {lower,upper}, which will assign these as lower and upper bounds.

Constructor & Destructor Documentation

◆ Bnd() [1/3]

YAKL_INLINE yakl::Bnd::Bnd ( )
inline

Create a dimension bound with a lower limit of 1 and an upper limit of 1.

◆ Bnd() [2/3]

YAKL_INLINE yakl::Bnd::Bnd ( int  u_in)
inline

Create a dimension bound with a lower limit of 1 and an upper limit of u_in.

◆ Bnd() [3/3]

YAKL_INLINE yakl::Bnd::Bnd ( int  l_in,
int  u_in 
)
inline

Create a dimension bound with a lower limit of l_in and an upper limit of u_in.


The documentation for this struct was generated from the following file: