OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
vector_dist_expression< 16384, point > Class Template Reference

This class represent a constant parameter in a vector expression. More...

Detailed Description

template<typename point>
class vector_dist_expression< 16384, point >

This class represent a constant parameter in a vector expression.

Template Parameters
pointtype of point

Definition at line 33 of file vector_dist_operators_extensions.hpp.

#include <vector_dist_operators_extensions.hpp>

Public Types

typedef void vtype
 
typedef boost::mpl::bool_< false > is_sort
 result for is sort
 
typedef void NN_type
 NN_type.
 

Public Member Functions

 vector_dist_expression (point p)
 vector expression from a constant point
 
void init () const
 This function must be called before value.
 
__device__ __host__ point value (const vect_dist_key_dx &k) const
 Evaluate the expression.
 

Private Attributes

point p
 constant point stored
 

Member Typedef Documentation

◆ is_sort

template<typename point >
typedef boost::mpl::bool_<false> vector_dist_expression< 16384, point >::is_sort

result for is sort

Definition at line 43 of file vector_dist_operators_extensions.hpp.

◆ NN_type

template<typename point >
typedef void vector_dist_expression< 16384, point >::NN_type

NN_type.

Definition at line 46 of file vector_dist_operators_extensions.hpp.

◆ vtype

template<typename point >
typedef void vector_dist_expression< 16384, point >::vtype

Definition at line 40 of file vector_dist_operators_extensions.hpp.

Constructor & Destructor Documentation

◆ vector_dist_expression()

template<typename point >
vector_dist_expression< 16384, point >::vector_dist_expression ( point  p)
inline

vector expression from a constant point

Definition at line 49 of file vector_dist_operators_extensions.hpp.

Member Function Documentation

◆ init()

template<typename point >
void vector_dist_expression< 16384, point >::init ( ) const
inline

This function must be called before value.

it initialize the expression if needed

Definition at line 58 of file vector_dist_operators_extensions.hpp.

◆ value()

template<typename point >
__device__ __host__ point vector_dist_expression< 16384, point >::value ( const vect_dist_key_dx k) const
inline

Evaluate the expression.

Parameters
kwhere to evaluate the expression (ignored)
Returns
the point stored

Definition at line 68 of file vector_dist_operators_extensions.hpp.

Field Documentation

◆ p

template<typename point >
point vector_dist_expression< 16384, point >::p
private

constant point stored

Definition at line 36 of file vector_dist_operators_extensions.hpp.


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