sum functor value More...
sum functor value
v_expr | vector expression |
#include <sum.hpp>
Public Types | |
typedef boost::mpl::size< v_expr > | size |
Number of elements in the vector v_expr. | |
typedef boost::mpl::at< v_expr, boost::mpl::int_< size::value-1 > >::type | last |
Last element of sum. | |
Public Member Functions | |
sum_functor_value (const typename stub_or_real< last, last::dims, typename last::stype, typename last::b_grid::decomposition::extended_type >::type &g_map, grid_dist_key_dx< last::dims > &kmap, const grid_sm< last::dims, void > &gs, typename last::stype(&spacing)[last::dims], std::unordered_map< long int, typename last::stype > &cols, typename last::stype coeff) | |
constructor More... | |
template<typename T > | |
void | operator() (T &t) const |
It call this function for every expression operand in the sum. More... | |
Data Fields | |
std::unordered_map< long int, typename last::stype > & | cols |
sum functor | |
const grid_sm< last::dims, void > & | gs |
Grid info. | |
const stub_or_real< last, last::dims, typename last::stype, typename last::b_grid::decomposition::extended_type > ::type & | g_map |
grid mapping | |
grid_dist_key_dx< last::dims > & | kmap |
grid position | |
last::stype | coeff |
coefficent | |
last::stype(& | spacing )[last::dims] |
spacing | |
|
inline |
constructor
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 |
|
inline |