61 double ConditionNumberEstimate = -1.0;
80#ifdef HAVE_IFPACK_AZTECOO
94 Solver.SetAztecOption(AZ_output,AZ_none);
95 Solver.SetAztecOption(AZ_solver,AZ_cg_condnum);
96 Solver.Iterate(MaxIters,Tol);
98 const double* status =
Solver.GetAztecStatus();
99 ConditionNumberEstimate = status[AZ_condnum];
104#ifdef HAVE_IFPACK_AZTECOO
114 Problem.SetLHS(&LHS);
115 Problem.SetRHS(&
RHS);
118 Solver.SetAztecOption(AZ_solver,AZ_gmres_condnum);
119 Solver.SetAztecOption(AZ_output,AZ_none);
123 Solver.SetAztecOption(AZ_kspace,MaxIters);
124 Solver.Iterate(MaxIters,Tol);
126 const double* status =
Solver.GetAztecStatus();
127 ConditionNumberEstimate = status[AZ_condnum];
131 return(ConditionNumberEstimate);
double Ifpack_Condest(const Ifpack_Preconditioner &IFP, const Ifpack_CondestType CT, const int MaxIters, const double Tol, Epetra_RowMatrix *Matrix)