ParCSR PCG Solver
-
int HYPRE_ParCSRPCGCreate(MPI_Comm comm, HYPRE_Solver *solver)
-
Create a solver object
-
int HYPRE_ParCSRPCGDestroy(HYPRE_Solver solver)
-
Destroy a solver object
-
int HYPRE_ParCSRPCGSetup(HYPRE_Solver solver, HYPRE_ParCSRMatrix A, HYPRE_ParVector b, HYPRE_ParVector x)
-
-
int HYPRE_ParCSRPCGSolve(HYPRE_Solver solver, HYPRE_ParCSRMatrix A, HYPRE_ParVector b, HYPRE_ParVector x)
-
Solve the system
-
int HYPRE_ParCSRPCGSetTol(HYPRE_Solver solver, double tol)
-
(Optional) Set the relative convergence tolerance
-
HYPRE_ParCSRPCGSetAbsoluteTol
-
(Optional) Set the absolute convergence tolerance (default is
0)
-
int HYPRE_ParCSRPCGSetMaxIter(HYPRE_Solver solver, int max_iter)
-
(Optional) Set maximum number of iterations
-
int HYPRE_ParCSRPCGSetTwoNorm(HYPRE_Solver solver, int two_norm)
-
(Optional) Use the two-norm in stopping criteria
-
int HYPRE_ParCSRPCGSetRelChange(HYPRE_Solver solver, int rel_change)
-
(Optional) Additionally require that the relative difference in
successive iterates be small
-
int HYPRE_ParCSRPCGSetPrecond(HYPRE_Solver solver, HYPRE_PtrToParSolverFcn precond, HYPRE_PtrToParSolverFcn precond_setup, HYPRE_Solver precond_solver)
-
(Optional) Set the preconditioner to use
-
int HYPRE_ParCSRPCGGetPrecond(HYPRE_Solver solver, HYPRE_Solver *precond_data)
-
-
int HYPRE_ParCSRPCGSetLogging(HYPRE_Solver solver, int logging)
-
(Optional) Set the amount of logging to do
-
int HYPRE_ParCSRPCGSetPrintLevel(HYPRE_Solver solver, int print_level)
-
(Optional) Set the print level
-
int HYPRE_ParCSRPCGGetNumIterations(HYPRE_Solver solver, int *num_iterations)
-
Return the number of iterations taken
-
int HYPRE_ParCSRPCGGetFinalRelativeResidualNorm(HYPRE_Solver solver, double *norm)
-
Return the norm of the final relative residual
-
int HYPRE_ParCSRDiagScaleSetup(HYPRE_Solver solver, HYPRE_ParCSRMatrix A, HYPRE_ParVector y, HYPRE_ParVector x)
-
Setup routine for diagonal preconditioning
-
int HYPRE_ParCSRDiagScale(HYPRE_Solver solver, HYPRE_ParCSRMatrix HA, HYPRE_ParVector Hy, HYPRE_ParVector Hx)
-
Solve routine for diagonal preconditioning
alphabetic index hierarchy of classes
generated by doc++