OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
pos_or_propL_ker< vector, prp > Struct Template Reference

selector for position or properties left side expression More...

Detailed Description

template<typename vector, unsigned int prp>
struct pos_or_propL_ker< vector, prp >

selector for position or properties left side expression

Template Parameters
vectortype of the original vector
prpproperty id

Definition at line 73 of file vector_dist_operators_cuda.cuh.

Static Public Member Functions

static __device__ auto value (vector &v, const unsigned int &k) -> decltype(v.template getProp< prp >(k))
 return the value (position or property) of the particle k in the vector v
 

Member Function Documentation

◆ value()

template<typename vector , unsigned int prp>
static __device__ auto pos_or_propL_ker< vector, prp >::value ( vector &  v,
const unsigned int &  k 
) -> decltype(v.template getProp<prp>(k))
inlinestatic

return the value (position or property) of the particle k in the vector v

Definition at line 76 of file vector_dist_operators_cuda.cuh.


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