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

Member Function Documentation

◆ operator()()

template<typename encap_src , typename encap_dst , typename vector_reduction >
template<typename T >
void openfpm::sparse_vector_reduction_solve_conflict_assign_cpu< encap_src, encap_dst, vector_reduction >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 515 of file map_vector_sparse.hpp.

Field Documentation

◆ dst

template<typename encap_src , typename encap_dst , typename vector_reduction >
encap_dst& openfpm::sparse_vector_reduction_solve_conflict_assign_cpu< encap_src, encap_dst, vector_reduction >::dst

destination

Definition at line 500 of file map_vector_sparse.hpp.

◆ src

template<typename encap_src , typename encap_dst , typename vector_reduction >
encap_src& openfpm::sparse_vector_reduction_solve_conflict_assign_cpu< encap_src, encap_dst, vector_reduction >::src

source

Definition at line 497 of file map_vector_sparse.hpp.


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