It model an expression expr1 + ... exprn. More...
It model an expression expr1 + ... exprn.
| expr.. | two or more expression to be summed | 
| Sys_eqs | stystem specification | 
#include <sum.hpp>
| Public Types | |
| typedef boost::mpl::vector< expr... > | v_expr | 
| Transform from variadic template to boost mpl vector. | |
| typedef boost::mpl::size< v_expr >::type | v_sz | 
| size of v_expr | |
| typedef boost::mpl::at< v_expr, boost::mpl::int_< v_sz::type::value-1 > >::type | Sys_eqs | 
| struct that specify the syste, of equations | |
| Static Public Member Functions | |
| static void | value (const typename stub_or_real< Sys_eqs, Sys_eqs::dims, typename Sys_eqs::stype, typename Sys_eqs::b_grid::decomposition::extended_type >::type &g_map, grid_dist_key_dx< Sys_eqs::dims > &kmap, const grid_sm< Sys_eqs::dims, void > &gs, typename Sys_eqs::stype(&spacing)[Sys_eqs::dims], std::unordered_map< long int, typename Sys_eqs::stype > &cols, typename Sys_eqs::stype coeff) | 
| Calculate which colums of the Matrix are non zero. | |
| typedef boost::mpl::vector<expr... > sum< expr >::v_expr | 
| 
 | inlinestatic | 
Calculate which colums of the Matrix are non zero.
| g_map | Grid mapping, it convert grid position into vector/Matrix row | 
| kmap | grid position | 
| gs | grid information | 
| spacing | grid spacing | 
| cols | unordered map contain the map colum -> value | 
| coeff | it contain an additional actual coefficients in front of the values |