libMesh
Classes | Namespaces | Functions
libmesh_exceptions.h File Reference

Go to the source code of this file.

Classes

class  libMesh::LogicError
 A class to represent the internal "this should never happen" errors, to be thrown by "libmesh_error();". More...
 
class  libMesh::NotImplemented
 A class to stub for features that should be in libMesh, but haven't been written yet, to be thrown by "libmesh_not_implemented();". More...
 
class  libMesh::FileError
 A class representing a failed attempt by the library to open a file (or construct an fstream, etc), to be thrown by "libmesh_file_error(filename);" For ease of debugging, "filename" should include any (absolute or relative or implicit) pathname that was part of the failed open. More...
 
class  libMesh::DegenerateMap
 A class representing the detection of an unexpected degeneracy, e.g. More...
 
class  libMesh::ConvergenceFailure
 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...
 
class  libMesh::DynamicCastFailure
 A class representing that a dynamic cast failed to produce expected output. More...
 
class  libMesh::FloatingPointException
 A class representing a floating point exception. More...
 
class  libMesh::SolverException
 A class representing an exception during a solve. More...
 
class  libMesh::TerminationException
 A class representing an exception used only to send a program to the terminate handler for abort after cleanup, while bypassing the usual debugging output (performance logs, stack traces, "terminating" messages) that the handler does to ease debugging of uncaught error exceptions. More...
 

Namespaces

 libMesh
 The libMesh namespace provides an interface to certain functionality in the library.
 

Functions

void libMesh::libmesh_terminate_handler ()
 A terminate handler. More...
 
void libMesh::enableFPE (bool on)
 Toggle hardware trap floating point exceptions. More...
 
void libMesh::enableSEGV (bool on)
 Toggle libMesh reporting of segmentation faults. More...
 
void libMesh::enableSIGINT (bool on)
 Toggle libMesh handling of SIGINT (Ctrl+C) interrupts. More...