OpenFPM  5.2.0
Project that contain the implementation of distributed structures
vector_dist_expression< 16384, point > Class Template Reference

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

#include <vector_dist_operators_extensions.hpp>

Public Types

typedef void vtype
 
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. More...
 
__device__ __host__ point value (const vect_dist_key_dx &k) const
 Evaluate the expression. More...
 

Private Attributes

point p
 constant point stored
 

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.

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 55 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 65 of file vector_dist_operators_extensions.hpp.


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