libMesh
Public Member Functions | List of all members
libMesh::ConvergenceFailure Class Reference

A class representing a solver's failure to converge, to be thrown by "libmesh_convergence_failure();" This should be a last resort; more often, a solve which has failed should be reattempted after switching to a smaller timestep, adding underrelaxation, taking a smaller continuation step, etc. More...

#include <libmesh_exceptions.h>

Inheritance diagram for libMesh::ConvergenceFailure:
[legend]

Public Member Functions

 ConvergenceFailure (const std::string &err_msg="Unrecoverable failure to converge")
 

Detailed Description

A class representing a solver's failure to converge, to be thrown by "libmesh_convergence_failure();" This should be a last resort; more often, a solve which has failed should be reattempted after switching to a smaller timestep, adding underrelaxation, taking a smaller continuation step, etc.

Definition at line 131 of file libmesh_exceptions.h.

Constructor & Destructor Documentation

◆ ConvergenceFailure()

libMesh::ConvergenceFailure::ConvergenceFailure ( const std::string &  err_msg = "Unrecoverable failure to converge")
inline

Definition at line 134 of file libmesh_exceptions.h.

134 : std::runtime_error( err_msg ) {}

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