OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
copy_ele_sca_array< copy_type, T, Ev, Eqs_sys, 1 > Struct Template Reference

Copy 1D array elements. More...

Detailed Description

template<typename copy_type, typename T, typename Ev, typename Eqs_sys>
struct copy_ele_sca_array< copy_type, T, Ev, Eqs_sys, 1 >

Copy 1D array elements.

spacialization in case of 1D array

Template Parameters
copy_typeType that should be copied
Tproperty id to copy
EvType of source the Vector

Definition at line 54 of file Vector_util.hpp.

#include <Vector_util.hpp>

Static Public Member Functions

template<typename Grid >
static void copy (Grid &grid_dst, const grid_dist_key_dx< Eqs_sys::dims > &key, const Ev &x, size_t lin_id, size_t base_id, size_t gs_size)
 Constructor. More...
 

Member Function Documentation

template<typename copy_type , typename T , typename Ev , typename Eqs_sys >
template<typename Grid >
static void copy_ele_sca_array< copy_type, T, Ev, Eqs_sys, 1 >::copy ( Grid &  grid_dst,
const grid_dist_key_dx< Eqs_sys::dims > &  key,
const Ev &  x,
size_t  lin_id,
size_t  base_id,
size_t  gs_size 
)
inlinestatic

Constructor.

It define the copy parameters.

Parameters
keydestination position
grid_dstgrid destination
xSource vector
lin_idsource element inside the vector
gs_sizegrid size
base_idprocessor id start

Definition at line 68 of file Vector_util.hpp.


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