OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
apply_kernel_is_number_or_expression_sim< impl, 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<unsigned int impl, typename vector, typename exp, typename NN_type, typename Kernel, typename rtype>
struct apply_kernel_is_number_or_expression_sim< impl, vector, exp, NN_type, Kernel, rtype >

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

Definition at line 168 of file vector_dist_operators_apply_kernel.hpp.

#include <vector_dist_operators_apply_kernel.hpp>

Static Public Member Functions

__device__ static __host__ 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.
 

Member Function Documentation

◆ apply()

template<unsigned int impl, typename vector , typename exp , typename NN_type , typename Kernel , typename rtype >
__device__ static __host__ std::remove_reference< rtype >::type apply_kernel_is_number_or_expression_sim< impl, 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 180 of file vector_dist_operators_apply_kernel.hpp.


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