Reference documentation for deal.II version GIT relicensing-29-g1d56f85c36 2024-02-28 12:40:02+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\}}\)
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 406 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 ( )


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 427 of file vector_memory.h.

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