PCG Solver


HYPRE_PCGSetup
Prepare to solve the system
int HYPRE_PCGSolve(HYPRE_Solver solver, HYPRE_Matrix A, HYPRE_Vector b, HYPRE_Vector x)
Solve the system
int HYPRE_PCGSetTol(HYPRE_Solver solver, double tol)
(Optional) Set the relative convergence tolerance
HYPRE_PCGSetAbsoluteTol
(Optional) Set the absolute convergence tolerance (default is 0)
int HYPRE_PCGSetMaxIter(HYPRE_Solver solver, int max_iter)
(Optional) Set maximum number of iterations
int HYPRE_PCGSetTwoNorm(HYPRE_Solver solver, int two_norm)
(Optional) Use the two-norm in stopping criteria
int HYPRE_PCGSetRelChange(HYPRE_Solver solver, int rel_change)
(Optional) Additionally require that the relative difference in successive iterates be small
int HYPRE_PCGSetPrecond(HYPRE_Solver solver, HYPRE_PtrToSolverFcn precond, HYPRE_PtrToSolverFcn precond_setup, HYPRE_Solver precond_solver)
(Optional) Set the preconditioner to use
int HYPRE_PCGSetLogging(HYPRE_Solver solver, int logging)
(Optional) Set the amount of logging to do
int HYPRE_PCGSetPrintLevel(HYPRE_Solver solver, int level)
(Optional) Set the amount of printing to do to the screen
int HYPRE_PCGGetNumIterations(HYPRE_Solver solver, int *num_iterations)
Return the number of iterations taken
int HYPRE_PCGGetFinalRelativeResidualNorm(HYPRE_Solver solver, double *norm)
Return the norm of the final relative residual
int HYPRE_PCGGetResidual(HYPRE_Solver solver, void **residual)
Return the residual
int HYPRE_PCGGetTol(HYPRE_Solver solver, double *tol)
int HYPRE_PCGGetMaxIter(HYPRE_Solver solver, int *max_iter)
int HYPRE_PCGGetTwoNorm(HYPRE_Solver solver, int *two_norm)
int HYPRE_PCGGetRelChange(HYPRE_Solver solver, int *rel_change)
int HYPRE_PCGGetPrecond(HYPRE_Solver solver, HYPRE_Solver *precond_data_ptr)
int HYPRE_PCGGetLogging(HYPRE_Solver solver, int *level)
int HYPRE_PCGGetPrintLevel(HYPRE_Solver solver, int *level)
int HYPRE_PCGGetConverged(HYPRE_Solver solver, int *converged)

alphabetic index hierarchy of classes


generated by doc++