#include <Sacado_Fad_MemPoolStorage.hpp>
Collaboration diagram for Sacado::Fad::MemPoolStorage< T >:

Public Member Functions | |
| MemPoolStorage (const T &x) | |
| Default constructor. | |
| MemPoolStorage (const int sz, const T &x) | |
Constructor with size sz. | |
| MemPoolStorage (const MemPoolStorage &x) | |
| Copy constructor. | |
| ~MemPoolStorage () | |
| Destructor. | |
| MemPoolStorage & | operator= (const MemPoolStorage &x) |
| Assignment. | |
| int | size () const |
| Returns number of derivative components. | |
| void | resize (int sz) |
| Resize the derivative array to sz. | |
| void | zero () |
| Zero out derivative array. | |
Public Attributes | |
| T | val_ |
| Value. | |
| int | sz_ |
| Derivative array size. | |
| int | len_ |
| Derivative array length. | |
| T * | dx_ |
| Derivative array. | |
Static Public Attributes | |
| static MemPool * | defaultPool_ |
| Default memory pool. | |
Protected Attributes | |
| MemPool * | myPool_ |
| Memory pool. | |
| Sacado::Fad::MemPoolStorage< T >::MemPoolStorage | ( | const int | sz, | |
| const T & | x | |||
| ) | [inline] |
Constructor with size sz.
Initializes derivative array 0 of length sz
1.4.7