![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Krylov subspace methods – Preconditioned generalized CG. More...
Go to the source code of this file.
Functions | |
| INT | fasp_solver_dcsr_pgcg (dCSRmat *A, dvector *b, dvector *u, precond *pc, const REAL tol, const REAL abstol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned generilzed conjugate gradient (GCG) method for solving Au=b. More... | |
| INT | fasp_solver_pgcg (mxv_matfree *mf, dvector *b, dvector *u, precond *pc, const REAL tol, const REAL abstol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned generilzed conjugate gradient (GCG) method for solving Au=b. More... | |
Krylov subspace methods – Preconditioned generalized CG.
Reference: Concus, P. and Golub, G.H. and O'Leary, D.P. A Generalized Conjugate Gradient Method for the Numerical: Solution of Elliptic Partial Differential Equations, Computer Science Department, Stanford University, 1976
Copyright (C) 2012–Present by the FASP team. All rights reserved.
TODO: Not completely implemented yet! –Chensong
Definition in file KryPgcg.c.
| INT fasp_solver_dcsr_pgcg | ( | dCSRmat * | A, |
| dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const REAL | abstol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned generilzed conjugate gradient (GCG) method for solving Au=b.
| A | Pointer to dCSRmat: coefficient matrix |
| b | Pointer to dvector: right hand side |
| u | Pointer to dvector: unknowns |
| pc | Pointer to precond: structure of precondition |
| tol | Tolerance for relative residual |
| abstol | Tolerance for absolute residual |
| MaxIt | Maximal number of iterations |
| StopType | Stopping criteria type |
| PrtLvl | How much information to print out |
Modified by Chensong Zhang on 05/01/2012
| INT fasp_solver_pgcg | ( | mxv_matfree * | mf, |
| dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const REAL | abstol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned generilzed conjugate gradient (GCG) method for solving Au=b.
| mf | Pointer to mxv_matfree: spmv operation |
| b | Pointer to dvector: right hand side |
| u | Pointer to dvector: unknowns |
| pc | Pointer to precond: structure of precondition |
| tol | Tolerance for relative residual |
| abstol | Tolerance for absolute residual |
| MaxIt | Maximal number of iterations |
| StopType | Stopping criteria type – DOES not support this parameter |
| PrtLvl | How much information to print out |
Modified by Feiteng Huang on 09/26/2012: matrix free