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.
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.
Iteration number of the last step.
Residual in the last step.