OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
pos_or_propR< vector, PROP_POS > Struct Template Reference

selector for position or properties right side More...

Detailed Description

template<typename vector>
struct pos_or_propR< vector, PROP_POS >

selector for position or properties right side

Template Parameters
vectortype of the original vector
prpproperty id

Definition at line 182 of file vector_dist_operators_cuda.cuh.

Static Public Member Functions

__device__ static __host__ auto value (vector &v, const vect_dist_key_dx &k) -> decltype(ger< vector::dims, typename vector::stype >::getExprR(v.getPos(k)))
 return the value (position or property) of the particle k in the vector v
 
__device__ static __host__ auto value (vector &v, const unsigned int &k) -> decltype(ger< vector::dims, typename vector::stype >::getExprR(v.getPos(k)))
 return the value (position or property) of the particle k in the vector v
 

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