OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
grid_key_dx_sum< dim, exp1, exp2 > Class Template Reference

Main class that encapsulate a sum expression. More...

Detailed Description

template<int dim, typename exp1, typename exp2>
class grid_key_dx_sum< dim, exp1, exp2 >

Main class that encapsulate a sum expression.

Parameters
dimdimensionality
exp1expression 1
exp2expression 2

Definition at line 7 of file grid_key_expression.hpp.

#include <grid_key_expression.hpp>

+ Inheritance diagram for grid_key_dx_sum< dim, exp1, exp2 >:

Public Member Functions

__device__ __host__ grid_key_dx_sum (const exp1 &ex1, const exp2 &ex2)
 
__device__ __host__ mem_id value (int i) const
 
- Public Member Functions inherited from grid_key_dx_expression< dim, grid_key_dx_sum< dim, exp1, exp2 > >
__device__ __host__ mem_id value (int i) const
 
__device__ __host__ grid_key_dx_sub< dim, grid_key_dx_expression< dim, grid_key_dx_sum< dim, exp1, exp2 > >, grid_key_dx< dim, index_type > > operator- (const grid_key_dx< dim, index_type > &key) const
 
__device__ __host__ grid_key_dx_sub< dim, grid_key_dx_expression< dim, grid_key_dx_sum< dim, exp1, exp2 > >, grid_key_dx_expression< dim, T > > operator- (const grid_key_dx_expression< dim, T > &key) const
 
__device__ __host__ grid_key_dx_sum< dim, grid_key_dx_expression< dim, grid_key_dx_sum< dim, exp1, exp2 > >, grid_key_dx< dim, index_type > > operator+ (const grid_key_dx< dim, index_type > &key) const
 
__device__ __host__ grid_key_dx_sum< dim, grid_key_dx_expression< dim, grid_key_dx_sum< dim, exp1, exp2 > >, grid_key_dx_expression< dim, T > > operator+ (const grid_key_dx_expression< dim, T > &key) const
 

Private Attributes

const exp1 & e1
 
const exp2 & e2
 

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