Struct FlexGMRES Solver
-
int HYPRE_StructFlexGMRESCreate( MPI_Comm comm, HYPRE_StructSolver *solver )
-
Create a solver object
-
int HYPRE_StructFlexGMRESDestroy( HYPRE_StructSolver solver )
-
Destroy a solver object
-
HYPRE_StructFlexGMRESSetup
-
Prepare to solve the system
-
int HYPRE_StructFlexGMRESSolve( HYPRE_StructSolver solver, HYPRE_StructMatrix A, HYPRE_StructVector b, HYPRE_StructVector x )
-
Solve the system
-
int HYPRE_StructFlexGMRESSetTol( HYPRE_StructSolver solver, double tol )
-
(Optional) Set the convergence tolerance
-
HYPRE_StructFlexGMRESSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default: 0)
-
int HYPRE_StructFlexGMRESSetMaxIter( HYPRE_StructSolver solver, int max_iter )
-
(Optional) Set maximum number of iterations
-
int HYPRE_StructFlexGMRESSetKDim( HYPRE_StructSolver solver, int k_dim )
-
(Optional) Set the dimension of the Krylov subspace
-
int HYPRE_StructFlexGMRESSetPrecond( HYPRE_StructSolver solver, HYPRE_PtrToStructSolverFcn precond, HYPRE_PtrToStructSolverFcn precond_setup, HYPRE_StructSolver precond_solver )
-
(Optional) Set the preconditioner to use
-
int HYPRE_StructFlexGMRESSetLogging( HYPRE_StructSolver solver, int logging )
-
(Optional) Set the amount of logging to do
-
int HYPRE_StructFlexGMRESSetPrintLevel( HYPRE_StructSolver solver, int level )
-
(Optional) Set the amount of printing to do to the screen
-
int HYPRE_StructFlexGMRESGetNumIterations( HYPRE_StructSolver solver, int *num_iterations )
-
Return the number of iterations taken
-
int HYPRE_StructFlexGMRESGetFinalRelativeResidualNorm( HYPRE_StructSolver solver, double *norm )
-
Return the norm of the final relative residual
-
int HYPRE_StructFlexGMRESGetResidual( HYPRE_StructSolver solver, void **residual)
-
Return the residual
-
int HYPRE_StructFlexGMRESSetModifyPC( HYPRE_StructSolver solver, HYPRE_PtrToModifyPCFcn modify_pc)
-
Set a user-defined function to modify solve-time preconditioner attributes
alphabetic index hierarchy of classes
generated by doc++