Inherits std::exception.
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 |
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.
| SolverControl::NoConvergence::NoConvergence | ( | const unsigned int | last_step, |
| const double | last_residual | ||
| ) |
Constructor.
| virtual const char* SolverControl::NoConvergence::what | ( | ) | const throw () [virtual] |
Standardized output for catch handlers.
| const unsigned int SolverControl::NoConvergence::last_step |
Iteration number of the last step.
Definition at line 118 of file solver_control.h.
| const double SolverControl::NoConvergence::last_residual |
Residual in the last step.
Definition at line 123 of file solver_control.h.
documentation generated on Mon May 21 2012 12:06:33 by
doxygen
1.7.3