it take an expression and take the component More...
it take an expression and take the component
Definition at line 1687 of file vector_dist_operators.hpp.
#include <vector_dist_operators.hpp>
Public Types | |
typedef std::false_type | is_ker |
typedef boost::mpl::bool_< false > | is_sort |
result for is sort | |
typedef boost::mpl::bool_< false > | NN_type |
result for is sort | |
typedef exp1::vtype | vtype |
typedef pos_or_propL< vtype, exp1::prop >::property_act | property_act |
property on which this view is acting | |
Public Member Functions | |
vector_dist_expression_op (const exp1 &o1, int(&comp)[n], int var_id) | |
constructor from an expresssion | |
__device__ __host__ const vtype & | getVector () const |
Return the vector on which is acting. | |
__device__ __host__ vtype & | getVector () |
Return the vector on which is acting. | |
void | init () const |
initialize the expression tree | |
__host__ __device__ auto | value (const vect_dist_key_dx &key) const -> decltype(get_vector_dist_expression_op< n, n==rank_gen< property_act >::type::value >::get(o1, vect_dist_key_dx(0), comp)) |
Return the result of the expression. | |
__host__ __device__ auto | value (const vect_dist_key_dx &key) -> decltype(get_vector_dist_expression_op< n, n==rank_gen< property_act >::type::value >::get(o1, vect_dist_key_dx(0), comp)) |
Return the result of the expression. | |
auto | get (const vect_dist_key_dx &key) const -> decltype(value(key)) |
Return the result of the expression. | |
template<typename Sys_eqs , typename pmap_type , typename unordered_map_type , typename coeff_type > | |
void | value_nz (pmap_type &p_map, const vect_dist_key_dx &key, unordered_map_type &cols, coeff_type &coeff, unsigned int comp_) const |
vector_dist_expression_op< exp1, boost::mpl::int_< 2 >, VECT_COMP > | operator[] (int comp_) |
template<typename T , typename memory > | |
vtype & | operator= (const vector_dist_expression< 0, openfpm::vector< aggregate< T >, memory > > &v_exp) |
Fill the vector property with the evaluated expression. | |
template<unsigned int prp2> | |
vtype & | operator= (const vector_dist_expression< prp2, vtype > &v_exp) |
Fill the vector property with the evaluated expression. | |
template<typename exp1_ , typename exp2_ , unsigned int op> | |
vtype & | operator= (const vector_dist_expression_op< exp1_, exp2_, op > &v_exp) |
Fill the vector property with the evaluated expression. | |
vtype & | operator= (double d) |
Fill the vector property with the double. | |
Private Types | |
typedef vector_dist_expression_op< exp1, boost::mpl::int_< n >, VECT_COMP > | myself |
Private Member Functions | |
void | setVarId (int var_id) |
Private Attributes | |
exp1 | o1 |
expression 1 | |
int | comp [n] |
component | |
int | var_id = 0 |
typedef std::false_type vector_dist_expression_op< exp1, boost::mpl::int_< n >, VECT_COMP >::is_ker |
Definition at line 1705 of file vector_dist_operators.hpp.
typedef boost::mpl::bool_<false> vector_dist_expression_op< exp1, boost::mpl::int_< n >, VECT_COMP >::is_sort |
result for is sort
Definition at line 1708 of file vector_dist_operators.hpp.
|
private |
Definition at line 1701 of file vector_dist_operators.hpp.
typedef boost::mpl::bool_<false> vector_dist_expression_op< exp1, boost::mpl::int_< n >, VECT_COMP >::NN_type |
result for is sort
Definition at line 1711 of file vector_dist_operators.hpp.
typedef pos_or_propL<vtype,exp1::prop>::property_act vector_dist_expression_op< exp1, boost::mpl::int_< n >, VECT_COMP >::property_act |
property on which this view is acting
Definition at line 1756 of file vector_dist_operators.hpp.
typedef exp1::vtype vector_dist_expression_op< exp1, boost::mpl::int_< n >, VECT_COMP >::vtype |
Definition at line 1713 of file vector_dist_operators.hpp.
|
inline |
constructor from an expresssion
Definition at line 1717 of file vector_dist_operators.hpp.
|
inline |
Return the result of the expression.
key | point where to evaluate |
Definition at line 1798 of file vector_dist_operators.hpp.
|
inline |
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
Definition at line 1743 of file vector_dist_operators.hpp.
|
inline |
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
Definition at line 1731 of file vector_dist_operators.hpp.
|
inline |
initialize the expression tree
Definition at line 1749 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1838 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1871 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1903 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the double.
d | value to fill |
Definition at line 1934 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1818 of file vector_dist_operators.hpp.
|
inlineprivate |
Definition at line 1696 of file vector_dist_operators.hpp.
|
inline |
Return the result of the expression.
key | point where to evaluate |
Definition at line 1783 of file vector_dist_operators.hpp.
|
inline |
Return the result of the expression.
key | point where to evaluate |
Definition at line 1768 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1804 of file vector_dist_operators.hpp.
|
private |
component
Definition at line 1693 of file vector_dist_operators.hpp.
|
private |
expression 1
Definition at line 1690 of file vector_dist_operators.hpp.
|
private |
Definition at line 1695 of file vector_dist_operators.hpp.