Belos::EpetraOperator Class Reference

This class provides and interface to the Epetra_Operator class, so Belos can be integrated into other codes as an abstract operator. More...

#include <BelosEpetraOperator.h>

Inheritance diagram for Belos::EpetraOperator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

Constructor / Destructor
 EpetraOperator (const RefCountPtr< LinearProblem< double, Epetra_MultiVector, Epetra_Operator > > &lp, const RefCountPtr< StatusTest< double, Epetra_MultiVector, Epetra_Operator > > &stest, const RefCountPtr< OutputManager< double > > &om, const RefCountPtr< ParameterList > &plist)
 Constructor.
virtual ~EpetraOperator ()
 Destructor.
Attribute methods
int SetUseTranspose (bool UseTranspose)
 Set whether the operator or its inverse should be applied. [ This option is not implemented ].
Operator application methods
int Apply (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Apply the operator.
int ApplyInverse (const Epetra_MultiVector &X, Epetra_MultiVector &Y) const
 Apply the operator's inverse.
Norm methods
double NormInf () const
 Compute the infinity norm of the operator. [ This option is not implemented ].
Attribute access functions
const char * Label () const
 Return the label of the operator.
bool UseTranspose () const
 Return whether the operator is using the transpose.
bool HasNormInf () const
 Return whether the infinity norm is available for this operator.
const Epetra_CommComm () const
 Return the communicator for this operator.
const Epetra_MapOperatorDomainMap () const
 Return the domain map for this operator.
const Epetra_MapOperatorRangeMap () const
 Return the range map for this operator.

Detailed Description

This class provides and interface to the Epetra_Operator class, so Belos can be integrated into other codes as an abstract operator.

Definition at line 69 of file BelosEpetraOperator.h.


Constructor & Destructor Documentation

Belos::EpetraOperator::EpetraOperator const RefCountPtr< LinearProblem< double, Epetra_MultiVector, Epetra_Operator > > &  lp,
const RefCountPtr< StatusTest< double, Epetra_MultiVector, Epetra_Operator > > &  stest,
const RefCountPtr< OutputManager< double > > &  om,
const RefCountPtr< ParameterList > &  plist
 

Constructor.

virtual Belos::EpetraOperator::~EpetraOperator  )  [inline, virtual]
 

Destructor.

Definition at line 81 of file BelosEpetraOperator.h.


Member Function Documentation

int Belos::EpetraOperator::SetUseTranspose bool  UseTranspose  )  [inline, virtual]
 

Set whether the operator or its inverse should be applied. [ This option is not implemented ].

Implements Epetra_Operator.

Definition at line 88 of file BelosEpetraOperator.h.

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

Apply the operator.

Implements Epetra_Operator.

Definition at line 91 of file BelosEpetraOperator.cpp.

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

Apply the operator's inverse.

Implements Epetra_Operator.

Definition at line 106 of file BelosEpetraOperator.cpp.

double Belos::EpetraOperator::NormInf  )  const [inline, virtual]
 

Compute the infinity norm of the operator. [ This option is not implemented ].

Implements Epetra_Operator.

Definition at line 105 of file BelosEpetraOperator.h.

const char* Belos::EpetraOperator::Label  )  const [inline, virtual]
 

Return the label of the operator.

Implements Epetra_Operator.

Definition at line 112 of file BelosEpetraOperator.h.

bool Belos::EpetraOperator::UseTranspose  )  const [inline, virtual]
 

Return whether the operator is using the transpose.

Implements Epetra_Operator.

Definition at line 115 of file BelosEpetraOperator.h.

bool Belos::EpetraOperator::HasNormInf  )  const [inline, virtual]
 

Return whether the infinity norm is available for this operator.

Implements Epetra_Operator.

Definition at line 118 of file BelosEpetraOperator.h.

const Epetra_Comm & EpetraOperator::Comm  )  const [virtual]
 

Return the communicator for this operator.

Implements Epetra_Operator.

Definition at line 76 of file BelosEpetraOperator.cpp.

const Epetra_Map & EpetraOperator::OperatorDomainMap  )  const [virtual]
 

Return the domain map for this operator.

Implements Epetra_Operator.

Definition at line 81 of file BelosEpetraOperator.cpp.

const Epetra_Map & EpetraOperator::OperatorRangeMap  )  const [virtual]
 

Return the range map for this operator.

Implements Epetra_Operator.

Definition at line 86 of file BelosEpetraOperator.cpp.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:30:13 2008 for Belos by doxygen 1.3.9.1