Electrowetting on dielectric
|
Public Member Functions | |
material_function (const double _m1=1., const double _m2=1., const double _delta=1.) | |
material_function (const std::pair< double, double > ¶ms, const double _delta) | |
double | deriv (const double x) const |
double | max_deriv () const |
double | operator() (const double x) const |
double | average (const double x, const double y) const |
Private Member Functions | |
double | value (const double x) const |
Private Attributes | |
const double | avg |
The average between the two values. | |
const double | diff |
half the difference between the two values | |
const double | delta |
The interface thickness. |
A material function that depends on the phase.
In other words, if and are the values at the pure phases, this is a function defined as:
Definition at line 25 of file Material.h.
material_function::material_function | ( | const double | _m1 = 1. , |
const double | _m2 = 1. , |
||
const double | _delta = 1. |
||
) |
Explicit constructor.
_m1 | : value for |
_m2 | : value for |
_delta | : interface thickness |
material_function::material_function | ( | const std::pair< double, double > & | params, |
const double | _delta | ||
) |
Constructor from pair.
params | : the pair of values for and respectively |
_delta | : interface thickness |
double material_function::deriv | ( | const double | x | ) | const |
Derivative of the function or a smoothed version of it
double material_function::max_deriv | ( | ) | const |
Maximal value of the derivative
double material_function::average | ( | const double | x, |
const double | y | ||
) | const |
operator()(x
) + operator()(y
)
double material_function::value | ( | const double | x | ) | const [private] |
The function that actually computes the value
const double material_function::avg [private] |
The average between the two values.
Definition at line 57 of file Material.h.
const double material_function::diff [private] |
half the difference between the two values
Definition at line 57 of file Material.h.
const double material_function::delta [private] |
The interface thickness.
Definition at line 57 of file Material.h.