Struct GMRES Solver


int HYPRE_StructGMRESCreate( MPI_Comm comm, HYPRE_StructSolver *solver )
Create a solver object
int HYPRE_StructGMRESDestroy( HYPRE_StructSolver solver )
Destroy a solver object
HYPRE_StructGMRESSetup
Prepare to solve the system
int HYPRE_StructGMRESSolve( HYPRE_StructSolver solver, HYPRE_StructMatrix A, HYPRE_StructVector b, HYPRE_StructVector x )
Solve the system
int HYPRE_StructGMRESSetTol( HYPRE_StructSolver solver, double tol )
(Optional) Set the relative convergence tolerance
HYPRE_StructGMRESSetAbsoluteTol
(Optional) Set the absolute convergence tolerance (default: 0)
int HYPRE_StructGMRESSetMaxIter( HYPRE_StructSolver solver, int max_iter )
(Optional) Set maximum number of iterations
int HYPRE_StructGMRESSetKDim( HYPRE_StructSolver solver, int k_dim )
(Optional) Set the dimension of the Krylov subspace
int HYPRE_StructGMRESSetPrecond( HYPRE_StructSolver solver, HYPRE_PtrToStructSolverFcn precond, HYPRE_PtrToStructSolverFcn precond_setup, HYPRE_StructSolver precond_solver )
(Optional) Set the preconditioner to use
int HYPRE_StructGMRESSetLogging( HYPRE_StructSolver solver, int logging )
(Optional) Set the amount of logging to do
int HYPRE_StructGMRESSetPrintLevel( HYPRE_StructSolver solver, int level )
(Optional) Set the amount of printing to do to the screen
int HYPRE_StructGMRESGetNumIterations( HYPRE_StructSolver solver, int *num_iterations )
Return the number of iterations taken
int HYPRE_StructGMRESGetFinalRelativeResidualNorm( HYPRE_StructSolver solver, double *norm )
Return the norm of the final relative residual
int HYPRE_StructGMRESGetResidual( HYPRE_StructSolver solver, void **residual)
Return the residual

alphabetic index hierarchy of classes


generated by doc++