Public Member Functions | Public Attributes
GrowingVectorMemory< VECTOR >::Pool Struct Reference

List of all members.

Public Member Functions

 Pool ()
 ~Pool ()
void initialize (const unsigned int size)

Public Attributes

std::vector< entry_type > * data

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 Fri Aug 12 2011 15:01:04 by doxygen 1.7.4