HypOptException
-
class HypOptException : public std::exception
Exception class intended for hyperoptimization related errors.
Petsc exception handling is used for the majority of the design loop, but C++ style exceptions are useful especially when propagating errors to the Python wrapper.
Public Functions
-
inline HypOptException(const char *msg)
Basic exception constructor.
-
inline virtual const char *what() const
Exception message function.
Private Members
-
const char *msg
-
inline HypOptException(const char *msg)