10 #ifndef THYRA_GET_EPETRA_OPERATOR_HPP
11 #define THYRA_GET_EPETRA_OPERATOR_HPP
13 #include "Thyra_EpetraTypes.hpp"
14 #include "Teuchos_TestForException.hpp"
15 #include "Teuchos_TypeNameTraits.hpp"
46 template<
class Scalar>
51 (
true, std::invalid_argument,
"Thyra::get_Epetra_Operator: This function "
52 "only works if Scalar=double, because for Epetra objects, the only Scalar"
53 " type is double. Instead, Scalar = " <<
88 template<
class Scalar>
93 (
true, std::invalid_argument,
"Thyra::get_Epetra_Operator: This function "
94 "only works if Scalar=double, because for Epetra objects, the only Scalar"
95 " type is double. Instead, Scalar = " <<
107 #endif // THYRA_GET_EPETRA_OPERATOR_HPP
109 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
111 #warning "The ThyraEpetraAdapters package is deprecated"
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)
Base class for all linear operators.
Teuchos::RCP< Epetra_Operator > get_Epetra_Operator(LinearOpBase< Scalar > &)
Get smart pointer to non-const Epetra_Operator object from reference to a non-const EpetraLinearOp ac...