AXOM
Axom provides a robust, flexible software infrastructure for the development of multi-physics applications and computational tools.
|
Classes | |
struct | axom::slic::detail::FalseType |
Variable of a type that evaluates as false. More... | |
Namespaces | |
axom | |
axom::slic | |
axom::slic::detail | |
Macros | |
#define | SLIC_INFO(msg) |
Logs an Info message. More... | |
#define | SLIC_INFO_TAGGED(msg, tag) |
Logs an Info message to a tagged stream. More... | |
#define | SLIC_INFO_IF(EXP, msg) |
Logs an Info message iff EXP is true. More... | |
#define | SLIC_INFO_ROOT(msg) SLIC_INFO_IF(axom::slic::isRoot(), msg) |
Logs an Info message if on root. More... | |
#define | SLIC_INFO_ROOT_IF(EXP, msg) SLIC_INFO_IF((EXP) && (axom::slic::isRoot()), msg) |
Logs an Info message if on root and iff EXP is true. More... | |
#define | SLIC_DEBUG(msg) |
Logs a Debug message. More... | |
#define | SLIC_DEBUG_IF(EXP, msg) |
Logs an Debug message iff EXP is true. More... | |
#define | SLIC_DEBUG_ROOT(msg) SLIC_DEBUG_IF(axom::slic::isRoot(), msg) |
Logs a Debug message if on root. More... | |
#define | SLIC_DEBUG_ROOT_IF(EXP, msg) SLIC_DEBUG_IF((EXP) && (axom::slic::isRoot()), msg) |
Logs a Debug message if on root and iff EXP is true. More... | |
SLIC_ERROR MACROS | |
| |
#define | SLIC_ERROR(msg) |
Logs an error and aborts the application. More... | |
#define | SLIC_ERROR_IF(EXP, msg) |
Logs an error iff EXP is true and aborts the application. More... | |
#define | SLIC_ERROR_ROOT(msg) |
Macro that logs given error message only on root. More... | |
#define | SLIC_ERROR_ROOT_IF(EXP, msg) |
Macro that logs given error message only on root iff EXP is true. More... | |
SLIC_WARNING MACROS | |
| |
#define | SLIC_WARNING(msg) |
Logs a warning message. More... | |
#define | SLIC_WARNING_IF(EXP, msg) |
Logs a warning iff EXP is true. More... | |
#define | SLIC_WARNING_ROOT(msg) |
Macro that logs given warning message only on root. More... | |
#define | SLIC_WARNING_ROOT_IF(EXP, msg) |
Macro that logs given warning message only on root iff EXP is true. More... | |
SLIC_ASSERT MACROS | |
| |
#define | SLIC_ASSERT(EXP) |
Asserts that a given expression is true. If the expression is not true an error will be logged and the application will be aborted. More... | |
#define | SLIC_ASSERT_MSG(EXP, msg) |
Same as SLIC_ASSERT, but with a custom error message. More... | |
SLIC_CHECK MACROS | |
These check macros must then be called by all ranks in the user-supplied communicator when used within an MPI distributed environment. | |
#define | SLIC_CHECK(EXP) |
Checks that a given expression is true. If the expression is not true a warning is logged, but, in contrast to the similar SLIC_ASSERT macro the application is not aborted. More... | |
#define | SLIC_CHECK_MSG(EXP, msg) |
Same as SLIC_CHECK, but with a custom error message. More... | |
Variables | |
static const FalseType | axom::slic::detail::false_value |
#define SLIC_ERROR | ( | msg | ) |
Logs an error and aborts the application.
[in] | msg | user-supplied message |
Usage:
#define SLIC_ERROR_IF | ( | EXP, | |
msg | |||
) |
Logs an error iff EXP is true and aborts the application.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
Usage:
#define SLIC_ERROR_ROOT | ( | msg | ) |
Macro that logs given error message only on root.
[in] | msg | user-supplied message. |
axom::slic::initialize(is_root={true|false})
or set via axom::slic::setIsRoot({true|false})
to filter based on root.Usage:
#define SLIC_ERROR_ROOT_IF | ( | EXP, | |
msg | |||
) |
Macro that logs given error message only on root iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
axom::slic::initialize(is_root={true|false})
or set via axom::slic::setIsRoot({true|false})
to filter based on root.Usage:
#define SLIC_WARNING | ( | msg | ) |
Logs a warning message.
[in] | msg | user-supplied message |
slic::enableAbortOnWarning()
Usage:
#define SLIC_WARNING_IF | ( | EXP, | |
msg | |||
) |
Logs a warning iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
slic::enableAbortOnWarning()
Usage:
#define SLIC_WARNING_ROOT | ( | msg | ) |
Macro that logs given warning message only on root.
[in] | msg | user-supplied message. |
axom::slic::initialize(is_root={true|false})
or set via axom::slic::setIsRoot({true|false})
to filter based on root.Usage:
#define SLIC_WARNING_ROOT_IF | ( | EXP, | |
msg | |||
) |
Macro that logs given warning message only on root iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
axom::slic::initialize(is_root={true|false})
or set via axom::slic::setIsRoot({true|false})
to filter based on root.Usage:
#define SLIC_ASSERT | ( | EXP | ) |
Asserts that a given expression is true. If the expression is not true an error will be logged and the application will be aborted.
[in] | EXP | user-supplied boolean expression. |
Usage:
#define SLIC_ASSERT_MSG | ( | EXP, | |
msg | |||
) |
Same as SLIC_ASSERT, but with a custom error message.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message |
Usage:
#define SLIC_CHECK | ( | EXP | ) |
Checks that a given expression is true. If the expression is not true a warning is logged, but, in contrast to the similar SLIC_ASSERT macro the application is not aborted.
[in] | EXP | user-supplied boolean expression. |
Usage:
#define SLIC_CHECK_MSG | ( | EXP, | |
msg | |||
) |
Same as SLIC_CHECK, but with a custom error message.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message |
Usage:
#define SLIC_INFO | ( | msg | ) |
Logs an Info message.
[in] | msg | user-supplied message |
Usage:
#define SLIC_INFO_TAGGED | ( | msg, | |
tag | |||
) |
Logs an Info message to a tagged stream.
[in] | msg | user-supplied message |
[in] | tag | user-supplied tag |
Usage:
#define SLIC_INFO_IF | ( | EXP, | |
msg | |||
) |
Logs an Info message iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
Usage:
#define SLIC_INFO_ROOT | ( | msg | ) | SLIC_INFO_IF(axom::slic::isRoot(), msg) |
Logs an Info message if on root.
[in] | msg | user-supplied message. |
Usage:
#define SLIC_INFO_ROOT_IF | ( | EXP, | |
msg | |||
) | SLIC_INFO_IF((EXP) && (axom::slic::isRoot()), msg) |
Logs an Info message if on root and iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
Usage:
#define SLIC_DEBUG | ( | msg | ) |
Logs a Debug message.
[in] | msg | user-supplied message |
Usage:
#define SLIC_DEBUG_IF | ( | EXP, | |
msg | |||
) |
Logs an Debug message iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
Usage:
#define SLIC_DEBUG_ROOT | ( | msg | ) | SLIC_DEBUG_IF(axom::slic::isRoot(), msg) |
Logs a Debug message if on root.
[in] | msg | user-supplied message. |
Usage:
#define SLIC_DEBUG_ROOT_IF | ( | EXP, | |
msg | |||
) | SLIC_DEBUG_IF((EXP) && (axom::slic::isRoot()), msg) |
Logs a Debug message if on root and iff EXP is true.
[in] | EXP | user-supplied boolean expression. |
[in] | msg | user-supplied message. |
Usage: