Sacado::Fad::mp_array< T, isScalar > Struct Template Reference

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

#include <Sacado_Fad_MemPoolStorage.hpp>

List of all members.

Static Public Member Functions

static T * get_and_fill (int sz, MemPool *pool)
 Get memory for new array of length sz and fill with zeros.
static T * get_and_fill (const T *src, int sz, MemPool *pool)
 Get memory for new array of length sz and fill with entries from src.
static void copy (const T *src, T *dest, int sz)
 Copy array from src to dest of length sz.
static void zero (T *dest, int sz)
 Zero out array dest of length sz.
static void destroy_and_release (T *m, int sz, MemPool *pool)
 Destroy array elements and release memory.


Detailed Description

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

Dynamic array allocation class that works for any type.


The documentation for this struct was generated from the following file:
Generated on Tue Jul 13 09:38:11 2010 for Sacado by  doxygen 1.4.7