SStruct LGMRES Solver
-
int HYPRE_SStructLGMRESCreate(MPI_Comm comm, HYPRE_SStructSolver *solver)
-
Create a solver object
-
HYPRE_SStructLGMRESDestroy
-
Destroy a solver object
-
HYPRE_SStructLGMRESSetup
-
Prepare to solve the system
-
HYPRE_SStructLGMRESSolve
-
Solve the system
-
int HYPRE_SStructLGMRESSetTol(HYPRE_SStructSolver solver, double tol)
-
(Optional) Set the relative convergence tolerance
-
HYPRE_SStructLGMRESSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default: 0)
-
int HYPRE_SStructLGMRESSetMaxIter(HYPRE_SStructSolver solver, int max_iter)
-
(Optional) Set maximum number of iterations
-
int HYPRE_SStructLGMRESSetKDim(HYPRE_SStructSolver solver, int k_dim)
-
(Optional) Set the maximum size of the approximation space
-
int HYPRE_SStructLGMRESSetAugDim(HYPRE_SStructSolver solver, int aug_dim)
-
(Optional) Set the number of augmentation vectors(default: 2)
-
int HYPRE_SStructLGMRESSetPrecond(HYPRE_SStructSolver solver, HYPRE_PtrToSStructSolverFcn precond, HYPRE_PtrToSStructSolverFcn precond_setup, void *precond_solver)
-
(Optional) Set the preconditioner to use
-
int HYPRE_SStructLGMRESSetLogging(HYPRE_SStructSolver solver, int logging)
-
(Optional) Set the amount of logging to do
-
int HYPRE_SStructLGMRESSetPrintLevel(HYPRE_SStructSolver solver, int print_level)
-
(Optional) Set the amount of printing to do to the screen
-
int HYPRE_SStructLGMRESGetNumIterations(HYPRE_SStructSolver solver, int *num_iterations)
-
Return the number of iterations taken
-
int HYPRE_SStructLGMRESGetFinalRelativeResidualNorm(HYPRE_SStructSolver solver, double *norm)
-
Return the norm of the final relative residual
-
int HYPRE_SStructLGMRESGetResidual(HYPRE_SStructSolver solver, void **residual)
-
Return the residual
alphabetic index hierarchy of classes
generated by doc++