Anasazi  Version of the Day
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Member Functions | List of all members
Anasazi::EpetraWSymMVOp Class Reference

Adapter class for creating a weighted operator from an Epetra_MultiVector and Epetra_Operator. More...

#include <AnasaziEpetraAdapter.hpp>

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

Public Member Functions

 EpetraWSymMVOp (const Teuchos::RCP< const Epetra_MultiVector > &MV, const Teuchos::RCP< Epetra_Operator > &OP)
 Basic constructor for applying operator $A^T*W*A$. More...
 
 ~EpetraWSymMVOp ()
 Destructor. More...
 
void Apply (const MultiVec< double > &X, MultiVec< double > &Y) const
 Apply method. More...
 
- Public Member Functions inherited from Anasazi::Operator< double >
 Operator ()
 Default constructor. More...
 
virtual ~Operator ()
 Destructor. More...
 

Detailed Description

Adapter class for creating a weighted operator from an Epetra_MultiVector and Epetra_Operator.

This class will apply the operation $A^T*W*A$ for the Apply method of the Anasazi::Operator. The Anasazi::EpetraWSymMvOp operator is useful when trying to compute a few singular values of the Epetra_MultiVector $A$ under the weighting matrix $W$. The singular values are the square-root of the eigenvalues of $A^T*W*A$.

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 618 of file AnasaziEpetraAdapter.hpp.

Constructor & Destructor Documentation

Anasazi::EpetraWSymMVOp::EpetraWSymMVOp ( const Teuchos::RCP< const Epetra_MultiVector > &  MV,
const Teuchos::RCP< Epetra_Operator > &  OP 
)

Basic constructor for applying operator $A^T*W*A$.

Definition at line 607 of file AnasaziEpetraAdapter.cpp.

Anasazi::EpetraWSymMVOp::~EpetraWSymMVOp ( )
inline

Destructor.

Definition at line 625 of file AnasaziEpetraAdapter.hpp.

Member Function Documentation

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

Apply method.

This method will apply $(WA)^T*WA$ to X, returning Y.

Implements Anasazi::Operator< double >.

Definition at line 619 of file AnasaziEpetraAdapter.cpp.


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