OpenFPM_data  0.1.0
Project that contain the implementation and interfaces for basic structure like vectors, grids, graph ... .
 All Data Structures Namespaces Functions Variables Typedefs Friends
openfpm::grow_policy_double 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 double up the size

Definition at line 46 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_double::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 58 of file map_vector_grow_p.hpp.


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