AztecOO
Development
|
Condition number estimator using AztecOO. More...
#include <AztecOO_ConditionNumber.h>
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_Map * | domainMap_ |
Map to create left hand side vector. | |
Epetra_Map * | rangeMap_ |
Map to create right hand side vector. | |
Epetra_Operator * | operator_ |
Operator supplied by user in initialization. | |
Epetra_Vector * | rhs_ |
RHS vector. This is initializaed to a random vector. | |
Epetra_Vector * | dummy_ |
Dummy vector. Initializaed to zero. | |
AztecOO * | solver_ |
solver object. | |
bool | printSolve_ |
Conditional for printing solve to output. | |
Condition number estimator using AztecOO.
This object will estimate the condition number of an Epetra_Operator.