OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
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
 

Constructor & Destructor Documentation

◆ host_to_dev_all_prp()

template<typename Tv >
host_to_dev_all_prp< Tv >::host_to_dev_all_prp ( Tv &  p)
inline

Definition at line 25 of file tokernel_transformation.hpp.

Member Function Documentation

◆ operator()()

template<typename Tv >
template<typename T >
void host_to_dev_all_prp< Tv >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 31 of file tokernel_transformation.hpp.

Field Documentation

◆ p

template<typename Tv >
Tv& host_to_dev_all_prp< Tv >::p

Definition at line 23 of file tokernel_transformation.hpp.


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