10 #ifndef THYRA_EPETRA_OPERATOR_WRAPPER_HPP
11 #define THYRA_EPETRA_OPERATOR_WRAPPER_HPP
13 #include "Thyra_LinearOpBase.hpp"
14 #include "Epetra_Map.h"
15 #include "Epetra_Comm.h"
16 #include "Epetra_MultiVector.h"
17 #include "Epetra_Operator.h"
49 const Ptr<VectorBase<double> > &thyraVec)
const;
53 Epetra_MultiVector &x)
const;
68 int Apply(
const Epetra_MultiVector& X, Epetra_MultiVector& Y)
const ;
71 int ApplyInverse(
const Epetra_MultiVector& X, Epetra_MultiVector& Y)
const ;
122 makeEpetraWrapper(
const RCP<
const LinearOpBase<double> > &thyraOp);
128 #endif // THYRA_EPETRA_OPERATOR_WRAPPER_HPP
130 #if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
132 #warning "The ThyraEpetraAdapters package is deprecated"
void copyEpetraIntoThyra(const Epetra_MultiVector &x, const Ptr< VectorBase< double > > &thyraVec) const
EpetraOperatorWrapper(const RCP< const LinearOpBase< double > > &thyraOp)
static RCP< const Epetra_Comm > getEpetraComm(const LinearOpBase< double > &thyraOp)
const char * Label() const
const Epetra_Comm & Comm() const
const Epetra_Map & OperatorDomainMap() const
int SetUseTranspose(bool UseTranspose_in)
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.
RCP< const VectorSpaceBase< double > > range_
RCP< const VectorSpaceBase< double > > domain_
bool UseTranspose() const
void copyThyraIntoEpetra(const VectorBase< double > &thyraVec, Epetra_MultiVector &x) const
RCP< const Epetra_Map > rangeMap_
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
RCP< const LinearOpBase< double > > thyraOp_
RCP< const Epetra_Comm > comm_
RCP< const Epetra_Map > domainMap_