42 #include "Thyra_get_Epetra_Operator.hpp" 43 #include "Thyra_EpetraLinearOp.hpp" 44 #include "Teuchos_dyn_cast.hpp" 49 Teuchos::RCP<Epetra_Operator>
52 EpetraLinearOp &thyra_epetra_op = Teuchos::dyn_cast<EpetraLinearOp>(op);
53 return thyra_epetra_op.epetra_op();
57 Teuchos::RCP<const Epetra_Operator>
60 const EpetraLinearOp &thyra_epetra_op = Teuchos::dyn_cast<
const EpetraLinearOp>(op);
61 return thyra_epetra_op.epetra_op();
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...