ParCSR GMRES Solver
-
int HYPRE_ParCSRGMRESCreate(MPI_Comm comm, HYPRE_Solver *solver)
-
Create a solver object
-
int HYPRE_ParCSRGMRESDestroy(HYPRE_Solver solver)
-
Destroy a solver object
-
int HYPRE_ParCSRGMRESSetup(HYPRE_Solver solver, HYPRE_ParCSRMatrix A, HYPRE_ParVector b, HYPRE_ParVector x)
-
-
int HYPRE_ParCSRGMRESSolve(HYPRE_Solver solver, HYPRE_ParCSRMatrix A, HYPRE_ParVector b, HYPRE_ParVector x)
-
Solve the system
-
int HYPRE_ParCSRGMRESSetKDim(HYPRE_Solver solver, int k_dim)
-
(Optional) Set the maximum size of the Krylov space
-
int HYPRE_ParCSRGMRESSetTol(HYPRE_Solver solver, double tol)
-
(Optional) Set the convergence tolerance
-
HYPRE_ParCSRGMRESSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default is 0)
-
int HYPRE_ParCSRGMRESSetMaxIter(HYPRE_Solver solver, int max_iter)
-
(Optional) Set maximum number of iterations
-
int HYPRE_ParCSRGMRESSetPrecond(HYPRE_Solver solver, HYPRE_PtrToParSolverFcn precond, HYPRE_PtrToParSolverFcn precond_setup, HYPRE_Solver precond_solver)
-
(Optional) Set the preconditioner to use
-
int HYPRE_ParCSRGMRESGetPrecond(HYPRE_Solver solver, HYPRE_Solver *precond_data)
-
-
int HYPRE_ParCSRGMRESSetLogging(HYPRE_Solver solver, int logging)
-
(Optional) Set the amount of logging to do
-
int HYPRE_ParCSRGMRESSetPrintLevel(HYPRE_Solver solver, int print_level)
-
(Optional) Set print level
-
int HYPRE_ParCSRGMRESGetNumIterations(HYPRE_Solver solver, int *num_iterations)
-
Return the number of iterations taken
-
int HYPRE_ParCSRGMRESGetFinalRelativeResidualNorm(HYPRE_Solver solver, double *norm)
-
Return the norm of the final relative residual
alphabetic index hierarchy of classes
generated by doc++