OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
minus< arg, Sys_eqs > Struct Template Reference

It ancapsulate the minus operation. More...

Detailed Description

template<typename arg, typename Sys_eqs>
struct minus< arg, Sys_eqs >

It ancapsulate the minus operation.

Template Parameters
arg
Sys_eqssystem of equation

Definition at line 141 of file sum.hpp.

#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.
 

Member Function Documentation

◆ 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
ord
Parameters
g_mapGrid mapping, it convert grid position into vector/Matrix row
kmapgrid position
gsgrid information
spacinggrid spacing
colsunordered map contain the map colum -> value
coeffit 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: