Main class that encapsulate a vector properties operand to be used for expressions construction Temporal Expressions. More...
Main class that encapsulate a vector properties operand to be used for expressions construction Temporal Expressions.
prp | property involved |
vector | involved |
Definition at line 1213 of file vector_dist_operators.hpp.
#include <vector_dist_operators.hpp>
Public Types | |
typedef T * | iterator |
typedef const T * | const_iterator |
typedef has_vector_kernel< vector >::type | is_ker |
typedef vector | vtype |
The type of the internal vector. | |
typedef T | value_type |
The type of the internal value. | |
typedef boost::mpl::bool_< false > | is_sort |
result for is sort | |
typedef void | NN_type |
NN_type. | |
Public Member Functions | |
void | setVarId (int var_id) |
iterator | begin () |
const_iterator | begin () const |
iterator | end () |
const_iterator | end () const |
size_t | size () const |
void | resize (size_t n) |
template<unsigned int prp2, typename vector2 > | |
vector_dist_expression_impl (const vector_dist_expression< prp2, vector2 > &v_exp) | |
template<typename exp1 , typename exp2 , unsigned int op> | |
vector_dist_expression_impl (const vector_dist_expression_op< exp1, exp2, op > &v_exp) | |
void * | getNN () const |
get the NN object | |
__device__ __host__ const vector & | getVector () const |
Return the vector on which is acting. | |
__device__ __host__ vector & | getVector () |
Return the vector on which is acting. | |
void | init () const |
This function must be called before value. | |
__host__ __device__ auto | value (const vect_dist_key_dx &k) const -> decltype(v.template get< 0 >(k.getKey())) |
Evaluate the expression. | |
template<unsigned int prp2, typename vector2 > | |
vector & | operator= (const vector_dist_expression< prp2, vector2 > &v_exp) |
Fill the vector property with the evaluated expression. | |
template<typename exp1 , typename exp2 , unsigned int op> | |
vector & | operator= (const vector_dist_expression_op< exp1, exp2, op > &v_exp) |
Fill the vector property with the evaluated expression. | |
vector & | operator= (double d) |
Fill the vector property with the double. | |
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< vector_dist_expression< 0, vector >, boost::mpl::int_< 1 >, VECT_COMP > | operator[] (int comp) |
Data Fields | |
int | var_id = 0 |
Static Public Attributes | |
static const unsigned int | prop = 0 |
Property id of the point. | |
Private Types | |
typedef vector_type | vector |
Internal vector. | |
typedef boost::mpl::at< typenamevector_type::value_type::type, boost::mpl::int_< 0 > >::type | T |
Private Attributes | |
vector | v |
The temporal vector. | |
typedef const T* vector_dist_expression_impl< vector_type >::const_iterator |
Definition at line 1224 of file vector_dist_operators.hpp.
typedef has_vector_kernel<vector>::type vector_dist_expression_impl< vector_type >::is_ker |
Definition at line 1226 of file vector_dist_operators.hpp.
typedef boost::mpl::bool_<false> vector_dist_expression_impl< vector_type >::is_sort |
result for is sort
Definition at line 1235 of file vector_dist_operators.hpp.
typedef T* vector_dist_expression_impl< vector_type >::iterator |
Definition at line 1223 of file vector_dist_operators.hpp.
typedef void vector_dist_expression_impl< vector_type >::NN_type |
NN_type.
Definition at line 1238 of file vector_dist_operators.hpp.
|
private |
Definition at line 1217 of file vector_dist_operators.hpp.
typedef T vector_dist_expression_impl< vector_type >::value_type |
The type of the internal value.
Definition at line 1232 of file vector_dist_operators.hpp.
|
private |
Internal vector.
Definition at line 1216 of file vector_dist_operators.hpp.
typedef vector vector_dist_expression_impl< vector_type >::vtype |
The type of the internal vector.
Definition at line 1229 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1292 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1296 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1302 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1251 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1254 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1257 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1260 of file vector_dist_operators.hpp.
|
inline |
|
inline |
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
Definition at line 1336 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 1324 of file vector_dist_operators.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 1346 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1369 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1408 of file vector_dist_operators.hpp.
|
inline |
Fill the vector property with the double.
d | value to fill |
Definition at line 1445 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1457 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1266 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1245 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1263 of file vector_dist_operators.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Definition at line 1356 of file vector_dist_operators.hpp.
|
inline |
Definition at line 1452 of file vector_dist_operators.hpp.
|
static |
Property id of the point.
Definition at line 1241 of file vector_dist_operators.hpp.
|
mutableprivate |
The temporal vector.
Definition at line 1219 of file vector_dist_operators.hpp.
int vector_dist_expression_impl< vector_type >::var_id = 0 |
Definition at line 1243 of file vector_dist_operators.hpp.