|
Thyra Package Browser (Single Doxygen Collection) Version of the Day
|


Go to the source code of this file.
Classes | |
| class | Thyra::MultiVectorDefaultBase< Scalar > |
Node subclass that uses a default MultiVectorBase implementation to provide default implementations for as many other functions in MultiVectorBase interface the as is reasonable. More... | |
Namespaces | |
| namespace | Thyra |
Defines | |
| #define | THYRA_ASSERT_MV_COLS(FUNCNAME, cols) |
| #define | THYRA_DEBUG_ASSERT_MV_COLS(FUNCNAME, cols) |
| #define THYRA_ASSERT_MV_COLS | ( | FUNCNAME, | |
| cols | |||
| ) |
{ \
const int numCols = cols.size(); \
const Thyra::Ordinal dimDomain = this->domain()->dim(); \
const std::string msgErr = this->description()+"::"+FUNCNAME; \
TEST_FOR_EXCEPTION( !( 1 <= numCols && numCols <= dimDomain ), \
std::invalid_argument, msgErr<<"Error!"); \
for (int k = 0; k < numCols; ++k) { \
const int col_k = cols[k]; \
TEST_FOR_EXCEPTION( \
!( 0<= col_k && col_k < dimDomain ), std::out_of_range, \
msgErr<<": col["<<k<<"] = " << col_k \
<< " is not in the range [0,"<<(dimDomain-1)<<"]!" \
); \
} \
} \
typedef int THYRA_ASSERT_MV_COLS_t
Definition at line 196 of file Thyra_MultiVectorDefaultBase_decl.hpp.
| #define THYRA_DEBUG_ASSERT_MV_COLS | ( | FUNCNAME, | |
| cols | |||
| ) |
Definition at line 218 of file Thyra_MultiVectorDefaultBase_decl.hpp.
Referenced by Thyra::DefaultSpmdMultiVector< Scalar >::nonconstNonContigSubViewImpl(), and Thyra::DefaultSpmdMultiVector< Scalar >::nonContigSubViewImpl().
1.7.4