Reference documentation for deal.II version Git e03361e799 2019-09-18 18:08:31 -0600
\(\newcommand{\dealcoloneq}{\mathrel{\vcenter{:}}=}\)
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

◆ Pool()

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

Standard constructor creating an empty pool

◆ ~Pool()

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

Destructor.

Member Function Documentation

◆ initialize()

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

◆ data

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: