Classes |
| class | LoggerMonitor |
| | Logging output monitor. More...
|
| class | Hermes2DLogoMessage |
| | Generates a logo when the library is loaded and the logo is enabled (a preprocessor directive H2D_NO_LOGO). More...
|
Defines |
| #define | H2D_LOG_FILE_DELIM_SIZE 80 |
| | A size of a delimiter in a log file.
|
| #define | FOREGROUND_RED 1 |
| #define | FOREGROUND_GREEN 2 |
| #define | FOREGROUND_BLUE 4 |
| #define | BUF_SZ 2048 |
| #define | __H2D_REP_WARN false |
| #define | __H2D_REP_WARN_INTR false |
| #define | __H2D_REP_INFO false |
| #define | __H2D_REP_VERB false |
| #define | __H2D_REP_TRAC false |
| #define | __H2D_REP_TIME false |
| #define | __H2D_REP_DEBG true |
Functions |
| H2D_API const std::string | get_quad_order_str (const int quad_order) |
| | Returns string representation of the quad order: used for debugging purposses.
|
| H2D_API void | hermes2d_exit_if (bool cond, int code) |
| | Exits the application if the condition is true.
|
| H2D_API bool | hermes2d_log_message_if (bool cond, const Hermes2DLogEventInfo &info, const char *msg,...) |
| | Logs an event if the condition is true.
|
| void | __hermes2d_fwrite (const void *ptr, size_t size, size_t nitems, FILE *stream, const Hermes2DLogEventInfo &err_info) |
| void | __hermes2d_fread (void *ptr, size_t size, size_t nitems, FILE *stream, const Hermes2DLogEventInfo &err_info) |
| H2D_API void | throw_exception (char *text) |
| | Throws an exception std::runtime_error. Used by Python wrappers.
|
Variables |
| Hermes2DLogoMessage | hermes2d_logo_message |
| H2D_API bool | __h2d_report_warn = __H2D_REP_WARN |
| H2D_API bool | __h2d_report_warn_intr = __H2D_REP_WARN_INTR |
| H2D_API bool | __h2d_report_info = __H2D_REP_INFO |
| H2D_API bool | __h2d_report_verbose = __H2D_REP_VERB |
| H2D_API bool | __h2d_report_trace = __H2D_REP_TRAC |
| H2D_API bool | __h2d_report_time = __H2D_REP_TIME |
| H2D_API bool | __h2d_report_debug = __H2D_REP_DEBG |