|
OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
The Integrator computing the current density in the CL. More...
#include <optimization_block_matrix_application.h>


Public Member Functions | |
| void | initialize (OptimizationBlockMatrixApplication< dim > *a, unsigned int m) |
| Initialize. | |
| void | cell (const typename AppFrame::DoFApplication< dim >::CellInfo &cell_info) |
| Do the work on a cell. | |
| void | bdry (const typename AppFrame::DoFApplication< dim >::FaceInfo &face) |
| Do the work on a boundary face. | |
| void | face (const typename AppFrame::DoFApplication< dim >::FaceInfo &face1, const typename AppFrame::DoFApplication< dim >::FaceInfo &face2) |
| Do the work on an interior face. | |
Public Member Functions inherited from MeshWorker::Assembler::Functional< double > | |
| void | initialize (unsigned int n) |
| void | assemble (const InfoObjects::DoFInfo< dim > &info) |
| Assemble the values #J1 into the global vectors and reset them to zero. | |
| void | assemble (const InfoObjects::DoFInfo< dim > &info1, const InfoObjects::DoFInfo< dim > &info2) |
| Assemble both local values into the global vectors and reset them to zero. | |
| double | operator() (unsigned int i) const |
| The value oth the ith #result. | |
Public Member Functions inherited from MeshWorker::WorkerObjects::IntegrationWorker< dim > | |
| IntegrationWorker () | |
| Constructor, which sets the UpdateFlags flags to their default values. | |
| void | initialize_selectors (const VectorSelector &cs, const VectorSelector &bs, const VectorSelector &fs) |
| Initialize the VectorSelector objects cell_selector, bdry_selector, and face_selector. | |
| void | add_selector (const std::string &name, bool values, bool gradients, bool hessians, bool cell, bool bdry, bool face) |
| Add a FEVector name as it is stored in FEVectors to some or all selectors. | |
| void | add_update_flags (const UpdateFlags flags, bool cell=true, bool bdry=true, bool face=true, bool ngbr=true) |
| Add additional UpdateFlags flags. | |
| void | initialize_gauss_quadrature (unsigned int n_cell_points, unsigned int n_bdry_points, unsigned int n_face_points) |
| Assign n-point Gauss quadratures to each of the quadrature rules. | |
Public Member Functions inherited from MeshWorker::WorkerObjects::LocalWorker< dim > | |
| LocalWorker () | |
Constructor, setting boundary_fluxes and interior_fluxes to true. | |
| void | cell (const InfoObjects::DoFInfo< dim > &cell) |
| Do the work on a cell. | |
| void | bdry (const InfoObjects::DoFInfo< dim > &face) |
| Do the work on a boundary face. | |
| void | face (const InfoObjects::DoFInfo< dim > &face1, const InfoObjects::DoFInfo< dim > &face2) |
| Do the work on an interior face. | |
Private Attributes | |
| SmartPointer < OptimizationBlockMatrixApplication < dim > > | app |
Additional Inherited Members | |
Public Attributes inherited from MeshWorker::Assembler::Functional< double > | |
| std::vector< double > | J1 |
Public Attributes inherited from MeshWorker::WorkerObjects::IntegrationWorker< dim > | |
| MeshWorker::VectorSelector | cell_selector |
| Select the FEVector vectors from FEVectors that should be computed in the quadrature points on cells. | |
| MeshWorker::VectorSelector | bdry_selector |
| Select the FEVector vectors from FEVectors that should be computed in the quadrature points on boundary faces. | |
| MeshWorker::VectorSelector | face_selector |
| Select the FEVector vectors from FEVectors that should be computed in the quadrature points on interior faces. | |
| Quadrature< dim > | cell_quadrature |
| The quadrature rule used on cells. | |
| Quadrature< dim-1 > | bdry_quadrature |
| The quadrature rule used on boundary faces. | |
| Quadrature< dim-1 > | face_quadrature |
| The quadrature rule used on interior faces. | |
| UpdateFlags | cell_flags |
| The set of update flags for cell integration. | |
| UpdateFlags | bdry_flags |
| The set of update flags for boundary face integration. | |
| UpdateFlags | face_flags |
| The set of update flags for interior face integration. | |
| UpdateFlags | ngbr_flags |
| The set of update flags for interior face integration. | |
The Integrator computing the current density in the CL.
Since this class will be used by MeshWorker::AssemblingIntegrator, it needs the functions for cell, boundary and interior face integration specified exactly as below.
The base class Subscriptor (deal.ii class) is needed so that MeshWorker::AssemblingIntegrator can store a SmartPointer to an object of this class
| void AppFrame::LocalResponse< dim >::bdry | ( | const typename AppFrame::DoFApplication< dim >::FaceInfo & | face | ) |
Do the work on a boundary face.
| void AppFrame::LocalResponse< dim >::cell | ( | const typename AppFrame::DoFApplication< dim >::CellInfo & | cell_info | ) |
Do the work on a cell.
| void AppFrame::LocalResponse< dim >::face | ( | const typename AppFrame::DoFApplication< dim >::FaceInfo & | face1, |
| const typename AppFrame::DoFApplication< dim >::FaceInfo & | face2 | ||
| ) |
Do the work on an interior face.
|
inline |
Initialize.
References AppFrame::LocalResponse< dim >::app, and MeshWorker::Assembler::Functional< number >::initialize().

|
private |
Referenced by AppFrame::LocalResponse< dim >::initialize().
1.8.2