Sacado  Development
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Pages
Public Member Functions | Protected Types | Protected Attributes | List of all members
Sacado::Fad::MemPoolManager< T > Class Template Reference

Class to manage memory pools for different Fad dimensions. More...

#include <Sacado_Fad_MemPoolManager.hpp>

Public Member Functions

 MemPoolManager (unsigned int nfad)
 Constructor.
 
 ~MemPoolManager ()
 Destructor.
 
MemPoolgetMemoryPool (unsigned int dim)
 Get memory pool for supplied dimension dim.
 

Protected Types

typedef std::map< unsigned int,
MemPool * > 
MapType
 Typename of memory pool map.
 

Protected Attributes

unsigned int num_fad
 Number of Fad objects per chunk.
 
MapType poolMap
 Map of memory pools.
 

Detailed Description

template<typename T>
class Sacado::Fad::MemPoolManager< T >

Class to manage memory pools for different Fad dimensions.


The documentation for this class was generated from the following files: