OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
interp_ele_sca_array< copy_type, Tsrc, Tdst, Grid_src, Grid_dst, sa > Struct Template Reference

Add scalar elements. More...

Detailed Description

template<typename copy_type, typename Tsrc, typename Tdst, typename Grid_src, typename Grid_dst, int sa>
struct interp_ele_sca_array< copy_type, Tsrc, Tdst, Grid_src, Grid_dst, sa >

Add scalar elements.

Template Parameters
copy_typeType that should be copied
Tproperty id to copy
Grid_srcStaggered source Grid
sadimensionality of the array 0 is a scalar

Definition at line 20 of file staggered_dist_grid_copy.hpp.

#include <staggered_dist_grid_copy.hpp>

Static Public Member Functions

static void interp (Grid_dst &grid_dst, const grid_dist_key_dx< Grid_dst::dims > &key_dst, const Grid_src &x, const grid_dist_key_dx< Grid_src::dims > &key_src, const openfpm::vector< std::vector< comb< Grid_src::dims > > > &interp_pos)
 

Member Function Documentation

◆ interp()

template<typename copy_type , typename Tsrc , typename Tdst , typename Grid_src , typename Grid_dst , int sa>
static void interp_ele_sca_array< copy_type, Tsrc, Tdst, Grid_src, Grid_dst, sa >::interp ( Grid_dst &  grid_dst,
const grid_dist_key_dx< Grid_dst::dims > &  key_dst,
const Grid_src &  x,
const grid_dist_key_dx< Grid_src::dims > &  key_src,
const openfpm::vector< std::vector< comb< Grid_src::dims > > > &  interp_pos 
)
inlinestatic

Definition at line 22 of file staggered_dist_grid_copy.hpp.


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