Struct LGMRES Solver
-
int HYPRE_StructLGMRESCreate( MPI_Comm comm, HYPRE_StructSolver *solver )
-
Create a solver object
-
int HYPRE_StructLGMRESDestroy( HYPRE_StructSolver solver )
-
Destroy a solver object
-
HYPRE_StructLGMRESSetup
-
Prepare to solve the system
-
HYPRE_StructLGMRESSolve
-
Solve the system
-
int HYPRE_StructLGMRESSetTol( HYPRE_StructSolver solver, double tol )
-
(Optional) Set the convergence tolerance
-
HYPRE_StructLGMRESSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default: 0)
-
int HYPRE_StructLGMRESSetMaxIter( HYPRE_StructSolver solver, int max_iter )
-
(Optional) Set maximum number of iterations
-
int HYPRE_StructLGMRESSetKDim( HYPRE_StructSolver solver, int k_dim )
-
(Optional) Set the dimension of the approximation subspace
-
int HYPRE_StructLGMRESSetAugDim( HYPRE_StructSolver solver, int aug_dim )
-
(Optional) Set the number of augmentation vectors (default: 2)
-
int HYPRE_StructLGMRESSetPrecond( HYPRE_StructSolver solver, HYPRE_PtrToStructSolverFcn precond, HYPRE_PtrToStructSolverFcn precond_setup, HYPRE_StructSolver precond_solver )
-
(Optional) Set the preconditioner to use
-
int HYPRE_StructLGMRESSetLogging( HYPRE_StructSolver solver, int logging )
-
(Optional) Set the amount of logging to do
-
int HYPRE_StructLGMRESSetPrintLevel( HYPRE_StructSolver solver, int level )
-
(Optional) Set the amount of printing to do to the screen
-
int HYPRE_StructLGMRESGetNumIterations( HYPRE_StructSolver solver, int *num_iterations )
-
Return the number of iterations taken
-
int HYPRE_StructLGMRESGetFinalRelativeResidualNorm( HYPRE_StructSolver solver, double *norm )
-
Return the norm of the final relative residual
-
int HYPRE_StructLGMRESGetResidual( HYPRE_StructSolver solver, void **residual)
-
Return the residual
alphabetic index hierarchy of classes
generated by doc++