OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
add_prp_impl< objv, vect_dst > Struct Template Reference

struct to merge two vectors More...

Detailed Description

template<bool objv, typename vect_dst>
struct add_prp_impl< objv, vect_dst >

struct to merge two vectors

Definition at line 19 of file map_vector_std.hpp.

#include <map_vector_std.hpp>

Static Public Member Functions

template<typename S , typename M , typename gp , unsigned int impl, unsigned int ... args>
static void add (const vector< S, M, memory_traits_lin, gp, impl > &v_src, vect_dst &v_dst)
 It add the element of a source vector to this vector.
 

Member Function Documentation

◆ add()

template<bool objv, typename vect_dst >
template<typename S , typename M , typename gp , unsigned int impl, unsigned int ... args>
static void add_prp_impl< objv, vect_dst >::add ( const vector< S, M, memory_traits_lin, gp, impl > &  v_src,
vect_dst &  v_dst 
)
inlinestatic

It add the element of a source vector to this vector.

The number of properties in the source vector must be smaller than the destination all the properties of S must be mapped so if S has 3 properties 3 numbers for args are required

Template Parameters
SBase object of the source vector
Mmemory type of the source vector
gpGrow policy of the source vector
argsone or more number that define which property to set-up
Parameters
v_srcsource vector
v_dstdestination vector

Add the element of v

Definition at line 37 of file map_vector_std.hpp.


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