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_sim< vector, exp, NN_type, Kernel, rtype > Struct Template Reference

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

Detailed Description

template<typename vector, typename exp, typename NN_type, typename Kernel, typename rtype>
struct apply_kernel_is_number_or_expression_sim< vector, exp, NN_type, Kernel, rtype >

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

Definition at line 145 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 vect_dist_key_dx &key, Kernel &lker)
 Apply the kernel expression to a particle. More...
 

Member Function Documentation

template<typename vector , typename exp , typename NN_type , typename Kernel , typename rtype >
static std::remove_reference<rtype>::type apply_kernel_is_number_or_expression_sim< vector, exp, NN_type, Kernel, rtype >::apply ( const vector &  vd,
NN_type &  cl,
const vect_dist_key_dx key,
Kernel &  lker 
)
inlinestatic

Apply the kernel expression to a particle.

Parameters
vdvector with the particles positions
clCell-list (symmetric version)
keyto which particle to apply the expression
lkerkernel function
Returns
the result of apply the kernel on the particle key

Definition at line 157 of file vector_dist_operators_apply_kernel.hpp.


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