deal.II version GIT relicensing-2289-g1e5549a87a 2024-12-21 21:30:00+00:00
\(\newcommand{\dealvcentcolon}{\mathrel{\mathop{:}}}\) \(\newcommand{\dealcoloneq}{\dealvcentcolon\mathrel{\mkern-1.2mu}=}\) \(\newcommand{\jump}[1]{\left[\!\left[ #1 \right]\!\right]}\) \(\newcommand{\average}[1]{\left\{\!\left\{ #1 \right\}\!\right\}}\)
Loading...
Searching...
No Matches
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.

Definition at line 405 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 426 of file vector_memory.h.


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