Go to the source code of this file.
|
#define | ASSERT_LHS_ARG(FUNC_NAME, LHS_ARG) |
|
#define | ASSERT_VEC_SPACES_NAMES(FUNC_NAME, VS1, VS1_NAME, VS2, VS2_NAME) |
|
#define | ASSERT_VEC_SPACES(FUNC_NAME, VS1, VS2) ASSERT_VEC_SPACES_NAMES(FUNC_NAME,VS1,#VS1,VS2,#VS2) |
|
#define | ASSERT_MAT_VEC_SPACES(FUNC_NAME, M, M_T, M_VS, VS) |
|
#define | ASSERT_MAT_MAT_SPACES(FUNC_NAME, M1, M1_T, M1_VS, M2, M2_T, M2_VS) |
|
#define ASSERT_LHS_ARG |
( |
|
FUNC_NAME, |
|
|
|
LHS_ARG |
|
) |
| |
Value:
(LHS_ARG) == NULL, std::invalid_argument \
,FUNC_NAME << " : Error!" \
);
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Definition at line 108 of file AbstractLinAlgPack_AssertOp.cpp.
#define ASSERT_VEC_SPACES_NAMES |
( |
|
FUNC_NAME, |
|
|
|
VS1, |
|
|
|
VS1_NAME, |
|
|
|
VS2, |
|
|
|
VS2_NAME |
|
) |
| |
Value:{ \
const bool is_compatible = (VS1).is_compatible(VS2); \
TEUCHOS_TEST_FOR_EXCEPTION( \
!is_compatible, VectorSpace::IncompatibleVectorSpaces \
,FUNC_NAME << " : " << dump_vec_spaces(VS1,VS1_NAME,VS2,VS2_NAME) \
) \
}
Definition at line 118 of file AbstractLinAlgPack_AssertOp.cpp.
#define ASSERT_MAT_VEC_SPACES |
( |
|
FUNC_NAME, |
|
|
|
M, |
|
|
|
M_T, |
|
|
|
M_VS, |
|
|
|
VS |
|
) |
| |
Value:{ \
std::ostringstream M_VS_name; \
<<
"." << ( M_VS == SPACE_COLS ?
"space_cols()" :
"space_rows()" );
\
FUNC_NAME \
,op(
M,M_T,M_VS),M_VS_name.str().c_str() \
,VS,#VS \
) \
}
#define ASSERT_VEC_SPACES_NAMES(FUNC_NAME, VS1, VS1_NAME, VS2, VS2_NAME)
const LAPACK_C_Decl::f_int & M
Definition at line 130 of file AbstractLinAlgPack_AssertOp.cpp.
#define ASSERT_MAT_MAT_SPACES |
( |
|
FUNC_NAME, |
|
|
|
M1, |
|
|
|
M1_T, |
|
|
|
M1_VS, |
|
|
|
M2, |
|
|
|
M2_T, |
|
|
|
M2_VS |
|
) |
| |
Value:{ \
std::ostringstream M1_VS_name, M2_VS_name; \
<< "." << ( M1_VS == SPACE_COLS ? "space_cols()" : "space_rows()" ); \
<<
"." << ( M2_VS == SPACE_COLS ?
"space_cols()" :
"space_rows()" );
\
FUNC_NAME \
,op(M1,M1_T,M1_VS),M1_VS_name.str().c_str() \
,op(M2,M2_T,M2_VS),M2_VS_name.str().c_str() \
) \
}
#define ASSERT_VEC_SPACES_NAMES(FUNC_NAME, VS1, VS1_NAME, VS2, VS2_NAME)
Definition at line 142 of file AbstractLinAlgPack_AssertOp.cpp.