OpenFPM_pdata  4.1.0
Project that contain the implementation of distributed structures
 
Loading...
Searching...
No Matches
FD_scheme< Sys_eqs, grid_type >::function_b Struct Reference

Encapsulation of the b term as a function. More...

Detailed Description

template<typename Sys_eqs, typename grid_type>
struct FD_scheme< Sys_eqs, grid_type >::function_b

Encapsulation of the b term as a function.

Definition at line 211 of file FD_Solver.hpp.

Public Member Functions

 function_b (g_map_type &grid, typename Sys_eqs::stype *spacing, const std::function< double(double, double)> &f, comb< Sys_eqs::dims > c_where=comb< 2 >({0, 0}))
 Constrictor from a function.
 
Sys_eqs::stype get (grid_dist_key_dx< Sys_eqs::dims > &key)
 
bool isConstant ()
 

Data Fields

g_map_typegrid
 
Sys_eqs::stype * spacing
 
const std::function< double(double, double)> & f
 
comb< Sys_eqs::dims > c_where
 

Constructor & Destructor Documentation

◆ function_b()

template<typename Sys_eqs , typename grid_type >
FD_scheme< Sys_eqs, grid_type >::function_b::function_b ( g_map_type grid,
typename Sys_eqs::stype *  spacing,
const std::function< double(double, double)> &  f,
comb< Sys_eqs::dims >  c_where = comb<2>({0,0}) 
)
inline

Constrictor from a function.

Definition at line 222 of file FD_Solver.hpp.

Member Function Documentation

◆ get()

template<typename Sys_eqs , typename grid_type >
Sys_eqs::stype FD_scheme< Sys_eqs, grid_type >::function_b::get ( grid_dist_key_dx< Sys_eqs::dims > &  key)
inline

Definition at line 226 of file FD_Solver.hpp.

◆ isConstant()

template<typename Sys_eqs , typename grid_type >
bool FD_scheme< Sys_eqs, grid_type >::function_b::isConstant ( )
inline

Definition at line 241 of file FD_Solver.hpp.

Field Documentation

◆ c_where

template<typename Sys_eqs , typename grid_type >
comb<Sys_eqs::dims> FD_scheme< Sys_eqs, grid_type >::function_b::c_where

Definition at line 216 of file FD_Solver.hpp.

◆ f

template<typename Sys_eqs , typename grid_type >
const std::function<double(double,double)>& FD_scheme< Sys_eqs, grid_type >::function_b::f

Definition at line 215 of file FD_Solver.hpp.

◆ grid

template<typename Sys_eqs , typename grid_type >
g_map_type& FD_scheme< Sys_eqs, grid_type >::function_b::grid

Definition at line 213 of file FD_Solver.hpp.

◆ spacing

template<typename Sys_eqs , typename grid_type >
Sys_eqs::stype* FD_scheme< Sys_eqs, grid_type >::function_b::spacing

Definition at line 214 of file FD_Solver.hpp.


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