Thyra_AssertOp.hpp File Reference

#include "Thyra_OperatorVectorTypes.hpp"
#include "Thyra_VectorSpaceBase.hpp"
#include "Thyra_VectorBase.hpp"
#include "Thyra_LinearOpBase.hpp"
#include "Teuchos_TestForException.hpp"

Include dependency graph for Thyra_AssertOp.hpp:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  Thyra

Classes

struct  Thyra::dump_vec_spaces_t< Scalar >

Defines

#define THYRA_ASSERT_LHS_ARG(FUNC_NAME, LHS_ARG)
 This macro just asserts that a LHS argument is set.
#define THYRA_ASSERT_VEC_SPACES_NAMES(FUNC_NAME, VS1, VS1_NAME, VS2, VS2_NAME)
 Helper assertion macro.
#define THYRA_ASSERT_VEC_SPACES(FUNC_NAME, VS1, VS2)   THYRA_ASSERT_VEC_SPACES_NAMES(FUNC_NAME,VS1,#VS1,VS2,#VS2)
 This is a very useful macro that should be used to validate that two vector spaces are compatible.
#define THYRA_ASSERT_MAT_VEC_SPACES(FUNC_NAME, M, M_T, M_VS, VS)
 This macro validates that a linear operator and a vector space for the domain vector are compatible.
#define THYRA_ASSERT_LINEAR_OP_VEC_APPLY_SPACES(FUNC_NAME, M, M_T, X, Y)
 This is a very useful macro that should be used to validate that the spaces for the vector version of the LinearOpBase::apply() function (or related operations).
#define THYRA_ASSERT_LINEAR_OP_MULTIVEC_APPLY_SPACES(FUNC_NAME, M, M_T, X, Y)
 This is a very useful macro that should be used to validate that the spaces for the multi-vector version of the LinearOpBase::apply() function (or related operations).
#define THYRA_ASSERT_MAT_MAT_SPACES(FUNC_NAME, M1, M1_T, M1_VS, M2, M2_T, M2_VS)
 Helper assertion macro.

Enumerations

enum  EM_VS { VS_RANGE, VS_DOMAIN }

Functions

template<class Scalar>
dump_vec_spaces_t< Scalar > dump_vec_spaces (const Thyra::VectorSpaceBase< Scalar > &vec_space1, const std::string &vec_space1_name, const Thyra::VectorSpaceBase< Scalar > &vec_space2, const std::string &vec_space2_name)
template<class Scalar>
std::ostream & operator<< (std::ostream &o, const dump_vec_spaces_t< Scalar > &d)
template<class Scalar>
const Thyra::VectorSpaceBase<
Scalar > & 
linear_op_op (const Thyra::LinearOpBase< Scalar > &M, Thyra::ETransp M_trans, EM_VS M_VS)
 Utility function for selecting domain or range spaces.


Enumeration Type Documentation

enum EM_VS
 

Enumeration values:
VS_RANGE 
VS_DOMAIN 

Definition at line 89 of file Thyra_AssertOp.hpp.


Function Documentation

template<class Scalar>
dump_vec_spaces_t<Scalar> dump_vec_spaces const Thyra::VectorSpaceBase< Scalar > &  vec_space1,
const std::string &  vec_space1_name,
const Thyra::VectorSpaceBase< Scalar > &  vec_space2,
const std::string &  vec_space2_name
[inline]
 

Definition at line 61 of file Thyra_AssertOp.hpp.

template<class Scalar>
std::ostream& operator<< std::ostream &  o,
const dump_vec_spaces_t< Scalar > &  d
 

Definition at line 75 of file Thyra_AssertOp.hpp.


Generated on Thu Sep 18 12:33:04 2008 for Thyra Package Browser (Single Doxygen Collection) by doxygen 1.3.9.1