OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
openfpm::sparse_vector_reduction_solve_conflict_assign_cpu< encap_src, encap_dst, vector_reduction > Struct Template Reference

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

Detailed Description

template<typename encap_src, typename encap_dst, typename vector_reduction>
struct openfpm::sparse_vector_reduction_solve_conflict_assign_cpu< encap_src, encap_dst, vector_reduction >

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 encap into another encap object

Template Parameters
encapsource
encapdst

Definition at line 496 of file map_vector_sparse.hpp.

#include <map_vector_sparse.hpp>

Public Member Functions

 sparse_vector_reduction_solve_conflict_assign_cpu (encap_src &src, encap_dst &dst)
 constructor More...
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Data Fields

encap_src & src
 source
 
encap_dst & dst
 destination
 

Constructor & Destructor Documentation

◆ sparse_vector_reduction_solve_conflict_assign_cpu()

template<typename encap_src , typename encap_dst , typename vector_reduction >
openfpm::sparse_vector_reduction_solve_conflict_assign_cpu< encap_src, encap_dst, vector_reduction >::sparse_vector_reduction_solve_conflict_assign_cpu ( encap_src &  src,
encap_dst &  dst 
)
inline

constructor

Parameters
srcsource encapsulated object
dstsource encapsulated object

Definition at line 511 of file map_vector_sparse.hpp.


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