Struct Hybrid Solver


int HYPRE_StructHybridCreate(MPI_Comm comm, HYPRE_StructSolver *solver)
Create a solver object
int HYPRE_StructHybridDestroy(HYPRE_StructSolver solver)
Destroy a solver object
HYPRE_StructHybridSetup
Prepare to solve the system
int HYPRE_StructHybridSolve(HYPRE_StructSolver solver, HYPRE_StructMatrix A, HYPRE_StructVector b, HYPRE_StructVector x)
Solve the system
int HYPRE_StructHybridSetTol(HYPRE_StructSolver solver, double tol)
(Optional) Set the convergence tolerance
HYPRE_StructHybridSetConvergenceTol
(Optional) Set an accepted convergence tolerance for diagonal scaling (DS)
HYPRE_StructHybridSetDSCGMaxIter
(Optional) Set maximum number of iterations for diagonal scaling (DS)
HYPRE_StructHybridSetPCGMaxIter
(Optional) Set maximum number of iterations for general preconditioner (PRE)
int HYPRE_StructHybridSetTwoNorm(HYPRE_StructSolver solver, int two_norm)
(Optional) Use the two-norm in stopping criteria
int HYPRE_StructHybridSetRelChange(HYPRE_StructSolver solver, int rel_change)
(Optional) Additionally require that the relative difference in successive iterates be small
HYPRE_StructHybridSetSolverType
(Optional) Set the type of Krylov solver to use
int HYPRE_StructHybridSetKDim(HYPRE_StructSolver solver, int k_dim)
(Optional) Set the maximum size of the Krylov space when using GMRES
int HYPRE_StructHybridSetPrecond(HYPRE_StructSolver solver, HYPRE_PtrToStructSolverFcn precond, HYPRE_PtrToStructSolverFcn precond_setup, HYPRE_StructSolver precond_solver)
(Optional) Set the preconditioner to use
int HYPRE_StructHybridSetLogging(HYPRE_StructSolver solver, int logging)
(Optional) Set the amount of logging to do
int HYPRE_StructHybridSetPrintLevel(HYPRE_StructSolver solver, int print_level)
(Optional) Set the amount of printing to do to the screen
int HYPRE_StructHybridGetNumIterations(HYPRE_StructSolver solver, int *num_its)
Return the number of iterations taken
int HYPRE_StructHybridGetDSCGNumIterations(HYPRE_StructSolver solver, int *ds_num_its)
Return the number of diagonal scaling iterations taken
int HYPRE_StructHybridGetPCGNumIterations(HYPRE_StructSolver solver, int *pre_num_its)
Return the number of general preconditioning iterations taken
int HYPRE_StructHybridGetFinalRelativeResidualNorm(HYPRE_StructSolver solver, double *norm)
Return the norm of the final relative residual

alphabetic index hierarchy of classes


generated by doc++