OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
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 32 of file vector_dist_operators_extensions.hpp.

#include <vector_dist_operators_extensions.hpp>

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

Private Attributes

point p
 constant point stored
 

Member Function Documentation

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

template<typename point >
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 59 of file vector_dist_operators_extensions.hpp.


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