Reference documentation for deal.II version 9.1.0-pre
Public Member Functions | Public Attributes | List of all members
GrowingVectorMemory< VectorType >::Pool Struct Reference

Public Member Functions

 Pool ()
 
 ~Pool ()
 
void initialize (const size_type size)
 

Public Attributes

std::vector< entry_type > * data
 

Detailed Description

template<typename VectorType = ::Vector<double>>
struct GrowingVectorMemory< VectorType >::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, Wolfgang Bangerth 2017.

Definition at line 414 of file vector_memory.h.

Constructor & Destructor Documentation

template<typename VectorType = ::Vector<double>>
GrowingVectorMemory< VectorType >::Pool::Pool ( )

Standard constructor creating an empty pool

template<typename VectorType = ::Vector<double>>
GrowingVectorMemory< VectorType >::Pool::~Pool ( )

Destructor.

Member Function Documentation

template<typename VectorType = ::Vector<double>>
void GrowingVectorMemory< VectorType >::Pool::initialize ( const size_type  size)

Create data vector; does nothing after first initialization

Member Data Documentation

template<typename VectorType = ::Vector<double>>
std::vector<entry_type>* GrowingVectorMemory< VectorType >::Pool::data

Pointer to the storage object

Definition at line 435 of file vector_memory.h.


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