Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
List of all members
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 >

Public Member Functions

Constructor/Destructor
 EpetraOp (const Teuchos::RCP< Epetra_Operator > &Op)
 Basic constructor. Accepts reference-counted pointer to an Epetra_Operator. More...
 
 ~EpetraOp ()
 Destructor. More...
 
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. More...
 
- Public Member Functions inherited from Anasazi::Operator< double >
 Operator ()
 Default constructor. More...
 
virtual ~Operator ()
 Destructor. More...
 

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 342 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 269 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraOp::~EpetraOp ( )

Destructor.

Definition at line 274 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 280 of file AnasaziEpetraAdapter.cpp.


The documentation for this class was generated from the following files: