libMesh
|
A specialization of the SolverException class for PETSc. More...
#include <petsc_solver_exception.h>
Public Member Functions | |
PetscSolverException (int error_code_in) | |
virtual const char * | what () const noexcept |
Override the what() function to provide a generic error message. More... | |
Public Attributes | |
int | error_code |
The error code generated by the solver. More... | |
std::string | what_message |
string which holds the message built in the constructor. More... | |
A specialization of the SolverException class for PETSc.
Definition at line 37 of file petsc_solver_exception.h.
libMesh::PetscSolverException::PetscSolverException | ( | int | error_code_in | ) |
Definition at line 40 of file petsc_solver_exception.h.
References libMesh::SolverException::error_code, and libMesh::SolverException::what_message.
|
virtualnoexceptinherited |
Override the what() function to provide a generic error message.
Definition at line 127 of file libmesh_exceptions.h.
References libMesh::SolverException::what_message.
|
inherited |
The error code generated by the solver.
Definition at line 137 of file libmesh_exceptions.h.
Referenced by PetscSolverException(), and libMesh::SolverException::SolverException().
|
inherited |
string which holds the message built in the constructor.
Definition at line 142 of file libmesh_exceptions.h.
Referenced by PetscSolverException(), libMesh::SolverException::SolverException(), and libMesh::SolverException::what().