![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Krylov subspace methods – Preconditioned BiCGstab. More...
#include <math.h>#include <float.h>#include "fasp.h"#include "fasp_functs.h"#include "KryUtil.inl"Go to the source code of this file.
Functions | |
| INT | fasp_solver_dcsr_pbcgs (dCSRmat *A, dvector *b, dvector *u, precond *pc, const REAL tol, const REAL abstol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned BiCGstab method for solving Au=b for CSR matrix. More... | |
| INT | fasp_solver_dbsr_pbcgs (dBSRmat *A, dvector *b, dvector *u, precond *pc, const REAL tol, const REAL abstol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned BiCGstab method for solving Au=b for BSR matrix. More... | |
| INT | fasp_solver_dblc_pbcgs (dBLCmat *A, dvector *b, dvector *u, precond *pc, const REAL tol, const REAL abstol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned BiCGstab method for solving Au=b for BLC matrix. More... | |
| INT | fasp_solver_dstr_pbcgs (dSTRmat *A, dvector *b, dvector *u, precond *pc, const REAL tol, const REAL abstol, const INT MaxIt, const SHORT StopType, const SHORT PrtLvl) |
| Preconditioned BiCGstab method for solving Au=b for STR matrix. More... | |
| INT | fasp_solver_pbcgs (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 BiCGstab method for solving Au=b. More... | |
Krylov subspace methods – Preconditioned BiCGstab.
Reference: Y. Saad 2003 Iterative methods for sparse linear systems (2nd Edition), SIAM
Copyright (C) 2016–Present by the FASP team. All rights reserved.
TODO: abstol not used yet! –Chensong
Definition in file KryPbcgs.c.
| INT fasp_solver_dblc_pbcgs | ( | dBLCmat * | A, |
| dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const REAL | abstol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned BiCGstab method for solving Au=b for BLC matrix.
| A | Pointer to coefficient matrix |
| b | Pointer to dvector of right hand side |
| u | Pointer to dvector of DOFs |
| 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 |
Definition at line 705 of file KryPbcgs.c.
| INT fasp_solver_dbsr_pbcgs | ( | dBSRmat * | A, |
| dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const REAL | abstol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned BiCGstab method for solving Au=b for BSR matrix.
| A | Pointer to coefficient matrix |
| b | Pointer to dvector of right hand side |
| u | Pointer to dvector of DOFs |
| 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 |
Definition at line 383 of file KryPbcgs.c.
| INT fasp_solver_dcsr_pbcgs | ( | dCSRmat * | A, |
| dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const REAL | abstol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned BiCGstab method for solving Au=b for CSR matrix.
| A | Pointer to coefficient matrix |
| b | Pointer to dvector of right hand side |
| u | Pointer to dvector of DOFs |
| 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 |
Definition at line 62 of file KryPbcgs.c.
| INT fasp_solver_dstr_pbcgs | ( | dSTRmat * | A, |
| dvector * | b, | ||
| dvector * | u, | ||
| precond * | pc, | ||
| const REAL | tol, | ||
| const REAL | abstol, | ||
| const INT | MaxIt, | ||
| const SHORT | StopType, | ||
| const SHORT | PrtLvl | ||
| ) |
Preconditioned BiCGstab method for solving Au=b for STR matrix.
| A | Pointer to coefficient matrix |
| b | Pointer to dvector of right hand side |
| u | Pointer to dvector of DOFs |
| 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 |
Definition at line 1027 of file KryPbcgs.c.
| INT fasp_solver_pbcgs | ( | 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 BiCGstab method for solving Au=b.
| mf | Pointer to mxv_matfree: spmv operation |
| b | Pointer to dvector of right hand side |
| u | Pointer to dvector of DOFs |
| 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 |
Definition at line 1349 of file KryPbcgs.c.