Stokhos Development
Static Public Member Functions
Stokhos::DynArrayTraits< T, node, isScalar > Struct Template Reference

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

#include <Stokhos_DynArrayTraits.hpp>

List of all members.

Static Public Member Functions

static void copy (const T *src, T *dest, std::size_t sz)
 Copy array from src to dest of length sz.
static void zero (T *dest, std::size_t sz)
 Zero out array dest of length sz.
static void fill (T *desk, std::size_t sz, const T &v)
 Fill array dest of length sz with value v.
static T * get_and_fill (std::size_t sz)
 Get memory for new array of length sz and fill with zeros.
static T * get_and_fill (const T *src, std::size_t sz)
 Get memory for new array of length sz and fill with entries from src.
static void destroy_and_release (T *m, std::size_t sz)
 Destroy array elements and release memory.

Detailed Description

template<typename T, typename node, bool isScalar = IsScalarType2<T>::value>
struct Stokhos::DynArrayTraits< T, node, isScalar >

Dynamic array allocation class that works for any type.


The documentation for this struct was generated from the following file:
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator