OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
apply_kernel_is_number_or_expression_gen< T, vector, exp, NN_type, Kernel, rtype, is_exp > Struct Template Reference

Apply the kernel to particle differently that is a number or is an expression. More...

Detailed Description

template<typename T, typename vector, typename exp, typename NN_type, typename Kernel, typename rtype, bool is_exp = is_expression<T>::value>
struct apply_kernel_is_number_or_expression_gen< T, vector, exp, NN_type, Kernel, rtype, is_exp >

Apply the kernel to particle differently that is a number or is an expression.

Definition at line 196 of file vector_dist_operators_apply_kernel.hpp.

#include <vector_dist_operators_apply_kernel.hpp>

Static Public Member Functions

static std::remove_reference
< rtype >::type 
apply (const vector &vd, NN_type &cl, const exp &v_exp, const vect_dist_key_dx &key, Kernel &lker)
 Apply the kernel expression to a particle. More...
 

Member Function Documentation

template<typename T , typename vector , typename exp , typename NN_type , typename Kernel , typename rtype , bool is_exp = is_expression<T>::value>
static std::remove_reference<rtype>::type apply_kernel_is_number_or_expression_gen< T, vector, exp, NN_type, Kernel, rtype, is_exp >::apply ( const vector &  vd,
NN_type &  cl,
const exp &  v_exp,
const vect_dist_key_dx key,
Kernel &  lker 
)
inlinestatic

Apply the kernel expression to a particle.

Parameters
vdvector with the particles positions
clCell-list
v_expexpression to execute for each particle
keyto which particle to apply the expression
lkerkernel function
Returns
the result of apply the kernel on the particle key

Definition at line 209 of file vector_dist_operators_apply_kernel.hpp.


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