It ancapsulate the minus operation.
More...
#include <sum.hpp>
|
| 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...
|
| |
template<typename arg, typename Sys_eqs>
struct minus< arg, Sys_eqs >
It ancapsulate the minus operation.
- Template Parameters
-
| arg | |
| Sys_eqs | system of equation |
Definition at line 141 of file sum.hpp.
◆ value()
template<typename arg , typename Sys_eqs >
| static void minus< arg, Sys_eqs >::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 |
|
) |
| |
|
inlinestatic |
Create the row of the Matrix.
- Template Parameters
-
- Parameters
-
| 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 |
Definition at line 157 of file sum.hpp.
The documentation for this struct was generated from the following file:
- openfpm_numerics/src/FiniteDifference/sum.hpp