Anasazi Version of the Day
Loading...
Searching...
No Matches
Anasazi::OperatorTraits< double, Epetra_MultiVector, Epetra_Operator > Class Reference

Template specialization of Anasazi::OperatorTraits class using the Epetra_Operator virtual base class and Epetra_MultiVector class. More...

#include <AnasaziEpetraAdapter.hpp>

Static Public Member Functions

static void Apply (const Epetra_Operator &Op, const Epetra_MultiVector &x, Epetra_MultiVector &y)
 This method takes the Epetra_MultiVector x and applies the Epetra_Operator Op to it resulting in the Epetra_MultiVector y.
 
Operator application method.
static void Apply (const Epetra_Operator &Op, const Epetra_MultiVector &x, Epetra_MultiVector &y)
 Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error.
 

Detailed Description

Template specialization of Anasazi::OperatorTraits class using the Epetra_Operator virtual base class and Epetra_MultiVector class.

This interface will ensure that any Epetra_Operator and Epetra_MultiVector will be accepted by the Anasazi templated solvers.

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

Member Function Documentation

◆ Apply() [1/2]

static void Anasazi::OperatorTraits< double, Epetra_MultiVector, Epetra_Operator >::Apply ( const Epetra_Operator & Op,
const Epetra_MultiVector & x,
Epetra_MultiVector & y )
inlinestatic

This method takes the Epetra_MultiVector x and applies the Epetra_Operator Op to it resulting in the Epetra_MultiVector y.

Definition at line 1408 of file AnasaziEpetraAdapter.hpp.

◆ Apply() [2/2]

static void Anasazi::OperatorTraits< double, Epetra_MultiVector, Epetra_Operator >::Apply ( const Epetra_Operator & Op,
const Epetra_MultiVector & x,
Epetra_MultiVector & y )
inlinestatic

Application method which performs operation y = Op*x. An OperatorError exception is thrown if there is an error.

Definition at line 92 of file AnasaziOperatorTraits.hpp.


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