Electrowetting on dielectric
Public Member Functions | Public Attributes
Charge< dim >::ScratchData Struct Reference
Collaboration diagram for Charge< dim >::ScratchData:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ScratchData (const hp::FECollection< dim > &fe, std::vector< AsFunction< dim > * > &data, const hp::QCollection< dim > &q, const UpdateFlags u_flags)
 ScratchData (const ScratchData &scratch)

Public Attributes

hp::QCollection< dim > quad
 The collection of quadrature formulas.
UpdateFlags flags
 The update flags.
hp::FEValues< dim > fe_val
 The FEValues object.
AsFunction< dim > voltage
 The AsFunction object that will be interpreted as Voltage.
AsFunction< dim > phase
 Phase field, part of CahnHilliard.
AsFunction< dim > velocity
 The AsFunction object that will be interpreted as Velocity.
std::vector< doubleloc_charge
std::vector< doubleloc_phase
std::vector< doubleloc_div_vel
std::vector< Tensor< 1, dim > > loc_vel
std::vector< Tensor< 1, dim > > loc_grad_volt

Detailed Description

template<int dim>
struct Charge< dim >::ScratchData

Scratch Data for assembly of the matrix and right hand side.

All the std::vector's are used to store local values. This is scratch data in the sense of the Parallell module of the deal.II library, so that its only functionality is to encapsulate all the scratch data and scratch vector and provide an explicit constructor and a copy constructor.

Definition at line 63 of file Charge.h.


Constructor & Destructor Documentation

template<int dim>
Charge< dim >::ScratchData::ScratchData ( const hp::FECollection< dim > &  fe,
std::vector< AsFunction< dim > * > &  data,
const hp::QCollection< dim > &  q,
const UpdateFlags  u_flags 
) [inline]

Definition at line 72 of file Charge.h.

template<int dim>
Charge< dim >::ScratchData::ScratchData ( const ScratchData scratch) [inline]

Definition at line 79 of file Charge.h.


Member Data Documentation

template<int dim>
hp::QCollection<dim> Charge< dim >::ScratchData::quad

The collection of quadrature formulas.

Definition at line 64 of file Charge.h.

template<int dim>
UpdateFlags Charge< dim >::ScratchData::flags

The update flags.

Definition at line 65 of file Charge.h.

template<int dim>
hp::FEValues<dim> Charge< dim >::ScratchData::fe_val

The FEValues object.

Definition at line 66 of file Charge.h.

template<int dim>
AsFunction<dim> Charge< dim >::ScratchData::voltage

The AsFunction object that will be interpreted as Voltage.

Definition at line 67 of file Charge.h.

template<int dim>
AsFunction<dim> Charge< dim >::ScratchData::phase

Phase field, part of CahnHilliard.

Definition at line 67 of file Charge.h.

template<int dim>
AsFunction<dim> Charge< dim >::ScratchData::velocity

The AsFunction object that will be interpreted as Velocity.

Definition at line 67 of file Charge.h.

template<int dim>
std::vector<double> Charge< dim >::ScratchData::loc_charge

Definition at line 70 of file Charge.h.

template<int dim>
std::vector<double> Charge< dim >::ScratchData::loc_phase

Definition at line 70 of file Charge.h.

template<int dim>
std::vector<double> Charge< dim >::ScratchData::loc_div_vel

Definition at line 70 of file Charge.h.

template<int dim>
std::vector< Tensor<1, dim> > Charge< dim >::ScratchData::loc_vel

Definition at line 71 of file Charge.h.

template<int dim>
std::vector< Tensor<1, dim> > Charge< dim >::ScratchData::loc_grad_volt

Definition at line 71 of file Charge.h.


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