Electrowetting on dielectric
Public Member Functions | Protected Attributes | Private Member Functions
EWOD< dim > Class Template Reference
Collaboration diagram for EWOD< dim >:
Collaboration graph
[legend]

List of all members.

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 ()

Detailed Description

template<int dim>
class EWOD< dim >

This class synchronizes all the other classes that are derived from Problem, drives the solution process and produces output.

Definition at line 21 of file EWOD.h.


Constructor & Destructor Documentation

template<int dim>
EWOD< dim >::EWOD ( DataStorage< dim > &  data)

Read the data and initialize the subproblems.

template<int dim>
EWOD< dim >::~EWOD ( )

Clear data


Member Function Documentation

template<int dim>
void EWOD< dim >::run ( )

Do the time marching.

template<int dim>
void EWOD< dim >::Plot ( const unsigned  step) [private]

Take the solution to all the subproblems and plot the results as a *.vtk file.

Parameters:
step: The current step. Used to name the file the results are written to
template<int dim>
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.

template<int dim>
void EWOD< dim >::set_dt ( ) [private]

Compute the new time step according to the rule

\[ \Delta t = \min \left\{ \Delta t_0, \frac{ h^{3/2} }{ \| \textbf{u} \|_{L^\infty} } \right\} \]


Member Data Documentation

template<int dim>
const double EWOD< dim >::t0 [protected]

Initial time.

Definition at line 36 of file EWOD.h.

template<int dim>
const double EWOD< dim >::T [protected]

Final time.

Definition at line 36 of file EWOD.h.

template<int dim>
Material_Parameters EWOD< dim >::params [protected]

Material parameters.

Definition at line 38 of file EWOD.h.

template<int dim>
ConditionalOStream EWOD< dim >::v_cout [protected]

log stream

Definition at line 39 of file EWOD.h.

template<int dim>
Triangulation<dim> EWOD< dim >::tri [protected]

The triangulation where all the problems are defined.

Definition at line 40 of file EWOD.h.

template<int dim>
const double EWOD< dim >::dt0 [protected]

Original time step.

Definition at line 41 of file EWOD.h.

template<int dim>
double EWOD< dim >::dt [protected]

Current time step.

Definition at line 42 of file EWOD.h.

template<int dim>
Voltage<dim> EWOD< dim >::V [protected]

The subproblem that defines the Voltage.

Definition at line 43 of file EWOD.h.

template<int dim>
Charge<dim> EWOD< dim >::q [protected]

The subproblem that defines the Charge.

Definition at line 44 of file EWOD.h.

template<int dim>
CHNSE<dim> EWOD< dim >::chnse [protected]

The subproblem that defines the Cahn Hilliard Navier Stokes problem.

Definition at line 45 of file EWOD.h.

template<int dim>
const unsigned EWOD< dim >::plot [protected]

How often we want to plot.

Definition at line 46 of file EWOD.h.

template<int dim>
const unsigned EWOD< dim >::max_refs [protected]

The maximal number of refinements.

Definition at line 46 of file EWOD.h.

template<int dim>
const unsigned EWOD< dim >::initial_refs [protected]

The initial number of refinements.

Definition at line 46 of file EWOD.h.


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