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

Detailed Description

template<template< typename, typename > class op, unsigned int dim, typename Tsrc, typename Tdst, unsigned int ... prp>
class copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >

Definition at line 204 of file SparseGrid.hpp.

Public Member Functions

 copy_sparse_to_sparse_op (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 Types

typedef to_boost_vmpl< prp... >::type v_prp
 Convert the packed properties into an MPL vector.
 

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
 

Member Typedef Documentation

◆ v_prp

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
typedef to_boost_vmpl<prp...>::type copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::v_prp
private

Convert the packed properties into an MPL vector.

Definition at line 219 of file SparseGrid.hpp.

Constructor & Destructor Documentation

◆ copy_sparse_to_sparse_op()

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::copy_sparse_to_sparse_op ( const Tsrc &  src,
Tdst &  dst,
grid_key_dx< dim > &  pos_src,
grid_key_dx< dim > &  pos_dst 
)
inline

Definition at line 223 of file SparseGrid.hpp.

Member Function Documentation

◆ operator()()

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
template<typename T >
void copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::operator() ( T &  t) const
inline

It call the copy function for each property.

Definition at line 229 of file SparseGrid.hpp.

Field Documentation

◆ dst

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
Tdst& copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::dst
private

destination

Definition at line 210 of file SparseGrid.hpp.

◆ pos_dst

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
grid_key_dx<dim>& copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::pos_dst
private

destination position

Definition at line 216 of file SparseGrid.hpp.

◆ pos_src

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
grid_key_dx<dim>& copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::pos_src
private

source position

Definition at line 213 of file SparseGrid.hpp.

◆ src

template<template< typename, typename > class op, unsigned int dim, typename Tsrc , typename Tdst , unsigned int ... prp>
const Tsrc& copy_sparse_to_sparse_op< op, dim, Tsrc, Tdst, prp >::src
private

source

Definition at line 207 of file SparseGrid.hpp.


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