OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType > Class Template Reference

Detailed Description

template<unsigned int dim, typename Tsrc, typename Tdst, typename aggrType>
class copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >

Definition at line 168 of file SparseGrid.hpp.

Public Member Functions

 copy_sparse_to_sparse_bb (const Tsrc &src, Tdst &dst, short int pos_id_src, short int pos_id_dst)
 
template<typename T >
void operator() (T &t) const
 It call the copy function for each property.
 

Private Attributes

const Tsrc & src
 source
 
Tdst & dst
 destination
 
short int pos_id_src
 source position
 
short int pos_id_dst
 destination position
 

Constructor & Destructor Documentation

◆ copy_sparse_to_sparse_bb()

template<unsigned int dim, typename Tsrc , typename Tdst , typename aggrType >
copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >::copy_sparse_to_sparse_bb ( const Tsrc &  src,
Tdst &  dst,
short int  pos_id_src,
short int  pos_id_dst 
)
inline

Definition at line 184 of file SparseGrid.hpp.

Member Function Documentation

◆ operator()()

template<unsigned int dim, typename Tsrc , typename Tdst , typename aggrType >
template<typename T >
void copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 190 of file SparseGrid.hpp.

Field Documentation

◆ dst

template<unsigned int dim, typename Tsrc , typename Tdst , typename aggrType >
Tdst& copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >::dst
private

destination

Definition at line 174 of file SparseGrid.hpp.

◆ pos_id_dst

template<unsigned int dim, typename Tsrc , typename Tdst , typename aggrType >
short int copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >::pos_id_dst
private

destination position

Definition at line 180 of file SparseGrid.hpp.

◆ pos_id_src

template<unsigned int dim, typename Tsrc , typename Tdst , typename aggrType >
short int copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >::pos_id_src
private

source position

Definition at line 177 of file SparseGrid.hpp.

◆ src

template<unsigned int dim, typename Tsrc , typename Tdst , typename aggrType >
const Tsrc& copy_sparse_to_sparse_bb< dim, Tsrc, Tdst, aggrType >::src
private

source

Definition at line 171 of file SparseGrid.hpp.


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