Class that select the operation to do differently if we are doing Mesh to particle (m2p) or particle to mesh (p2m)  
 More...
template<unsigned int np, unsigned int prp_g, unsigned int prp_v, unsigned int m2p_or_p2m>
struct inte_template< np, prp_g, prp_v, m2p_or_p2m >
Class that select the operation to do differently if we are doing Mesh to particle (m2p) or particle to mesh (p2m) 
- Template Parameters
 - 
  
    | prp_g | property of the grid to interpolate  | 
    | prp_v | property of the vector to interpolate  | 
  
   
- Parameters
 - 
  
  
 
Definition at line 108 of file interpolation.hpp.
 
#include <interpolation.hpp>
 | 
| 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.  More...
  | 
|   | 
template<unsigned int np, unsigned int prp_g, unsigned int prp_v, unsigned int m2p_or_p2m> 
template<unsigned int np_a_int, typename grid , typename vector , typename iterator > 
  
  
      
        
          | static void inte_template< np, prp_g, prp_v, m2p_or_p2m >::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  | 
         
        
           | 
          ) | 
           |  | 
         
       
   | 
  
inlinestatic   | 
  
 
Evaluate the interpolation. 
- Template Parameters
 - 
  
    | np | number of kernel points in one direction  | 
    | grid | type of grid  | 
    | vector | type of vector  | 
    | iterator | type of the iterator | 
  
   
- Parameters
 - 
  
    | 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.
 
 
The documentation for this struct was generated from the following file: