LOCA::AnasaziOperator::JacobianInverse Class Reference

Anasazi operator for computing eigenvalues of the inverse-Jacobian. More...

#include <LOCA_AnasaziOperator_JacobianInverse.H>

Inheritance diagram for LOCA::AnasaziOperator::JacobianInverse:

[legend]
Collaboration diagram for LOCA::AnasaziOperator::JacobianInverse:
[legend]
List of all members.

Public Member Functions

 JacobianInverse (const Teuchos::RefCountPtr< LOCA::GlobalData > &global_data, const Teuchos::RefCountPtr< LOCA::Parameter::SublistParser > &topParams, const Teuchos::RefCountPtr< Teuchos::ParameterList > &eigenParams, const Teuchos::RefCountPtr< Teuchos::ParameterList > &solverParams, const Teuchos::RefCountPtr< NOX::Abstract::Group > &grp)
 Constructor.
virtual ~JacobianInverse ()
 Destructor.
virtual const string & label () const
 Return name of this operator.
virtual void apply (const NOX::Abstract::MultiVector &input, NOX::Abstract::MultiVector &output) const
 Apply the operator.
virtual void transformEigenvalue (double &ev_r, double &ev_i) const
 Transform eigenvalue.
virtual NOX::Abstract::Group::ReturnType rayleighQuotient (const NOX::Abstract::Vector &evec_r, const NOX::Abstract::Vector &evec_i, double &rq_r, double &rq_i) const
 Compute Rayleigh quotient.

Protected Attributes

Teuchos::RefCountPtr< LOCA::GlobalDataglobalData
 Global data.
string myLabel
 Name of this operator.
Teuchos::RefCountPtr< Teuchos::ParameterListeigenParams
 Stores parameters relating to the operator.
Teuchos::RefCountPtr< Teuchos::ParameterListsolverParams
 Stores linear solver parameters.
Teuchos::RefCountPtr< NOX::Abstract::Groupgrp
 Stores group representing Jacobian.
Teuchos::RefCountPtr< NOX::Abstract::Vectortmp_r
 Stores a temporary vector for computing Rayleigh quotients.
Teuchos::RefCountPtr< NOX::Abstract::Vectortmp_i
 Stores a temporary vector for computing Rayleigh quotients.

Detailed Description

Anasazi operator for computing eigenvalues of the inverse-Jacobian.

This class implements the LOCA::AnasaziOperator::AbstractStrategy interface for computing eigenvalues of the inverse-Jacobian.


Member Function Documentation

void LOCA::AnasaziOperator::JacobianInverse::apply const NOX::Abstract::MultiVector input,
NOX::Abstract::MultiVector output
const [virtual]
 

Apply the operator.

Computes $\mbox{output} = J^{-1}\mbox{input}$.

Implements LOCA::AnasaziOperator::AbstractStrategy.

NOX::Abstract::Group::ReturnType LOCA::AnasaziOperator::JacobianInverse::rayleighQuotient const NOX::Abstract::Vector evec_r,
const NOX::Abstract::Vector evec_i,
double &  rq_r,
double &  rq_i
const [virtual]
 

Compute Rayleigh quotient.

Computes the Rayleigh quotient $z^T J z$ for the eigenvector $z$.

Implements LOCA::AnasaziOperator::AbstractStrategy.

void LOCA::AnasaziOperator::JacobianInverse::transformEigenvalue double &  ev_r,
double &  ev_i
const [virtual]
 

Transform eigenvalue.

Transforms the given eigenvalue to the eigenvalue of the Jacobian by inverting it.

Implements LOCA::AnasaziOperator::AbstractStrategy.


The documentation for this class was generated from the following files:
Generated on Thu Sep 18 12:38:29 2008 for NOX by doxygen 1.3.9.1