Thyra Package Browser (Single Doxygen Collection) Version of the Day
Classes | Namespaces | Defines
Thyra_MultiVectorDefaultBase_decl.hpp File Reference
#include "Thyra_MultiVectorBase.hpp"
#include "Thyra_LinearOpDefaultBase_decl.hpp"
Include dependency graph for Thyra_MultiVectorDefaultBase_decl.hpp:
This graph shows which files directly or indirectly include this file:

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 Documentation

#define THYRA_ASSERT_MV_COLS (   FUNCNAME,
  cols 
)
Value:
{ \
    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 
)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines