Public Member Functions | Public Attributes

SolverControl::NoConvergence Class Reference

Inherits std::exception.

List of all members.

Public Member Functions

 NoConvergence (const unsigned int last_step, const double last_residual)
virtual const char * what () const throw ()

Public Attributes

const unsigned int last_step
const double last_residual

Detailed Description

Class to be thrown upon failing convergence of an iterative solver, when either the number of iterations exceeds the limit or the residual fails to reach the desired limit, e.g. in the case of a break-down.

The residual in the last iteration, as well as the iteration number of the last step are stored in this object and can be recovered upon catching an exception of this class.

Definition at line 99 of file solver_control.h.


Constructor & Destructor Documentation

SolverControl::NoConvergence::NoConvergence ( const unsigned int  last_step,
const double  last_residual 
)

Constructor.


Member Function Documentation

virtual const char* SolverControl::NoConvergence::what ( ) const throw () [virtual]

Standardized output for catch handlers.


Member Data Documentation

Iteration number of the last step.

Definition at line 118 of file solver_control.h.

Residual in the last step.

Definition at line 123 of file solver_control.h.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

deal.II documentation generated on Mon May 21 2012 12:06:33 by doxygen 1.7.3