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

selector for position or properties left side More...

Detailed Description

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

selector for position or properties left side

Template Parameters
vectortype of the original vector
prpproperty id

Definition at line 91 of file vector_dist_operators_cuda.cuh.

Public Types

typedef Point< vector::dims, typenamevector::stype >::type_native property_act
 

Static Public Member Functions

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

Member Typedef Documentation

◆ property_act

template<typename vector >
typedef Point<vector::dims,typenamevector::stype>::type_native pos_or_propL< vector, PROP_POS >::property_act

Definition at line 93 of file vector_dist_operators_cuda.cuh.

Member Function Documentation

◆ value()

template<typename vector >
__device__ static __host__ auto pos_or_propL< vector, PROP_POS >::value ( vector &  v,
const vect_dist_key_dx k 
) -> decltype(ger<vector::dims,typename vector::stype>::getExprL(v.getPos(k)))
inlinestatic

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

Definition at line 106 of file vector_dist_operators_cuda.cuh.

◆ value_type()

template<typename vector >
static auto pos_or_propL< vector, PROP_POS >::value_type ( vector &&  v,
const vect_dist_key_dx k 
) -> decltype(v.getPos(k))
inlinestatic

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

Definition at line 112 of file vector_dist_operators_cuda.cuh.


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