it take an expression and create the negatove of this expression More...
it take an expression and create the negatove of this expression
Definition at line 1633 of file FD_expressions.hpp.
#include <FD_expressions.hpp>
Public Types | |
typedef std::false_type | is_ker |
typedef exp1::gtype | gtype |
typedef boost::mpl::at< typenamegtype::value_type::type, boost::mpl::int_< exp1::prop > >::type | property_act |
property on which this view is acting | |
Public Member Functions | |
grid_dist_expression_op (const exp1 &o1, int(&comp)[n], int var_id) | |
constructor from an expresssion | |
const gtype & | getGrid () const |
Return the vector on which is acting. | |
gtype & | getGrid () |
Return the vector on which is acting. | |
void | init () const |
initialize the expression tree | |
auto | value (grid_dist_key_dx< gtype::dims > &key, comb< gtype::dims > &c_where) const -> decltype(get_grid_dist_expression_op< n, n==rank_gen< property_act >::type::value >::get(o1, key, c_where, comp)) |
Return the result of the expression. | |
auto | value_ref (grid_dist_key_dx< gtype::dims > &key, comb< gtype::dims > &c_where) const -> decltype(get_grid_dist_expression_op< n, n==rank_gen< property_act >::type::value >::get_ref(o1, key, c_where, comp)) |
Return the result of the expression. | |
auto | get (grid_dist_key_dx< gtype::dims > &key, comb< gtype::dims > &c_where) const -> decltype(value(key, c_where)) |
Return the result of the expression. | |
template<typename Sys_eqs , typename gmap_type , typename unordered_map_type > | |
void | value_nz (const gmap_type &g_map, grid_dist_key_dx< Sys_eqs::dims > &key, const grid_sm< Sys_eqs::dims, void > &gs, typename Sys_eqs::stype(&spacing)[Sys_eqs::dims], unordered_map_type &cols, typename Sys_eqs::stype coeff, unsigned int comp_, comb< Sys_eqs::dims > &c_where) const |
grid_dist_expression_op< exp1, boost::mpl::int_< n+1 >, g_comp > | operator[] (int comp_) |
gtype::stype | get (grid_dist_key_dx< gtype::dims > &key) |
template<unsigned int prp2, typename gtype2 , unsigned int impl> | |
gtype & | operator= (const grid_dist_expression< prp2, gtype2, impl > &v_exp) |
Fill the vector property with the evaluated expression. | |
template<typename exp1_ , typename exp2_ , typename op > | |
gtype & | operator= (const grid_dist_expression_op< exp1_, exp2_, op > &v_exp) |
Fill the vector property with the evaluated expression. | |
gtype & | operator= (double d) |
Fill the vector property with the double. | |
int | isConstant () |
Static Public Attributes | |
static const unsigned int | prop = exp1::prop |
Property id of the point. | |
Private Types | |
typedef grid_dist_expression_op< exp1, boost::mpl::int_< n >, g_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 exp1::gtype FD::grid_dist_expression_op< exp1, boost::mpl::int_< n >, g_comp >::gtype |
Definition at line 1653 of file FD_expressions.hpp.
typedef std::false_type FD::grid_dist_expression_op< exp1, boost::mpl::int_< n >, g_comp >::is_ker |
Definition at line 1651 of file FD_expressions.hpp.
|
private |
Definition at line 1647 of file FD_expressions.hpp.
typedef boost::mpl::at<typenamegtype::value_type::type,boost::mpl::int_<exp1::prop>>::type FD::grid_dist_expression_op< exp1, boost::mpl::int_< n >, g_comp >::property_act |
property on which this view is acting
Definition at line 1698 of file FD_expressions.hpp.
|
inline |
constructor from an expresssion
Definition at line 1660 of file FD_expressions.hpp.
|
inline |
Definition at line 1781 of file FD_expressions.hpp.
|
inline |
Return the result of the expression.
key | point where to evaluate |
Definition at line 1740 of file FD_expressions.hpp.
|
inline |
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
Definition at line 1686 of file FD_expressions.hpp.
|
inline |
Return the vector on which is acting.
It return the vector used in getVExpr, to get this object
Definition at line 1674 of file FD_expressions.hpp.
|
inline |
initialize the expression tree
Definition at line 1692 of file FD_expressions.hpp.
|
inline |
Definition at line 1876 of file FD_expressions.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1796 of file FD_expressions.hpp.
|
inline |
Fill the vector property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 1826 of file FD_expressions.hpp.
|
inline |
Fill the vector property with the double.
d | value to fill |
Definition at line 1856 of file FD_expressions.hpp.
|
inline |
Definition at line 1767 of file FD_expressions.hpp.
|
inlineprivate |
Definition at line 1642 of file FD_expressions.hpp.
|
inline |
Return the result of the expression.
key | point where to evaluate |
Definition at line 1710 of file FD_expressions.hpp.
|
inline |
Definition at line 1746 of file FD_expressions.hpp.
|
inline |
Return the result of the expression.
key | point where to evaluate |
Definition at line 1725 of file FD_expressions.hpp.
|
private |
component
Definition at line 1639 of file FD_expressions.hpp.
|
private |
expression 1
Definition at line 1636 of file FD_expressions.hpp.
|
static |
Property id of the point.
Definition at line 1656 of file FD_expressions.hpp.
|
private |
Definition at line 1641 of file FD_expressions.hpp.