KaMPIng 0.1.0
(Near) zero-overhead C++ MPI bindings.
Loading...
Searching...
No Matches
assertion_levels.hpp
1#pragma once
2
3/// @brief Assertion levels
4namespace kamping::assert {
5/// @defgroup assertion-levels Assertion levels
6///
7/// @{
8
9/// @brief Assertion level for lightweight assertions.
10#define KAMPING_ASSERTION_LEVEL_LIGHT 20
11
12/// @brief Assertion level for lightweight assertions.
14
15/// @brief Default assertion level. This level is used if no assertion level is specified.
16#define KAMPING_ASSERTION_LEVEL_NORMAL 30
17
18/// @brief Default assertion level. This level is used if no assertion level is specified.
20
21/// @brief Assertions that perform lightweight communication.
22#define KAMPING_ASSERTION_LEVEL_LIGHT_COMMUNICATION 40
23
24/// @brief Assertions that perform lightweight communication.
26
27/// @brief Assertions that perform heavyweight communication.
28#define KAMPING_ASSERTION_LEVEL_HEAVY_COMMUNICATION 50
29
30/// @brief Assertions that perform heavyweight communication.
32
33/// @brief Assertion level for heavyweight assertions.
34#define KAMPING_ASSERTION_LEVEL_HEAVY 60
35
36/// @brief Assertion level for heavyweight assertions.
38
39/// @}
40} // namespace kamping::assert
#define KAMPING_ASSERTION_LEVEL_HEAVY
Assertion level for heavyweight assertions.
Definition assertion_levels.hpp:34
#define KAMPING_ASSERTION_LEVEL_HEAVY_COMMUNICATION
Assertions that perform heavyweight communication.
Definition assertion_levels.hpp:28
constexpr int heavy_communication
Assertions that perform heavyweight communication.
Definition assertion_levels.hpp:31
constexpr int heavy
Assertion level for heavyweight assertions.
Definition assertion_levels.hpp:37
constexpr int light
Assertion level for lightweight assertions.
Definition assertion_levels.hpp:13
#define KAMPING_ASSERTION_LEVEL_LIGHT
Assertion level for lightweight assertions.
Definition assertion_levels.hpp:10
constexpr int normal
Default assertion level. This level is used if no assertion level is specified.
Definition assertion_levels.hpp:19
#define KAMPING_ASSERTION_LEVEL_NORMAL
Default assertion level. This level is used if no assertion level is specified.
Definition assertion_levels.hpp:16
#define KAMPING_ASSERTION_LEVEL_LIGHT_COMMUNICATION
Assertions that perform lightweight communication.
Definition assertion_levels.hpp:22
constexpr int light_communication
Assertions that perform lightweight communication.
Definition assertion_levels.hpp:25
Assertion levels.
Definition assertion_levels.hpp:4