42#ifndef THYRA_GET_EPETRA_OPERATOR_HPP
43#define THYRA_GET_EPETRA_OPERATOR_HPP
45#include "Thyra_EpetraTypes.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 = " <<
92get_Epetra_Operator( LinearOpBase<double> &op );
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 = " <<
134get_Epetra_Operator(
const LinearOpBase<double> &op );
Base class for all linear operators.
#define TEUCHOS_TEST_FOR_EXCEPTION(throw_exception_test, Exception, msg)