Main class that encapsulate a double constant. More...
Main class that encapsulate a double constant.
prp  no meaning 
Definition at line 984 of file FD_expressions.hpp.
#include <FD_expressions.hpp>
Public Member Functions  
grid_dist_expression (const double &d)  
constructor from a constant expression  
void  init () const 
This function must be called before value.  
double  value (const grid_dist_key_dx< dim > &k, comb< dim > &c_where) const 
Evaluate the expression.  
Private Attributes  
double  d 
constant parameter  

inline 
constructor from a constant expression
Definition at line 992 of file FD_expressions.hpp.

inline 
This function must be called before value.
it initialize the expression if needed
Definition at line 1001 of file FD_expressions.hpp.

inline 
Evaluate the expression.
k  ignored position in the grid 
It just return the value set in the constructor
Definition at line 1013 of file FD_expressions.hpp.

private 
constant parameter
Definition at line 987 of file FD_expressions.hpp.