GEOSX
|
#include "common/DataTypes.hpp"
Go to the source code of this file.
Classes | |
struct | geosx::MatrixLayout |
Namespaces | |
geosx | |
Macros | |
#define | GEOSX_LAI_RUNTIME_ASSERT 1 |
#define | GEOSX_LAI_ASSERT(expr) GEOSX_ERROR_IF( !(expr), "" ) |
#define | GEOSX_LAI_ASSERT_MSG(expr, msg) GEOSX_ERROR_IF( !(expr), msg ) |
#define | GEOSX_LAI_ASSERT_EQ(lhs, rhs) GEOSX_ERROR_IF_NE( lhs, rhs ) |
#define | GEOSX_LAI_ASSERT_NE(lhs, rhs) GEOSX_ERROR_IF_EQ( lhs, rhs ) |
#define | GEOSX_LAI_ASSERT_GT(lhs, rhs) GEOSX_ERROR_IF_GE( rhs, lhs ) |
#define | GEOSX_LAI_ASSERT_GE(lhs, rhs) GEOSX_ERROR_IF_GT( rhs, lhs ) |
#define | GEOSX_LAI_CHECK_ERROR(call) |
#define | GEOSX_LAI_CHECK_ERROR_NNEG(call) |
Enumerations | |
enum | geosx::LAIOutputFormat { NATIVE_ASCII, NATIVE_BINARY, MATLAB_ASCII, MATLAB_BINARY, MATRIX_MARKET } |
#define GEOSX_LAI_ASSERT | ( | expr | ) | GEOSX_ERROR_IF( !(expr), "" ) |
#define GEOSX_LAI_ASSERT_EQ | ( | lhs, | |
rhs | |||
) | GEOSX_ERROR_IF_NE( lhs, rhs ) |
Assert lhs equals rhs
lhs | left hand side |
rhs | right hand side |
Definition at line 47 of file common.hpp.
#define GEOSX_LAI_ASSERT_GE | ( | lhs, | |
rhs | |||
) | GEOSX_ERROR_IF_GT( rhs, lhs ) |
Assert lhs greater than or equal to rhs
lhs | left hand side |
rhs | right hand side |
Definition at line 68 of file common.hpp.
#define GEOSX_LAI_ASSERT_GT | ( | lhs, | |
rhs | |||
) | GEOSX_ERROR_IF_GE( rhs, lhs ) |
Assert lhs greater than rhs
lhs | left hand side |
rhs | right hand side |
Definition at line 61 of file common.hpp.
#define GEOSX_LAI_ASSERT_MSG | ( | expr, | |
msg | |||
) | GEOSX_ERROR_IF( !(expr), msg ) |
Assert expression and output message if false
expr | expression |
msg | message |
Definition at line 40 of file common.hpp.
#define GEOSX_LAI_ASSERT_NE | ( | lhs, | |
rhs | |||
) | GEOSX_ERROR_IF_EQ( lhs, rhs ) |
Assert lhs not equal to rhs
lhs | left hand side |
rhs | right hand side |
Definition at line 54 of file common.hpp.
#define GEOSX_LAI_CHECK_ERROR | ( | call | ) |
Macro for checking and reporting error codes from TPL packages
call | call to check function |
Definition at line 117 of file common.hpp.
#define GEOSX_LAI_CHECK_ERROR_NNEG | ( | call | ) |
Macro for checking and reporting non-negative error codes from TPL packages
call | call to check function |
Definition at line 127 of file common.hpp.
#define GEOSX_LAI_RUNTIME_ASSERT 1 |
Whether to check preconditions at runtime in LAI functions
Definition at line 26 of file common.hpp.