OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
openfpm::grow_policy_page Class Reference

Grow policy define how the vector should grow every time we exceed the size. More...

Detailed Description

Grow policy define how the vector should grow every time we exceed the size.

In this case it increase of 4096 elements

Definition at line 75 of file map_vector_grow_p.hpp.

#include <map_vector_grow_p.hpp>

Static Public Member Functions

static size_t grow (size_t original, size_t requested)
 It say how much the vector must grow. More...
 

Member Function Documentation

static size_t openfpm::grow_policy_page::grow ( size_t  original,
size_t  requested 
)
inlinestatic

It say how much the vector must grow.

Parameters
originalsize
requestedsize
Returns
how much to grow

Definition at line 87 of file map_vector_grow_p.hpp.


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