Thyra::EpetraOperatorWrapper Class Reference

Implements the Epetra_Operator interface with a Thyra LinearOperator. This enables the use of absrtact Thyra operators in AztecOO as preconditioners and operators, without being rendered into concrete Epetra matrices. More...

#include <Thyra_EpetraOperatorWrapper.hpp>

Inheritance diagram for Thyra::EpetraOperatorWrapper:

[legend]
List of all members.

Public Member Functions

 EpetraOperatorWrapper (const ConstLinearOperator< double > &thyraOp)
virtual ~EpetraOperatorWrapper ()
int SetUseTranspose (bool UseTranspose)
int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
double NormInf () const
const char * Label () const
bool UseTranspose () const
bool HasNormInf () const
const Epetra_CommComm () const
const Epetra_MapOperatorDomainMap () const
const Epetra_MapOperatorRangeMap () const
void copyEpetraIntoThyra (const Epetra_MultiVector &x, Vector< double > thyraVec) const
void copyThyraIntoEpetra (const ConstVector< double > &thyraVec, Epetra_MultiVector &v) const

Detailed Description

Implements the Epetra_Operator interface with a Thyra LinearOperator. This enables the use of absrtact Thyra operators in AztecOO as preconditioners and operators, without being rendered into concrete Epetra matrices.

Definition at line 61 of file Thyra_EpetraOperatorWrapper.hpp.


Constructor & Destructor Documentation

EpetraOperatorWrapper::EpetraOperatorWrapper const ConstLinearOperator< double > &  thyraOp  ) 
 

Definition at line 46 of file Thyra_EpetraOperatorWrapper.cpp.

virtual Thyra::EpetraOperatorWrapper::~EpetraOperatorWrapper  )  [inline, virtual]
 

Definition at line 68 of file Thyra_EpetraOperatorWrapper.hpp.


Member Function Documentation

int Thyra::EpetraOperatorWrapper::SetUseTranspose bool  UseTranspose  )  [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 71 of file Thyra_EpetraOperatorWrapper.hpp.

int EpetraOperatorWrapper::Apply const Epetra_MultiVector X,
Epetra_MultiVector Y
const [virtual]
 

Implements Epetra_Operator.

Definition at line 226 of file Thyra_EpetraOperatorWrapper.cpp.

int EpetraOperatorWrapper::ApplyInverse const Epetra_MultiVector X,
Epetra_MultiVector Y
const [virtual]
 

Implements Epetra_Operator.

Definition at line 274 of file Thyra_EpetraOperatorWrapper.cpp.

double EpetraOperatorWrapper::NormInf  )  const [virtual]
 

Implements Epetra_Operator.

Definition at line 57 of file Thyra_EpetraOperatorWrapper.cpp.

const char* Thyra::EpetraOperatorWrapper::Label  )  const [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 83 of file Thyra_EpetraOperatorWrapper.hpp.

bool Thyra::EpetraOperatorWrapper::UseTranspose  )  const [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 86 of file Thyra_EpetraOperatorWrapper.hpp.

bool Thyra::EpetraOperatorWrapper::HasNormInf  )  const [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 89 of file Thyra_EpetraOperatorWrapper.hpp.

const Epetra_Comm& Thyra::EpetraOperatorWrapper::Comm  )  const [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 92 of file Thyra_EpetraOperatorWrapper.hpp.

const Epetra_Map& Thyra::EpetraOperatorWrapper::OperatorDomainMap  )  const [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 95 of file Thyra_EpetraOperatorWrapper.hpp.

const Epetra_Map& Thyra::EpetraOperatorWrapper::OperatorRangeMap  )  const [inline, virtual]
 

Implements Epetra_Operator.

Definition at line 98 of file Thyra_EpetraOperatorWrapper.hpp.

void EpetraOperatorWrapper::copyEpetraIntoThyra const Epetra_MultiVector x,
Vector< double >  thyraVec
const
 

get a non-const pointer to the data in the thyra vector

Definition at line 111 of file Thyra_EpetraOperatorWrapper.cpp.

void EpetraOperatorWrapper::copyThyraIntoEpetra const ConstVector< double > &  thyraVec,
Epetra_MultiVector v
const
 

get a const pointer to the data in the thyra vector

Definition at line 167 of file Thyra_EpetraOperatorWrapper.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:37:49 2008 for Epetra to Thyra Adapter Software by doxygen 1.3.9.1