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"
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 = " <<
120template<
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 = " <<
Base class for all linear operators.
Teuchos::RCP< const Epetra_Operator > get_Epetra_Operator(const LinearOpBase< Scalar > &)
Get smart pointer to const Epetra_Operator object from reference to a const EpetraLinearOp accessed t...
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)