It ancapsulate the minus operation. More...
It ancapsulate the minus operation.
| arg | |
| Sys_eqs | system of equation |
#include <sum.hpp>
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) |
| Create the row of the Matrix. More... | |
|
inlinestatic |
Create the row of the Matrix.
| ord | sum<Field<V,sys_pp>, Field<V,sys_pp> , minus<Field<V,sys_pp>,sys_pp> ,sys_pp>::value(g_map,key11,ginfo,spacing,cols,1);
BOOST_REQUIRE_EQUAL(cols.size(),1ul);
BOOST_REQUIRE_EQUAL(cols[17],1ul);
|
| 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 |