OpenFCST: The open-source Fuel Cell Simulation Toolbox
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Private Attributes | List of all members
AppFrame::LocalResidual< dim > Class Template Reference

#include <dof_application.h>

Inheritance diagram for AppFrame::LocalResidual< dim >:
Inheritance graph
[legend]
Collaboration diagram for AppFrame::LocalResidual< dim >:
Collaboration graph
[legend]

Public Member Functions

void initialize (DoFApplication< dim > *a, const MeshWorker::BlockInfo &bi, FEVectors &m)
 Constructor.
 
void cell (const typename DoFApplication< dim >::CellInfo &cell)
 Do the work on a cell.
 
void bdry (const typename DoFApplication< dim >::FaceInfo &face)
 Do the work on a boundary face.
 
void face (const typename DoFApplication< dim >::FaceInfo &face1, const typename DoFApplication< dim >::FaceInfo &face2)
 Do the work on an interior face.
 
- Public Member Functions inherited from MeshWorker::Assembler::ResidualLocalBlocksToGlobalBlocks< double >
void initialize (const BlockInfo &block_info, FEVectors &residuals)
 Copy the BlockInfo and the matrix pointers into local variables and initialize cell vectors.
 
void assemble (const InfoObjects::DoFInfo< dim > &info)
 Assemble the residuals #R1 into the global residuals and reset them to zero.
 
void assemble (const InfoObjects::DoFInfo< dim > &info1, const InfoObjects::DoFInfo< dim > &info2)
 Assemble both local residuals into the global residual and reset them to zero.
 
- 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< DoFApplication
< dim > > 
app
 

Additional Inherited Members

- Public Attributes inherited from MeshWorker::Assembler::ResidualLocalBlocksToGlobalBlocks< double >
std::vector< BlockVector
< double > > 
R1
 The local residuals on the cell or on the first cell on a face.
 
std::vector< BlockVector
< double > > 
R2
 The local residuals on the second cell on a face.
 
- 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< dimcell_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.
 

Detailed Description

template<int dim>
class AppFrame::LocalResidual< dim >

Deprecated:
This class is a shortcut, but should not be needed in future applications.

The Integrator computing the residual.

This class implements the residual, using the functions DoFApplication::cell_residual(), DoFApplication::bdry_residual() and DoFApplication::face_residual().

Author
Guido Kanschat, 2007

Member Function Documentation

template<int dim>
void AppFrame::LocalResidual< dim >::bdry ( const typename DoFApplication< dim >::FaceInfo &  face)

Do the work on a boundary face.

template<int dim>
void AppFrame::LocalResidual< dim >::cell ( const typename DoFApplication< dim >::CellInfo &  cell)

Do the work on a cell.

template<int dim>
void AppFrame::LocalResidual< dim >::face ( const typename DoFApplication< dim >::FaceInfo &  face1,
const typename DoFApplication< dim >::FaceInfo &  face2 
)

Do the work on an interior face.

template<int dim>
void AppFrame::LocalResidual< dim >::initialize ( DoFApplication< dim > *  a,
const MeshWorker::BlockInfo bi,
FEVectors m 
)
inline

Member Data Documentation

template<int dim>
SmartPointer<DoFApplication<dim> > AppFrame::LocalResidual< dim >::app
private

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