OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
openfpm::htoD< sg_type > Struct Template Reference

Detailed Description

template<typename sg_type>
struct openfpm::htoD< sg_type >

Definition at line 42 of file map_vector_sparse.hpp.

Public Member Functions

 htoD (sg_type &sg, unsigned int lele)
 
template<typename T >
__device__ __host__ void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

sg_type & sg
 encapsulated source object
 
unsigned int lele
 

Constructor & Destructor Documentation

◆ htoD()

template<typename sg_type >
openfpm::htoD< sg_type >::htoD ( sg_type &  sg,
unsigned int  lele 
)
inline

Definition at line 49 of file map_vector_sparse.hpp.

Member Function Documentation

◆ operator()()

template<typename sg_type >
template<typename T >
__device__ __host__ void openfpm::htoD< sg_type >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 56 of file map_vector_sparse.hpp.

Field Documentation

◆ lele

template<typename sg_type >
unsigned int openfpm::htoD< sg_type >::lele

Definition at line 47 of file map_vector_sparse.hpp.

◆ sg

template<typename sg_type >
sg_type& openfpm::htoD< sg_type >::sg

encapsulated source object

Definition at line 45 of file map_vector_sparse.hpp.


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