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

List of all members.

Public Member Functions

 DataStorage ()
 ~DataStorage ()
void read_data (char *filename)
void print_usage ()

Public Attributes

double t_0
 Initial time.
double T
 Final time.
TestCase testcase
 The test case.
std::pair< double, doubleepsilon
 permitivity
std::pair< double, doubleK
 conductivity
std::pair< double, doubleM
 mobility
std::pair< double, doublerho
 density
std::pair< double, doublebeta
 slip coefficient
std::pair< double, doubleeta
 viscosity
double lambda
 charge
double gamma
 surface tension
double theta_s
 static contact angle
double delta
 interface thickness
double alpha
 surface transport parameter
double epsilon_plate
 permitivity of the plates
Point< dim > pl
 The bottom-left corner of the box the fluid occupies.
Point< dim > pu
 The top-right corner of the box the fluid occupies.
double width
 The width of the plates.
double dt
 the time-step size
unsigned volt_deg
 The polynomial degree of the voltage.
unsigned ph_deg
 The polynomial degree of the phase field.
unsigned pres_deg
 The polynomial degree of the pressure space. Velocity is +1.
unsigned n_of_initial_refines
 number of initial refinements of the mesh
unsigned n_of_extra_refines
 number of extra refinements near the interface
unsigned volt_update_prec
 How often the preconditioner in Voltage needs to be reinitialized.
unsigned volt_smoother_sweeps
 Number of smoothings for the Voltage preconditioner.
double volt_eps
 Tolerance in Voltage.
double volt_aggregation_threshold
 Aggregation threshold in Voltage.
unsigned charge_update_prec
 How often the preconditioner needs to be reinitialized in Charge.
unsigned charge_smoother_sweeps
 The number of smoothings for the Charge preconditioner.
double charge_eps
 Tolerance in Charge.
double charge_aggregation_threshold
 Aggregation threshold in Charge.
unsigned vel_Krylov_size
 The dimension of the Krylov subspace in Velocity.
unsigned vel_update_prec
 How often the preconditioner needs to be reinitialized in Velocity.
unsigned vel_smoother_sweeps
 The number of smoothings for the Velocity preconditioner.
double vel_eps
 Tolerance in Velocity.
double vel_aggregation_threshold
 Aggregation threshold in Velocity.
unsigned penalty_smoother_sweeps
 The number of smoothings for the Pressure preconditioner.
double penalty_eps
 Tolerance in Pressure.
double penalty_aggregation_threshold
 Aggregation threshold in Pressure.
bool verbose
 Verbosity.
unsigned output
 Frequency of the outputted data.

Protected Attributes

ParameterHandler prm
 The parameter handler.

Detailed Description

template<int dim>
class DataStorage< dim >

We store here all the parameters from the parameter file so that they can be read into the main program

Definition at line 17 of file FileReader.h.


Constructor & Destructor Documentation

template<int dim>
DataStorage< dim >::DataStorage ( )

Create the parameter file entries

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

Does nothing


Member Function Documentation

template<int dim>
void DataStorage< dim >::read_data ( char *  filename)

Read data from the specified path

template<int dim>
void DataStorage< dim >::print_usage ( )

Prints to the console the format of the parameter file together with its default values


Member Data Documentation

template<int dim>
double DataStorage< dim >::t_0

Initial time.

Definition at line 19 of file FileReader.h.

template<int dim>
double DataStorage< dim >::T

Final time.

Definition at line 19 of file FileReader.h.

template<int dim>
TestCase DataStorage< dim >::testcase

The test case.

Definition at line 21 of file FileReader.h.

template<int dim>
std::pair<double, double> DataStorage< dim >::epsilon

permitivity

Definition at line 22 of file FileReader.h.

template<int dim>
std::pair<double, double> DataStorage< dim >::K

conductivity

Definition at line 22 of file FileReader.h.

template<int dim>
std::pair<double, double> DataStorage< dim >::M

mobility

Definition at line 22 of file FileReader.h.

template<int dim>
std::pair<double, double> DataStorage< dim >::rho

density

Definition at line 22 of file FileReader.h.

template<int dim>
std::pair<double, double> DataStorage< dim >::beta

slip coefficient

Definition at line 22 of file FileReader.h.

template<int dim>
std::pair<double, double> DataStorage< dim >::eta

viscosity

Definition at line 22 of file FileReader.h.

template<int dim>
double DataStorage< dim >::lambda

charge

Definition at line 28 of file FileReader.h.

template<int dim>
double DataStorage< dim >::gamma

surface tension

Definition at line 28 of file FileReader.h.

template<int dim>
double DataStorage< dim >::theta_s

static contact angle

Definition at line 28 of file FileReader.h.

template<int dim>
double DataStorage< dim >::delta

interface thickness

Definition at line 28 of file FileReader.h.

template<int dim>
double DataStorage< dim >::alpha

surface transport parameter

Definition at line 28 of file FileReader.h.

template<int dim>
double DataStorage< dim >::epsilon_plate

permitivity of the plates

Definition at line 28 of file FileReader.h.

template<int dim>
Point<dim> DataStorage< dim >::pl

The bottom-left corner of the box the fluid occupies.

Definition at line 34 of file FileReader.h.

template<int dim>
Point<dim> DataStorage< dim >::pu

The top-right corner of the box the fluid occupies.

Definition at line 34 of file FileReader.h.

template<int dim>
double DataStorage< dim >::width

The width of the plates.

Definition at line 36 of file FileReader.h.

template<int dim>
double DataStorage< dim >::dt

the time-step size

Definition at line 37 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::volt_deg

The polynomial degree of the voltage.

Definition at line 38 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::ph_deg

The polynomial degree of the phase field.

Definition at line 38 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::pres_deg

The polynomial degree of the pressure space. Velocity is +1.

Definition at line 38 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::n_of_initial_refines

number of initial refinements of the mesh

Definition at line 38 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::n_of_extra_refines

number of extra refinements near the interface

Definition at line 38 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::volt_update_prec

How often the preconditioner in Voltage needs to be reinitialized.

Definition at line 43 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::volt_smoother_sweeps

Number of smoothings for the Voltage preconditioner.

Definition at line 43 of file FileReader.h.

template<int dim>
double DataStorage< dim >::volt_eps

Tolerance in Voltage.

Definition at line 45 of file FileReader.h.

template<int dim>
double DataStorage< dim >::volt_aggregation_threshold

Aggregation threshold in Voltage.

Definition at line 45 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::charge_update_prec

How often the preconditioner needs to be reinitialized in Charge.

Definition at line 47 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::charge_smoother_sweeps

The number of smoothings for the Charge preconditioner.

Definition at line 47 of file FileReader.h.

template<int dim>
double DataStorage< dim >::charge_eps

Tolerance in Charge.

Definition at line 49 of file FileReader.h.

template<int dim>
double DataStorage< dim >::charge_aggregation_threshold

Aggregation threshold in Charge.

Definition at line 49 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::vel_Krylov_size

The dimension of the Krylov subspace in Velocity.

Definition at line 51 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::vel_update_prec

How often the preconditioner needs to be reinitialized in Velocity.

Definition at line 51 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::vel_smoother_sweeps

The number of smoothings for the Velocity preconditioner.

Definition at line 51 of file FileReader.h.

template<int dim>
double DataStorage< dim >::vel_eps

Tolerance in Velocity.

Definition at line 54 of file FileReader.h.

template<int dim>
double DataStorage< dim >::vel_aggregation_threshold

Aggregation threshold in Velocity.

Definition at line 54 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::penalty_smoother_sweeps

The number of smoothings for the Pressure preconditioner.

Definition at line 56 of file FileReader.h.

template<int dim>
double DataStorage< dim >::penalty_eps

Tolerance in Pressure.

Definition at line 57 of file FileReader.h.

Aggregation threshold in Pressure.

Definition at line 57 of file FileReader.h.

template<int dim>
bool DataStorage< dim >::verbose

Verbosity.

Definition at line 59 of file FileReader.h.

template<int dim>
unsigned DataStorage< dim >::output

Frequency of the outputted data.

Definition at line 60 of file FileReader.h.

template<int dim>
ParameterHandler DataStorage< dim >::prm [protected]

The parameter handler.

Definition at line 78 of file FileReader.h.


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