42 #ifndef THYRA_GET_EPETRA_OPERATOR_HPP
43 #define THYRA_GET_EPETRA_OPERATOR_HPP
45 #include "Thyra_EpetraTypes.hpp"
46 #include "Teuchos_TestForException.hpp"
47 #include "Teuchos_TypeNameTraits.hpp"
78 template<
class Scalar>
83 (
true, std::invalid_argument,
"Thyra::get_Epetra_Operator: This function "
84 "only works if Scalar=double, because for Epetra objects, the only Scalar"
85 " type is double. Instead, Scalar = " <<
120 template<
class Scalar>
125 (
true, std::invalid_argument,
"Thyra::get_Epetra_Operator: This function "
126 "only works if Scalar=double, because for Epetra objects, the only Scalar"
127 " type is double. Instead, Scalar = " <<
139 #endif // THYRA_GET_EPETRA_OPERATOR_HPP
#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...