Electrowetting on dielectric
material_function Struct Reference
Collaboration diagram for material_function: [legend]

List of all members.

## Public Member Functions

material_function (const double _m1=1., const double _m2=1., const double _delta=1.)
material_function (const std::pair< double, double > &params, 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.

## Detailed Description

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.

## Constructor & Destructor Documentation

 material_function::material_function ( const double _m1 = 1., const double _m2 = 1., const double _delta = 1. )

Explicit constructor.

Parameters:
 _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.

Parameters:
 params : the pair of values for and respectively _delta : interface thickness

## Member Function Documentation

 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::operator() ( const double x ) const

The value

 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

## Member Data Documentation

 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.

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