OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
FDScheme< Sys_eqs >::grid_b< grid, prp > Struct Template Reference

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

Detailed Description

template<typename Sys_eqs>
template<typename grid, unsigned int prp>
struct FDScheme< Sys_eqs >::grid_b< grid, prp >

Encapsulation of the b term as grid.

Definition at line 169 of file FDScheme.hpp.

#include <FDScheme.hpp>

Public Member Functions

 grid_b (grid &gr)
 gr grid that encapsulate
 
auto get (grid_dist_key_dx< Sys_eqs::dims > &key) -> decltype(gr.template get< prp >(key))
 Get the value of the b term on a grid point.
 

Data Fields

gridgr
 b term fo the grid
 

Constructor & Destructor Documentation

◆ grid_b()

template<typename Sys_eqs >
template<typename grid , unsigned int prp>
FDScheme< Sys_eqs >::grid_b< grid, prp >::grid_b ( grid gr)
inline

gr grid that encapsulate

Parameters
grgrid

Definition at line 179 of file FDScheme.hpp.

Member Function Documentation

◆ get()

template<typename Sys_eqs >
template<typename grid , unsigned int prp>
auto FDScheme< Sys_eqs >::grid_b< grid, prp >::get ( grid_dist_key_dx< Sys_eqs::dims > &  key) -> decltype(gr.template get<prp>(key))
inline

Get the value of the b term on a grid point.

Parameters
keygrid point
Returns
the value

Definition at line 190 of file FDScheme.hpp.

Field Documentation

◆ gr

template<typename Sys_eqs >
template<typename grid , unsigned int prp>
grid& FDScheme< Sys_eqs >::grid_b< grid, prp >::gr

b term fo the grid

Definition at line 172 of file FDScheme.hpp.


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