Anasazi Version of the Day
Anasazi::EpetraOp Class Reference

Basic adapter class for Anasazi::Operator that uses Epetra_Operator. More...

#include <AnasaziEpetraAdapter.hpp>

Inheritance diagram for Anasazi::EpetraOp:
Anasazi::Operator< double >

List of all members.

Public Member Functions

Constructor/Destructor
 EpetraOp (const Teuchos::RCP< Epetra_Operator > &Op)
 Basic constructor. Accepts reference-counted pointer to an Epetra_Operator.
 ~EpetraOp ()
 Destructor.
Operator application method
void Apply (const MultiVec< double > &X, MultiVec< double > &Y) const
 This method takes the Anasazi::MultiVec X and applies the operator to it resulting in the Anasazi::MultiVec Y.

Detailed Description

Basic adapter class for Anasazi::Operator that uses Epetra_Operator.

Note:
The Epetra package performs double-precision arithmetic, so the use of Epetra with Anasazi will only provide a double-precision eigensolver.

Definition at line 316 of file AnasaziEpetraAdapter.hpp.


Constructor & Destructor Documentation

Anasazi::EpetraOp::EpetraOp ( const Teuchos::RCP< Epetra_Operator > &  Op)

Basic constructor. Accepts reference-counted pointer to an Epetra_Operator.

Definition at line 256 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraOp::~EpetraOp ( )

Destructor.

Definition at line 261 of file AnasaziEpetraAdapter.cpp.


Member Function Documentation

void Anasazi::EpetraOp::Apply ( const MultiVec< double > &  X,
MultiVec< double > &  Y 
) const [virtual]

This method takes the Anasazi::MultiVec X and applies the operator to it resulting in the Anasazi::MultiVec Y.

Implements Anasazi::Operator< double >.

Definition at line 267 of file AnasaziEpetraAdapter.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends