42 #ifndef THYRA_EPETRA_OPERATOR_WRAPPER_HPP
43 #define THYRA_EPETRA_OPERATOR_WRAPPER_HPP
45 #include "Thyra_LinearOpBase.hpp"
46 #include "Epetra_Map.h"
47 #include "Epetra_Comm.h"
48 #include "Epetra_MultiVector.h"
49 #include "Epetra_Operator.h"
95 useTranspose_ = UseTranspose_in;
109 const char*
Label()
const {
return label_.c_str();}
153 RCP<const LinearOpBase<double> >
154 makeEpetraWrapper(
const RCP<
const LinearOpBase<double> > &thyraOp);
160 #endif // THYRA_EPETRA_OPERATOR_WRAPPER_HPP
void copyEpetraIntoThyra(const Epetra_MultiVector &x, const Ptr< VectorBase< double > > &thyraVec) const
EpetraOperatorWrapper(const RCP< const LinearOpBase< double > > &thyraOp)
const char * Label() const
const Epetra_Comm & Comm() const
const Epetra_Map & OperatorDomainMap() const
int SetUseTranspose(bool UseTranspose_in)
Abstract interface for finite-dimensional dense vectors.
RCP< const LinearOpBase< double > > getThyraOp() const
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
const Epetra_Map & OperatorRangeMap() const
Implements the Epetra_Operator interface with a Thyra LinearOperator.
bool UseTranspose() const
void copyThyraIntoEpetra(const VectorBase< double > &thyraVec, Epetra_MultiVector &x) const
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const