Struct Jacobi Solver


int HYPRE_StructJacobiCreate(MPI_Comm comm, HYPRE_StructSolver *solver)
Create a solver object
HYPRE_StructJacobiDestroy
Destroy a solver object
int HYPRE_StructJacobiSetup(HYPRE_StructSolver solver, HYPRE_StructMatrix A, HYPRE_StructVector b, HYPRE_StructVector x)
int HYPRE_StructJacobiSolve(HYPRE_StructSolver solver, HYPRE_StructMatrix A, HYPRE_StructVector b, HYPRE_StructVector x)
Solve the system
int HYPRE_StructJacobiSetTol(HYPRE_StructSolver solver, double tol)
(Optional) Set the convergence tolerance
int HYPRE_StructJacobiSetMaxIter(HYPRE_StructSolver solver, int max_iter)
(Optional) Set maximum number of iterations
int HYPRE_StructJacobiSetZeroGuess(HYPRE_StructSolver solver)
(Optional) Use a zero initial guess
int HYPRE_StructJacobiSetNonZeroGuess(HYPRE_StructSolver solver)
(Optional) Use a nonzero initial guess
int HYPRE_StructJacobiGetNumIterations(HYPRE_StructSolver solver, int *num_iterations)
Return the number of iterations taken
int HYPRE_StructJacobiGetFinalRelativeResidualNorm(HYPRE_StructSolver solver, double *norm)
Return the norm of the final relative residual
alphabetic index hierarchy of classes


generated by doc++