Classes | |
struct | no_type |
struct | yes_type |
Static Public Attributes | |
static const bool | value |
Static Private Member Functions | |
template<typename T > | |
static yes_type | check_for_block_matrix (const BlockMatrixBase< T > *) |
template<typename T > | |
static yes_type | check_for_block_matrix (const BlockSparsityPatternBase< T > *) |
template<typename T > | |
static yes_type | check_for_block_matrix (const BlockSparseMatrixEZ< T > *) |
static no_type | check_for_block_matrix (...) |
static yes_type IsBlockMatrix< MatrixType >::check_for_block_matrix | ( | const BlockMatrixBase< T > * | ) | [inline, static, private] |
Overload returning true if the class is derived from BlockMatrixBase, which is what block matrices do (with the exception of BlockSparseMatrixEZ).
static yes_type IsBlockMatrix< MatrixType >::check_for_block_matrix | ( | const BlockSparsityPatternBase< T > * | ) | [inline, static, private] |
Overload returning true if the class is derived from BlockSparsityPatternBase, which is what block sparsity patterns do.
static yes_type IsBlockMatrix< MatrixType >::check_for_block_matrix | ( | const BlockSparseMatrixEZ< T > * | ) | [inline, static, private] |
Overload for BlockSparseMatrixEZ, which is the only block matrix not derived from BlockMatrixBase at the time of writing this class.
static no_type IsBlockMatrix< MatrixType >::check_for_block_matrix | ( | ... | ) | [static, private] |
Catch all for all other potential matrix types that are not block matrices.
const bool IsBlockMatrix< MatrixType >::value [inline, static] |
Initial value:
(sizeof(check_for_block_matrix ((MatrixType*)0)) == sizeof(yes_type))