Sacado Package Browser (Single Doxygen Collection)  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Static Public Member Functions | List of all members
Sacado::ss_array< T, isScalar > Struct Template Reference

Static array allocation class that works for any type. More...

#include <Sacado_StaticArrayTraits.hpp>

Static Public Member Functions

static KOKKOS_INLINE_FUNCTION void copy (const T *src, T *dest, int sz)
 Copy array from src to dest of length sz. More...
 
static KOKKOS_INLINE_FUNCTION void zero (T *dest, int sz)
 Zero out array dest of length sz. More...
 

Detailed Description

template<typename T, bool isScalar = IsScalarType<T>::value>
struct Sacado::ss_array< T, isScalar >

Static array allocation class that works for any type.

Definition at line 43 of file Sacado_StaticArrayTraits.hpp.

Member Function Documentation

template<typename T , bool isScalar = IsScalarType<T>::value>
static KOKKOS_INLINE_FUNCTION void Sacado::ss_array< T, isScalar >::copy ( const T src,
T dest,
int  sz 
)
inlinestatic

Copy array from src to dest of length sz.

Definition at line 47 of file Sacado_StaticArrayTraits.hpp.

template<typename T , bool isScalar = IsScalarType<T>::value>
static KOKKOS_INLINE_FUNCTION void Sacado::ss_array< T, isScalar >::zero ( T dest,
int  sz 
)
inlinestatic

Zero out array dest of length sz.

Definition at line 54 of file Sacado_StaticArrayTraits.hpp.


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