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"
63 useTranspose_ = UseTranspose_in;
77 const char*
Label()
const {
return label_.c_str();}
121RCP<const LinearOpBase<double> >
130#if defined(Thyra_SHOW_DEPRECATED_WARNINGS)
132#warning "The ThyraEpetraAdapters package is deprecated"
Implements the Epetra_Operator interface with a Thyra LinearOperator.
void copyEpetraIntoThyra(const Epetra_MultiVector &x, const Ptr< VectorBase< double > > &thyraVec) const
const Epetra_Map & OperatorRangeMap() const
int SetUseTranspose(bool UseTranspose_in)
int ApplyInverse(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
const Epetra_Map & OperatorDomainMap() const
bool UseTranspose() const
RCP< const LinearOpBase< double > > makeEpetraWrapper(const RCP< const LinearOpBase< double > > &thyraOp)
Wrap a Thyra operator in the Epetra_Operator interface, and then wrap it again in a Thyra operator in...
RCP< const LinearOpBase< double > > getThyraOp() const
const char * Label() const
const Epetra_Comm & Comm() const
void copyThyraIntoEpetra(const VectorBase< double > &thyraVec, Epetra_MultiVector &x) const
int Apply(const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
Base class for all linear operators.
Abstract interface for finite-dimensional dense vectors.