Definition at line 747 of file FD_expressions.hpp.
Public Types | |
typedef grid | gtype |
The type of the internal grid. | |
Public Member Functions | |
void | setVarId (int var_id) |
grid_dist_expression (grid &g) | |
constructor for an external grid | |
grid & | getGrid () |
Return the grid on which is acting. | |
const grid & | getGrid () const |
Return the grid on which is acting. | |
void | init () const |
This function must be called before value. | |
auto | value_ref (const grid_dist_key_dx< grid::dims > &k, comb< grid::dims > &c_where) const -> decltype(grid_dist_expression_value_impl< type_proc >::template value_ref< prp >(g, k)) |
Evaluate the expression. | |
template<unsigned int nc> | |
auto | value_ref (const grid_dist_key_dx< grid::dims > &k, comb< grid::dims > &c_where, const int(&comp)[nc]) const -> decltype(grid_dist_expression_value_impl< type_proc >::template value_ref< prp >(g, k, comp)) |
Evaluate the expression. | |
auto | value (grid_dist_key_dx< grid::dims > &k, comb< grid::dims > &c_where) const -> decltype(grid_dist_expression_value_impl< type_proc >::template inte< prp >(g, k, c_where, c_where)) |
Evaluate the expression. | |
template<unsigned int nc> | |
auto | value (const grid_dist_key_dx< grid::dims > &k, comb< grid::dims > &c_where, const int(&comp)[nc]) const -> decltype(grid_dist_expression_value_impl< type_proc >::template inte< prp >(g, k, c_where, c_where, comp)) |
Evaluate the expression. | |
template<unsigned int prp2> | |
grid & | operator= (const grid_dist_expression< prp2, grid, STAG_EXPRESSION > &g_exp) |
Fill the grid property with the evaluated expression. | |
template<typename exp1 , typename exp2 , typename op > | |
grid & | operator= (const grid_dist_expression_op< exp1, exp2, op > &g_exp) |
Fill the grid property with the evaluated expression. | |
grid & | operator= (double d) |
Fill the grid property with the double. | |
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< grid_dist_expression< prp, grid, STAG_EXPRESSION >, boost::mpl::int_< 1 >, g_comp > | operator[] (int comp) |
Data Fields | |
int | var_id = 0 |
Static Public Attributes | |
static const unsigned int | prop = prp |
Property id of the point. | |
Private Types | |
typedef boost::mpl::at< typenamegrid::value_type::type, boost::mpl::int_< prp > >::type | type_proc |
Private Attributes | |
grid & | g |
The grid. | |
typedef grid FD::grid_dist_expression< prp, grid, STAG_EXPRESSION >::gtype |
The type of the internal grid.
Definition at line 757 of file FD_expressions.hpp.
|
private |
Definition at line 752 of file FD_expressions.hpp.
|
inline |
constructor for an external grid
Definition at line 770 of file FD_expressions.hpp.
|
inline |
Return the grid on which is acting.
It return the grid used in getVExpr, to get this object
Definition at line 781 of file FD_expressions.hpp.
|
inline |
Return the grid on which is acting.
It return the grid used in getVExpr, to get this object
Definition at line 793 of file FD_expressions.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 803 of file FD_expressions.hpp.
|
inline |
Fill the grid property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 870 of file FD_expressions.hpp.
|
inline |
Fill the grid property with the evaluated expression.
v_exp | expression to evaluate |
Definition at line 897 of file FD_expressions.hpp.
|
inline |
Fill the grid property with the double.
d | value to fill |
Definition at line 924 of file FD_expressions.hpp.
|
inline |
Definition at line 965 of file FD_expressions.hpp.
|
inline |
Definition at line 764 of file FD_expressions.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Definition at line 855 of file FD_expressions.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Definition at line 840 of file FD_expressions.hpp.
|
inline |
Definition at line 941 of file FD_expressions.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Definition at line 813 of file FD_expressions.hpp.
|
inline |
Evaluate the expression.
k | where to evaluate the expression |
Definition at line 827 of file FD_expressions.hpp.
|
private |
The grid.
Definition at line 750 of file FD_expressions.hpp.
|
static |
Property id of the point.
Definition at line 760 of file FD_expressions.hpp.
int FD::grid_dist_expression< prp, grid, STAG_EXPRESSION >::var_id = 0 |
Definition at line 762 of file FD_expressions.hpp.