Thyra Package Browser (Single Doxygen Collection) Version of the Day
Classes | Namespaces | Defines | Enumerations | Functions
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.

Classes

struct  Thyra::dump_vec_spaces_t< Scalar >

Namespaces

namespace  Thyra

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_LINEAR_OP_PLUS_LINEAR_OP_SPACES_NAMES(FUNC_NAME, M1, M1_T, M1_N, M2, M2_T, M2_N)   ::Thyra::assertLinearOpPlusLinearOpNames(FUNC_NAME,M1,M1_T,M1_N,M2,M2_T,M2_N)
 Assert that a linear operator addition matches up.
#define THYRA_ASSERT_LINEAR_OP_TIMES_LINEAR_OP_SPACES_NAMES(FUNC_NAME, M1, M1_T, M1_N, M2, M2_T, M2_N)   ::Thyra::assertLinearOpTimesLinearOpNames(FUNC_NAME,M1,M1_T,M1_N,M2,M2_T,M2_N)
 Assert that a linear operator multiplication matches up.
#define THYRA_ASSERT_MAT_MAT_SPACES(FUNC_NAME, M1, M1_T, M1_VS, M2, M2_T, M2_VS)
 Helper assertion macro.

Enumerations

enum  Thyra::EM_VS { Thyra::VS_RANGE, Thyra::VS_DOMAIN }

Functions

template<class Scalar >
dump_vec_spaces_t< Scalar > Thyra::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 & Thyra::operator<< (std::ostream &o, const dump_vec_spaces_t< Scalar > &d)
template<class Scalar >
const Thyra::VectorSpaceBase
< Scalar > & 
Thyra::linear_op_op (const Thyra::LinearOpBase< Scalar > &M, Thyra::EOpTransp M_trans, EM_VS M_VS)
 Utility function for selecting domain or range spaces.
template<class Scalar >
void Thyra::assertLinearOpPlusLinearOpNames (const std::string &funcName, const LinearOpBase< Scalar > &M1, const EOpTransp M1_trans_in, const std::string &M1_name, const LinearOpBase< Scalar > &M2, const EOpTransp M2_trans_in, const std::string &M2_name)
template<class Scalar >
void Thyra::assertLinearOpTimesLinearOpNames (const std::string &funcName, const LinearOpBase< Scalar > &M1, const EOpTransp M1_trans_in, const std::string &M1_name, const LinearOpBase< Scalar > &M2, const EOpTransp M2_trans_in, const std::string &M2_name)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines