AztecOO Development
Public Types | Public Member Functions | Protected Member Functions | Protected Attributes
AztecOOConditionNumber Class Reference

Condition number estimator using AztecOO. More...

#include <AztecOO_ConditionNumber.h>

Collaboration diagram for AztecOOConditionNumber:
Collaboration graph
[legend]

List of all members.

Public Types

enum  SolverType { CG_, GMRES_ }
 Solver type to use. More...

Public Member Functions

 AztecOOConditionNumber ()
 Constructor.
 ~AztecOOConditionNumber ()
 Destructor.
void initialize (const Epetra_Operator &op, SolverType solverType=GMRES_, int krylovSubspaceSize=100, bool printSolve=false)
 Initialization.
int computeConditionNumber (int maxIters, double tol)
 Estimates the condition number.
double getConditionNumber ()
 Return condition number computed by last call to computeConditionNumber.

Protected Member Functions

void freeMemory ()
 Frees all memory allocated with new by this object.

Protected Attributes

double conditionNumber_
 Condition number calculated in computeConditionNumber.
Epetra_MapdomainMap_
 Map to create left hand side vector.
Epetra_MaprangeMap_
 Map to create right hand side vector.
Epetra_Operatoroperator_
 Operator supplied by user in initialization.
Epetra_Vectorrhs_
 RHS vector. This is initializaed to a random vector.
Epetra_Vectordummy_
 Dummy vector. Initializaed to zero.
AztecOOsolver_
 solver object.
bool printSolve_
 Conditional for printing solve to output.

Detailed Description

Condition number estimator using AztecOO.

This object will estimate the condition number of an Epetra_Operator.


Member Enumeration Documentation

Solver type to use.

Enumerator:
CG_ 

CG for symmetric matrices.

GMRES_ 

GMRES for nonsymmetric.


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