OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
copy_fusion_vector< bfv > Struct Template Reference

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

Detailed Description

template<typename bfv>
struct copy_fusion_vector< bfv >

this class is a functor for "for_each" algorithm

It copy a boost::fusion::vector into another boost::fusion::vector

Definition at line 21 of file aggregate.hpp.

#include <aggregate.hpp>

Public Member Functions

__device__ __host__ copy_fusion_vector (const bfv &src, bfv &dst)
 constructor
 
template<typename T >
__device__ __host__ void operator() (T &t)
 It call the copy function for each property.
 

Data Fields

const bfv & src
 source fusion vector
 
bfv & dst
 destination fusion vector
 

Constructor & Destructor Documentation

◆ copy_fusion_vector()

template<typename bfv >
__device__ __host__ copy_fusion_vector< bfv >::copy_fusion_vector ( const bfv &  src,
bfv &  dst 
)
inline

constructor

It define the copy parameters.

Parameters
srcsource fusion vector
dstdestination fusion vector

Definition at line 37 of file aggregate.hpp.

Member Function Documentation

◆ operator()()

template<typename bfv >
template<typename T >
__device__ __host__ void copy_fusion_vector< bfv >::operator() ( T &  t)
inline

It call the copy function for each property.

Definition at line 54 of file aggregate.hpp.

Field Documentation

◆ dst

template<typename bfv >
bfv& copy_fusion_vector< bfv >::dst

destination fusion vector

Definition at line 27 of file aggregate.hpp.

◆ src

template<typename bfv >
const bfv& copy_fusion_vector< bfv >::src

source fusion vector

Definition at line 24 of file aggregate.hpp.


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