ParCSR LGMRES Solver
-
int HYPRE_ParCSRLGMRESCreate(MPI_Comm comm, HYPRE_Solver *solver)
-
Create a solver object
-
int HYPRE_ParCSRLGMRESDestroy(HYPRE_Solver solver)
-
Destroy a solver object
-
int HYPRE_ParCSRLGMRESSetup(HYPRE_Solver solver, HYPRE_ParCSRMatrix A, HYPRE_ParVector b, HYPRE_ParVector x)
-
-
HYPRE_ParCSRLGMRESSolve
-
Solve the system
-
int HYPRE_ParCSRLGMRESSetKDim(HYPRE_Solver solver, int k_dim)
-
(Optional) Set the maximum size of the approximation space
-
int HYPRE_ParCSRLGMRESSetAugDim(HYPRE_Solver solver, int aug_dim)
-
(Optional) Set the maximum number of augmentation vectors (default: 2)
-
int HYPRE_ParCSRLGMRESSetTol(HYPRE_Solver solver, double tol)
-
(Optional) Set the convergence tolerance
-
HYPRE_ParCSRLGMRESSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default: 0)
-
int HYPRE_ParCSRLGMRESSetMaxIter(HYPRE_Solver solver, int max_iter)
-
(Optional) Set maximum number of iterations
-
int HYPRE_ParCSRLGMRESSetPrecond(HYPRE_Solver solver, HYPRE_PtrToParSolverFcn precond, HYPRE_PtrToParSolverFcn precond_setup, HYPRE_Solver precond_solver)
-
(Optional) Set the preconditioner to use
-
int HYPRE_ParCSRLGMRESGetPrecond(HYPRE_Solver solver, HYPRE_Solver *precond_data)
-
-
int HYPRE_ParCSRLGMRESSetLogging(HYPRE_Solver solver, int logging)
-
(Optional) Set the amount of logging to do
-
int HYPRE_ParCSRLGMRESSetPrintLevel(HYPRE_Solver solver, int print_level)
-
(Optional) Set print level
-
int HYPRE_ParCSRLGMRESGetNumIterations(HYPRE_Solver solver, int *num_iterations)
-
Return the number of iterations taken
-
int HYPRE_ParCSRLGMRESGetFinalRelativeResidualNorm(HYPRE_Solver solver, double *norm)
-
Return the norm of the final relative residual
alphabetic index hierarchy of classes
generated by doc++