OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
FD::pos_or_propL< grid_type, prp > Struct Template Reference

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

Detailed Description

template<typename grid_type, unsigned int prp>
struct FD::pos_or_propL< grid_type, prp >

selector for position or properties left side expression

Template Parameters
vectortype of the original vector
prpproperty id

Definition at line 1445 of file FD_expressions.hpp.

#include <FD_expressions.hpp>

Static Public Member Functions

__device__ static __host__ auto value (grid_type &v, const grid_dist_key_dx< grid_type::dims > &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 grid_type , unsigned int prp>
__device__ static __host__ auto FD::pos_or_propL< grid_type, prp >::value ( grid_type v,
const grid_dist_key_dx< grid_type::dims > &  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 1448 of file FD_expressions.hpp.


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