Main class that encapsulate a float constant. More...
Main class that encapsulate a float constant.
prp | no meaning |
Definition at line 1066 of file FD_expressions.hpp.
#include <FD_expressions.hpp>
Public Types | |
typedef float | vtype |
type of object the structure return then evaluated | |
Public Member Functions | |
grid_dist_expression (const float &d) | |
constrictor from constant value | |
void | init () const |
This function must be called before value. | |
float | value (const grid_dist_key_dx< dim > &k) const |
Evaluate the expression. | |
Private Attributes | |
float | d |
constant value | |
typedef float FD::grid_dist_expression< dim, float, impl >::vtype |
type of object the structure return then evaluated
Definition at line 1074 of file FD_expressions.hpp.
|
inline |
constrictor from constant value
Definition at line 1077 of file FD_expressions.hpp.
|
inline |
This function must be called before value.
it initialize the expression if needed
Definition at line 1086 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 1098 of file FD_expressions.hpp.
|
private |
constant value
Definition at line 1069 of file FD_expressions.hpp.