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::ApplicationResidual Class Reference

A class computing a Residual using the function Application::residual() of the derived Application. More...

#include <residual.h>

Inheritance diagram for AppFrame::ApplicationResidual:
Inheritance graph
[legend]
Collaboration diagram for AppFrame::ApplicationResidual:
Collaboration graph
[legend]

Public Member Functions

 ApplicationResidual (ApplicationBase &ex_app)
 Constructor initializing this object to compute the standard residual of application.
 
virtual double operator() (FEVector &dst, const FEVectors &src) const
 This function returns the residual in dst, using the vectors from src.
 
- Public Member Functions inherited from AppFrame::Residual
virtual ~Residual ()
 

Private Attributes

SmartPointer< ApplicationBaseapp
 The Application class providing the function Application::residual().
 

Detailed Description

A class computing a Residual using the function Application::residual() of the derived Application.

Author
Guido Kanschat, 2008

Constructor & Destructor Documentation

AppFrame::ApplicationResidual::ApplicationResidual ( ApplicationBase ex_app)
inline

Constructor initializing this object to compute the standard residual of application.

Member Function Documentation

double AppFrame::ApplicationResidual::operator() ( FEVector dst,
const FEVectors src 
) const
inlinevirtual

This function returns the residual in dst, using the vectors from src.

Implements AppFrame::Residual.

References app.

Member Data Documentation

SmartPointer<ApplicationBase> AppFrame::ApplicationResidual::app
private

The Application class providing the function Application::residual().

Referenced by operator()().


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