OpenFCST: The open-source Fuel Cell Simulation Toolbox
|
The class using CellInfo and FaceInfo to compute local contributions to a 1form. More...
#include <dof_application.h>
Public Types | |
typedef MeshWorker::InfoObjects::IntegrationInfo < dim, FEValuesBase< dim, dim > > | CellInfo |
typedef MeshWorker::InfoObjects::IntegrationInfo < dim, FEFaceValuesBase< dim, dim > > | FaceInfo |
Public Member Functions | |
LocalIntegrator () | |
Virtual constructor. | |
virtual | ~LocalIntegrator () |
Virtual destructor. | |
virtual void | cell (FEVector &cell_vector, const CellInfo &cell)=0 |
Integration of local cell form. | |
virtual void | bdry (FEVector &face_vector, const FaceInfo &face)=0 |
Integration of local boundary form. | |
virtual void | face (FEVector &face_vector1, FEVector &face_vector2, const FaceInfo &face1, const FaceInfo &face2)=0 |
Integration of local interior face form. | |
virtual void | post_loop (FEVector &dst, const FEVectors &srcs) |
An optional function called after the integration loop. | |
void | set_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 Attributes | |
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. | |
The class using CellInfo and FaceInfo to compute local contributions to a 1form.
Objects of this class are handed to the function DoFApplication::integrate_1form(). Derived classes for instance compute local contributions to the residual.
In addition to the local integration functions cell(), bdry() and face(), objects of this class provide control information to the DoFApplication loop:
cell_quadrature, bdry_quadrature and face_quadrature determine the quadrature rules used on cells, boundary and interior faces, respectively. A rule with zero points means that the loop over these entities should be skipped.
typedef MeshWorker::InfoObjects::IntegrationInfo<dim, FEValuesBase<dim, dim> > AppFrame::LocalIntegrator< dim >::CellInfo |
typedef MeshWorker::InfoObjects::IntegrationInfo<dim, FEFaceValuesBase<dim, dim> > AppFrame::LocalIntegrator< dim >::FaceInfo |
AppFrame::LocalIntegrator< dim >::LocalIntegrator | ( | ) |
Virtual constructor.
|
virtual |
Virtual destructor.
|
pure virtual |
Integration of local boundary form.
|
pure virtual |
Integration of local cell form.
|
pure virtual |
Integration of local interior face form.
|
virtual |
An optional function called after the integration loop.
void AppFrame::LocalIntegrator< dim >::set_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.
Here, a size of zero points means that no loop over these grid entities should be performed.
Quadrature<dim-1> AppFrame::LocalIntegrator< dim >::bdry_quadrature |
The quadrature rule used on boundary faces.
Quadrature<dim> AppFrame::LocalIntegrator< dim >::cell_quadrature |
The quadrature rule used on cells.
Quadrature<dim-1> AppFrame::LocalIntegrator< dim >::face_quadrature |
The quadrature rule used on interior faces.