GrowingVectorMemory< VECTOR >::Pool Struct Reference

List of all members.

Public Member Functions

 Pool ()
 Standard constructor creating an empty pool.
 ~Pool ()
 Destructor. Frees memory and warns about memory leaks.
void initialize (const unsigned int size)
 Create data vector; does nothing after first initialization.

Public Attributes

std::vector< entry_type > * data
 Pointer to the storage object.

Detailed Description

template<class VECTOR = ::Vector<double>>
struct GrowingVectorMemory< VECTOR >::Pool

The class providing the actual storage for the memory pool.

This is where the actual storage for GrowingVectorMemory is provided. Only one of these pools is used for each vector type, thus allocating all vectors from the same storage.

Author:
Guido Kanschat, 2007

Constructor & Destructor Documentation

template<class VECTOR = ::Vector<double>>
GrowingVectorMemory< VECTOR >::Pool::Pool (  ) 

Standard constructor creating an empty pool.

template<class VECTOR = ::Vector<double>>
GrowingVectorMemory< VECTOR >::Pool::~Pool (  ) 

Destructor. Frees memory and warns about memory leaks.


Member Function Documentation

template<class VECTOR = ::Vector<double>>
void GrowingVectorMemory< VECTOR >::Pool::initialize ( const unsigned int  size  ) 

Create data vector; does nothing after first initialization.


Member Data Documentation

template<class VECTOR = ::Vector<double>>
std::vector<entry_type>* GrowingVectorMemory< VECTOR >::Pool::data

Pointer to the storage object.


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

deal.II documentation generated on Mon Nov 23 22:57:50 2009 by doxygen 1.6.1