SStruct GMRES Solver
-
int HYPRE_SStructGMRESCreate(MPI_Comm comm, HYPRE_SStructSolver *solver)
-
Create a solver object
-
HYPRE_SStructGMRESDestroy
-
Destroy a solver object
-
HYPRE_SStructGMRESSetup
-
Prepare to solve the system
-
int HYPRE_SStructGMRESSolve(HYPRE_SStructSolver solver, HYPRE_SStructMatrix A, HYPRE_SStructVector b, HYPRE_SStructVector x)
-
Solve the system
-
int HYPRE_SStructGMRESSetTol(HYPRE_SStructSolver solver, double tol)
-
(Optional) Set the relative convergence tolerance
-
HYPRE_SStructGMRESSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default: 0)
-
int HYPRE_SStructGMRESSetMaxIter(HYPRE_SStructSolver solver, int max_iter)
-
(Optional) Set maximum number of iterations
-
int HYPRE_SStructGMRESSetKDim(HYPRE_SStructSolver solver, int k_dim)
-
(Optional) Set the maximum size of the Krylov space
-
int HYPRE_SStructGMRESSetPrecond(HYPRE_SStructSolver solver, HYPRE_PtrToSStructSolverFcn precond, HYPRE_PtrToSStructSolverFcn precond_setup, void *precond_solver)
-
(Optional) Set the preconditioner to use
-
int HYPRE_SStructGMRESSetLogging(HYPRE_SStructSolver solver, int logging)
-
(Optional) Set the amount of logging to do
-
int HYPRE_SStructGMRESSetPrintLevel(HYPRE_SStructSolver solver, int print_level)
-
(Optional) Set the amount of printing to do to the screen
-
int HYPRE_SStructGMRESGetNumIterations(HYPRE_SStructSolver solver, int *num_iterations)
-
Return the number of iterations taken
-
int HYPRE_SStructGMRESGetFinalRelativeResidualNorm(HYPRE_SStructSolver solver, double *norm)
-
Return the norm of the final relative residual
-
int HYPRE_SStructGMRESGetResidual(HYPRE_SStructSolver solver, void **residual)
-
Return the residual
alphabetic index hierarchy of classes
generated by doc++