Struct SMG Solver


int HYPRE_StructSMGCreate(MPI_Comm comm, HYPRE_StructSolver *solver)
Create a solver object
int HYPRE_StructSMGDestroy(HYPRE_StructSolver solver)
Destroy a solver object
HYPRE_StructSMGSetup
Prepare to solve the system
int HYPRE_StructSMGSolve(HYPRE_StructSolver solver, HYPRE_StructMatrix A, HYPRE_StructVector b, HYPRE_StructVector x)
Solve the system
int HYPRE_StructSMGSetTol(HYPRE_StructSolver solver, double tol)
(Optional) Set the convergence tolerance
int HYPRE_StructSMGSetMaxIter(HYPRE_StructSolver solver, int max_iter)
(Optional) Set maximum number of iterations
int HYPRE_StructSMGSetRelChange(HYPRE_StructSolver solver, int rel_change)
(Optional) Additionally require that the relative difference in successive iterates be small
HYPRE_StructSMGSetZeroGuess
(Optional) Use a zero initial guess
HYPRE_StructSMGSetNonZeroGuess
(Optional) Use a nonzero initial guess
int HYPRE_StructSMGSetNumPreRelax(HYPRE_StructSolver solver, int num_pre_relax)
(Optional) Set number of relaxation sweeps before coarse-grid correction
int HYPRE_StructSMGSetNumPostRelax(HYPRE_StructSolver solver, int num_post_relax)
(Optional) Set number of relaxation sweeps after coarse-grid correction
int HYPRE_StructSMGSetLogging(HYPRE_StructSolver solver, int logging)
(Optional) Set the amount of logging to do
int HYPRE_StructSMGSetPrintLevel(HYPRE_StructSolver solver, int print_level)
(Optional) Set the amount of printing to do to the screen
int HYPRE_StructSMGGetNumIterations(HYPRE_StructSolver solver, int *num_iterations)
Return the number of iterations taken
int HYPRE_StructSMGGetFinalRelativeResidualNorm(HYPRE_StructSolver solver, double *norm)
Return the norm of the final relative residual

alphabetic index hierarchy of classes


generated by doc++