![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Krylov subspace methods – Preconditioned CG with safety net. More...
Go to the source code of this file.
Functions | |
| INT | fasp_solver_dcsr_spcg (const dCSRmat *A, const dvector *b, dvector *u, precond *pc, const REAL tol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned conjugate gradient method for solving Au=b with safety net. More... | |
| INT | fasp_solver_dblc_spcg (const dBLCmat *A, const dvector *b, dvector *u, precond *pc, const REAL tol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned conjugate gradient method for solving Au=b with safety net. More... | |
| INT | fasp_solver_dstr_spcg (const dSTRmat *A, const dvector *b, dvector *u, precond *pc, const REAL tol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned conjugate gradient method for solving Au=b with safety net. More... | |
Krylov subspace methods – Preconditioned CG with safety net.
Reference: Y. Saad 2003 Iterative methods for sparse linear systems (2nd Edition), SIAM
Copyright (C) 2013–Present by the FASP team. All rights reserved.
TODO: Use one single function for all! –Chensong
Definition in file KrySPcg.c.
| INT fasp_solver_dblc_spcg | ( | const dBLCmat * | A, |
| const dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned conjugate gradient method for solving Au=b with safety net.
| A | Pointer to dBLCmat: the coefficient matrix |
| b | Pointer to dvector: the right hand side |
| u | Pointer to dvector: the unknowns |
| pc | Pointer to the structure of precondition (precond) |
| tol | Tolerance for stopping |
| MaxIt | Maximal number of iterations |
| StopType | Stopping criteria type |
| PrtLvl | How much information to print out |
| INT fasp_solver_dcsr_spcg | ( | const dCSRmat * | A, |
| const dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned conjugate gradient method for solving Au=b with safety net.
| A | Pointer to dCSRmat: the coefficient matrix |
| b | Pointer to dvector: the right hand side |
| u | Pointer to dvector: the unknowns |
| pc | Pointer to the structure of precondition (precond) |
| tol | Tolerance for stopping |
| MaxIt | Maximal number of iterations |
| StopType | Stopping criteria type |
| PrtLvl | How much information to print out |
| INT fasp_solver_dstr_spcg | ( | const dSTRmat * | A, |
| const dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned conjugate gradient method for solving Au=b with safety net.
| A | Pointer to dSTRmat: the coefficient matrix |
| b | Pointer to dvector: the right hand side |
| u | Pointer to dvector: the unknowns |
| MaxIt | Maximal number of iterations |
| tol | Tolerance for stopping |
| pc | Pointer to the structure of precondition (precond) |
| StopType | Stopping criteria type |
| PrtLvl | How much information to print out |