Class that select the operation to do differently if we are doing Mesh to particle (m2p) or particle to mesh (p2m) More...
Class that select the operation to do differently if we are doing Mesh to particle (m2p) or particle to mesh (p2m)
prp_g | property of the grid to interpolate |
prp_v | property of the vector to interpolate |
M2P | or P2M |
Definition at line 108 of file interpolation.hpp.
#include <interpolation.hpp>
Static Public Member Functions | |
template<unsigned int np_a_int, typename grid , typename vector , typename iterator > | |
static void | value (grid &gd, vector &vd, const grid_dist_lin_dx &k_dist, iterator &key_p, typename vector::stype(&a_int)[np_a_int], const size_t &key) |
Evaluate the interpolation. | |
|
inlinestatic |
Evaluate the interpolation.
np | number of kernel points in one direction |
grid | type of grid |
vector | type of vector |
iterator | type of the iterator |
gd | grid for interpolation |
vd | vector for interpolation |
k_dist | grid key grid point for interpolation |
key_p | particle for interpolation |
a_int | interpolation coefficients pre-calculated |
key | indicate which pre-calculated coefficient we have to use |
Definition at line 125 of file interpolation.hpp.