OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
host_to_dev_all_prp< Tv > Struct Template Reference

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

Detailed Description

template<typename Tv>
struct host_to_dev_all_prp< Tv >

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 call hostToDevice for each properties

Definition at line 21 of file tokernel_transformation.hpp.

#include <tokernel_transformation.hpp>

Public Member Functions

 host_to_dev_all_prp (Tv &p)
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

Tv & p
 

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