OpenFPM  5.2.0
Project that contain the implementation of distributed structures
copy_fast_1d_device_memory< lin_or_inte, data_type, S > Struct Template Reference

this class is a functor for "for_each" algorithm More...

#include <copy_grid_fast.hpp>

Public Member Functions

 copy_fast_1d_device_memory (data_type &data_src, data_type &data_dst)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

data_type & data_src
 set of pointers
 
data_type & data_dst
 

Detailed Description

template<bool lin_or_inte, typename data_type, typename S>
struct copy_fast_1d_device_memory< lin_or_inte, data_type, S >

this class is a functor for "for_each" algorithm

This class is a functor for "for_each" algorithm. For each element of the boost::vector the operator() is called. Is mainly used to copy one device memory into another device memory

Template Parameters
encapsource
encapdst

Definition at line 35 of file copy_grid_fast.hpp.

Constructor & Destructor Documentation

◆ copy_fast_1d_device_memory()

template<bool lin_or_inte, typename data_type , typename S >
copy_fast_1d_device_memory< lin_or_inte, data_type, S >::copy_fast_1d_device_memory ( data_type &  data_src,
data_type &  data_dst 
)
inline

constructor

Parameters
vset of pointer buffers to set

Definition at line 47 of file copy_grid_fast.hpp.


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