OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
grid_key_dx_expression< dim, exp > Class Template Reference

Expression template for grid_key_dx. More...

Detailed Description

template<unsigned int dim, typename exp>
class grid_key_dx_expression< dim, exp >

Expression template for grid_key_dx.

Main class that encapsulate an expression

Parameters
dimdimensionality
expexpression type

Definition at line 22 of file grid_key_expression.hpp.

#include <grid_key_expression.hpp>

Public Member Functions

__device__ __host__ mem_id value (int i) const
 
template<typename index_type >
__device__ __host__ grid_key_dx_sub< dim, grid_key_dx_expression< dim, exp >, grid_key_dx< dim, index_type > > operator- (const grid_key_dx< dim, index_type > &key) const
 
template<typename T >
__device__ __host__ grid_key_dx_sub< dim, grid_key_dx_expression< dim, exp >, grid_key_dx_expression< dim, T > > operator- (const grid_key_dx_expression< dim, T > &key) const
 
template<typename index_type >
__device__ __host__ grid_key_dx_sum< dim, grid_key_dx_expression< dim, exp >, grid_key_dx< dim, index_type > > operator+ (const grid_key_dx< dim, index_type > &key) const
 
template<typename T >
__device__ __host__ grid_key_dx_sum< dim, grid_key_dx_expression< dim, exp >, grid_key_dx_expression< dim, T > > operator+ (const grid_key_dx_expression< dim, T > &key) const
 

Member Function Documentation

◆ operator+() [1/2]

template<unsigned int dim, typename exp >
template<typename index_type >
__device__ __host__ grid_key_dx_sum< dim, grid_key_dx_expression< dim, exp >, grid_key_dx< dim, index_type > > grid_key_dx_expression< dim, exp >::operator+ ( const grid_key_dx< dim, index_type > &  key) const
inline

Definition at line 69 of file grid_key_expression.hpp.

◆ operator+() [2/2]

template<unsigned int dim, typename exp >
template<typename T >
__device__ __host__ grid_key_dx_sum< dim, grid_key_dx_expression< dim, exp >, grid_key_dx_expression< dim, T > > grid_key_dx_expression< dim, exp >::operator+ ( const grid_key_dx_expression< dim, T > &  key) const
inline

Definition at line 84 of file grid_key_expression.hpp.

◆ operator-() [1/2]

template<unsigned int dim, typename exp >
template<typename index_type >
__device__ __host__ grid_key_dx_sub< dim, grid_key_dx_expression< dim, exp >, grid_key_dx< dim, index_type > > grid_key_dx_expression< dim, exp >::operator- ( const grid_key_dx< dim, index_type > &  key) const
inline

Definition at line 39 of file grid_key_expression.hpp.

◆ operator-() [2/2]

template<unsigned int dim, typename exp >
template<typename T >
__device__ __host__ grid_key_dx_sub< dim, grid_key_dx_expression< dim, exp >, grid_key_dx_expression< dim, T > > grid_key_dx_expression< dim, exp >::operator- ( const grid_key_dx_expression< dim, T > &  key) const
inline

Definition at line 54 of file grid_key_expression.hpp.

◆ value()

template<unsigned int dim, typename exp >
__device__ __host__ mem_id grid_key_dx_expression< dim, exp >::value ( int  i) const
inline

Definition at line 26 of file grid_key_expression.hpp.


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