this class is a functor for "for_each" algorithm More...
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 calculate the interpolation points for each property in a staggered grid
dim | Dimensionality |
v_prp_id | vector of properties id |
v_prp_type | vector with the properties |
Definition at line 826 of file staggered_dist_grid_util.hpp.
#include <staggered_dist_grid_util.hpp>
Public Types | |
typedef boost::mpl::size < v_prp_id > | v_size |
Public Member Functions | |
openfpm::vector< std::vector < comb< dim > > >(&interp_pts)[v_size const openfpm::vector< comb < dim > >(&stag_pos)[v_size | interp_points (openfpm::vector< std::vector< comb< dim >>>(&interp_pts)[v_size::value], const openfpm::vector< comb< dim >>(&stag_pos)[v_size::value]) |
constructor More... | |
template<typename T > | |
void | operator() (T &t) |
It call the copy function for each property. | |
|
inline |
constructor
It define the copy parameters.
inter_pts | array that for each property contain the interpolation points for each components |
staggered | position for each property and components |
Definition at line 856 of file staggered_dist_grid_util.hpp.