Electrowetting on dielectric
|
Public Member Functions | |
EWOD (DataStorage< dim > &data) | |
void | run () |
~EWOD () | |
Protected Attributes | |
const double | t0 |
Initial time. | |
const double | T |
Final time. | |
Material_Parameters | params |
Material parameters. | |
ConditionalOStream | v_cout |
log stream | |
Triangulation< dim > | tri |
The triangulation where all the problems are defined. | |
const double | dt0 |
Original time step. | |
double | dt |
Current time step. | |
Voltage< dim > | V |
The subproblem that defines the Voltage. | |
Charge< dim > | q |
The subproblem that defines the Charge. | |
CHNSE< dim > | chnse |
The subproblem that defines the Cahn Hilliard Navier Stokes problem. | |
const unsigned | plot |
How often we want to plot. | |
const unsigned | max_refs |
The maximal number of refinements. | |
const unsigned | initial_refs |
The initial number of refinements. | |
Private Member Functions | |
void | Plot (const unsigned step) |
void | RefineMesh (const bool is_the_first_step=false) |
void | set_dt () |
This class synchronizes all the other classes that are derived from Problem, drives the solution process and produces output.
EWOD< dim >::EWOD | ( | DataStorage< dim > & | data | ) |
Read the data and initialize the subproblems.
Take the solution to all the subproblems and plot the results as a *.vtk
file.
step | : The current step. Used to name the file the results are written to |
void EWOD< dim >::RefineMesh | ( | const bool | is_the_first_step = false | ) | [private] |
Refine the mesh. If it is the first step load the initial data, if not make sure that the solution is transfered to the new mesh.
Compute the new time step according to the rule
Material_Parameters EWOD< dim >::params [protected] |
ConditionalOStream EWOD< dim >::v_cout [protected] |
Triangulation<dim> EWOD< dim >::tri [protected] |
const unsigned EWOD< dim >::initial_refs [protected] |