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

Detailed Description

template<unsigned int dim, typename Tsrc, typename Tdst>
class copy_sparse_to_sparse< dim, Tsrc, Tdst >

Definition at line 91 of file SparseGrid.hpp.

Public Member Functions

 copy_sparse_to_sparse (const Tsrc &src, Tdst &dst, grid_key_dx< dim > &pos_src, grid_key_dx< dim > &pos_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
 
grid_key_dx< dim > & pos_src
 source position
 
grid_key_dx< dim > & pos_dst
 destination position
 

Constructor & Destructor Documentation

◆ copy_sparse_to_sparse()

template<unsigned int dim, typename Tsrc , typename Tdst >
copy_sparse_to_sparse< dim, Tsrc, Tdst >::copy_sparse_to_sparse ( const Tsrc &  src,
Tdst &  dst,
grid_key_dx< dim > &  pos_src,
grid_key_dx< dim > &  pos_dst 
)
inline

Definition at line 107 of file SparseGrid.hpp.

Member Function Documentation

◆ operator()()

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

It call the copy function for each property.

Definition at line 113 of file SparseGrid.hpp.

Field Documentation

◆ dst

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

destination

Definition at line 97 of file SparseGrid.hpp.

◆ pos_dst

template<unsigned int dim, typename Tsrc , typename Tdst >
grid_key_dx<dim>& copy_sparse_to_sparse< dim, Tsrc, Tdst >::pos_dst
private

destination position

Definition at line 103 of file SparseGrid.hpp.

◆ pos_src

template<unsigned int dim, typename Tsrc , typename Tdst >
grid_key_dx<dim>& copy_sparse_to_sparse< dim, Tsrc, Tdst >::pos_src
private

source position

Definition at line 100 of file SparseGrid.hpp.

◆ src

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

source

Definition at line 94 of file SparseGrid.hpp.


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