OpenFPM_pdata  1.1.0
Project that contain the implementation of distributed structures
 All Data Structures Namespaces Functions Variables Typedefs Enumerations Friends Pages
FDScheme< Sys_eqs >::constant_b Struct Reference

Encapsulation of the b term as constant. More...

Detailed Description

template<typename Sys_eqs>
struct FDScheme< Sys_eqs >::constant_b

Encapsulation of the b term as constant.

Definition at line 137 of file FDScheme.hpp.

Public Member Functions

 constant_b (typename Sys_eqs::stype scal)
 Constrictor from a scalar. More...
 
Sys_eqs::stype get (grid_dist_key_dx< Sys_eqs::dims > &key)
 Get the b term on a grid point. More...
 

Data Fields

Sys_eqs::stype scal
 scalar
 

Constructor & Destructor Documentation

template<typename Sys_eqs>
FDScheme< Sys_eqs >::constant_b::constant_b ( typename Sys_eqs::stype  scal)
inline

Constrictor from a scalar.

Parameters
scalscalar

Definition at line 147 of file FDScheme.hpp.

Member Function Documentation

template<typename Sys_eqs>
Sys_eqs::stype FDScheme< Sys_eqs >::constant_b::get ( grid_dist_key_dx< Sys_eqs::dims > &  key)
inline

Get the b term on a grid point.

Note
It does not matter the grid point it is a scalar
Parameters
keygrid position (unused because it is a constant)
Returns
the scalar

Definition at line 161 of file FDScheme.hpp.


The documentation for this struct was generated from the following file: