Go to the source code of this file.
◆ COPY_IF_ZERO_0
#define COPY_IF_ZERO_0 |
( |
|
m | ) |
|
Value: if (is_zero(get_physical().m, eps)) { \
get_physical().m = get_##m(); \
}
◆ COPY_IF_ZERO_1
#define COPY_IF_ZERO_1 |
( |
|
m, |
|
|
|
z |
|
) |
| |
Value: if (is_zero(get_physical().m, eps)) { \
get_physical().m = get_##m(); \
get_physical().z = get_##z(); \
}
◆ COPY_IF_ZERO_2
#define COPY_IF_ZERO_2 |
( |
|
m, |
|
|
|
u, |
|
|
|
v |
|
) |
| |
Value: if (is_zero(get_physical().m, eps)) { \
get_physical().m = get_##m(); \
get_physical().u = get_##u(); \
get_physical().v = get_##
v(); \
}
◆ WARN_OR_THROW_IF
#define WARN_OR_THROW_IF |
( |
|
cond, |
|
|
|
msg |
|
) |
| |
Value: if (cond) { \
if (do_force_output()) { \
WARNING(msg); \
} else { \
throw EInvalidInput(msg); \
} \
}
◆ WARN_OR_THROW_IF_ZERO
#define WARN_OR_THROW_IF_ZERO |
( |
|
mass, |
|
|
|
msg |
|
) |
| WARN_OR_THROW_IF(is_zero(get_##mass(), eps), msg) |