![]() |
Fast Auxiliary Space Preconditioning 2.7.7 Aug/28/2022
|
Wrappers for accessing functions by advanced users. More...
Go to the source code of this file.
Functions | |
| void | fasp_fwrapper_dcsr_amg_ (INT *n, INT *nnz, INT *ia, INT *ja, REAL *a, REAL *b, REAL *u, REAL *tol, INT *maxit, INT *ptrlvl) |
| Solve Ax=b by Ruge and Stuben's classic AMG. More... | |
| void | fasp_fwrapper_dcsr_krylov_ilu_ (INT *n, INT *nnz, INT *ia, INT *ja, REAL *a, REAL *b, REAL *u, REAL *tol, INT *maxit, INT *ptrlvl) |
| Solve Ax=b by Krylov method preconditioned by ILUk. More... | |
| void | fasp_fwrapper_dcsr_krylov_amg_ (INT *n, INT *nnz, INT *ia, INT *ja, REAL *a, REAL *b, REAL *u, REAL *tol, INT *maxit, INT *ptrlvl) |
| Solve Ax=b by Krylov method preconditioned by classic AMG. More... | |
| void | fasp_fwrapper_dbsr_krylov_ilu_ (INT *n, INT *nnz, INT *nb, INT *ia, INT *ja, REAL *a, REAL *b, REAL *u, REAL *tol, INT *maxit, INT *ptrlvl) |
| Solve Ax=b by Krylov method preconditioned by block ILU in BSR format. More... | |
| void | fasp_fwrapper_dbsr_krylov_amg_ (INT *n, INT *nnz, INT *nb, INT *ia, INT *ja, REAL *a, REAL *b, REAL *u, REAL *tol, INT *maxit, INT *ptrlvl) |
| Solve Ax=b by Krylov method preconditioned by block AMG in BSR format. More... | |
Wrappers for accessing functions by advanced users.
Copyright (C) 2009–Present by the FASP team. All rights reserved.
Definition in file SolWrapper.c.
| void fasp_fwrapper_dbsr_krylov_amg_ | ( | INT * | n, |
| INT * | nnz, | ||
| INT * | nb, | ||
| INT * | ia, | ||
| INT * | ja, | ||
| REAL * | a, | ||
| REAL * | b, | ||
| REAL * | u, | ||
| REAL * | tol, | ||
| INT * | maxit, | ||
| INT * | ptrlvl | ||
| ) |
Solve Ax=b by Krylov method preconditioned by block AMG in BSR format.
| n | Number of cols of A |
| nnz | Number of nonzeros of A |
| nb | Size of each small block |
| ia | IA of A in CSR format |
| ja | JA of A in CSR format |
| a | VAL of A in CSR format |
| b | RHS vector |
| u | Solution vector |
| tol | Tolerance for iterative solvers |
| maxit | Max number of iterations |
| ptrlvl | Print level for iterative solvers |
Definition at line 397 of file SolWrapper.c.
| void fasp_fwrapper_dbsr_krylov_ilu_ | ( | INT * | n, |
| INT * | nnz, | ||
| INT * | nb, | ||
| INT * | ia, | ||
| INT * | ja, | ||
| REAL * | a, | ||
| REAL * | b, | ||
| REAL * | u, | ||
| REAL * | tol, | ||
| INT * | maxit, | ||
| INT * | ptrlvl | ||
| ) |
Solve Ax=b by Krylov method preconditioned by block ILU in BSR format.
| n | Number of cols of A |
| nnz | Number of nonzeros of A |
| nb | Size of each small block |
| ia | IA of A in BSR format |
| ja | JA of A in BSR format |
| a | VAL of A in BSR format |
| b | RHS vector |
| u | Solution vector |
| tol | Tolerance for iterative solvers |
| maxit | Max number of iterations |
| ptrlvl | Print level for iterative solvers |
Definition at line 326 of file SolWrapper.c.
| void fasp_fwrapper_dcsr_amg_ | ( | INT * | n, |
| INT * | nnz, | ||
| INT * | ia, | ||
| INT * | ja, | ||
| REAL * | a, | ||
| REAL * | b, | ||
| REAL * | u, | ||
| REAL * | tol, | ||
| INT * | maxit, | ||
| INT * | ptrlvl | ||
| ) |
Solve Ax=b by Ruge and Stuben's classic AMG.
| n | Number of cols of A |
| nnz | Number of nonzeros of A |
| ia | IA of A in CSR format |
| ja | JA of A in CSR format |
| a | VAL of A in CSR format |
| b | RHS vector |
| u | Solution vector |
| tol | Tolerance for iterative solvers |
| maxit | Max number of iterations |
| ptrlvl | Print level for iterative solvers |
Definition at line 136 of file SolWrapper.c.
| void fasp_fwrapper_dcsr_krylov_amg_ | ( | INT * | n, |
| INT * | nnz, | ||
| INT * | ia, | ||
| INT * | ja, | ||
| REAL * | a, | ||
| REAL * | b, | ||
| REAL * | u, | ||
| REAL * | tol, | ||
| INT * | maxit, | ||
| INT * | ptrlvl | ||
| ) |
Solve Ax=b by Krylov method preconditioned by classic AMG.
| n | Number of cols of A |
| nnz | Number of nonzeros of A |
| ia | IA of A in CSR format |
| ja | JA of A in CSR format |
| a | VAL of A in CSR format |
| b | RHS vector |
| u | Solution vector |
| tol | Tolerance for iterative solvers |
| maxit | Max number of iterations |
| ptrlvl | Print level for iterative solvers |
Step 0. Read input parameters
Definition at line 261 of file SolWrapper.c.
| void fasp_fwrapper_dcsr_krylov_ilu_ | ( | INT * | n, |
| INT * | nnz, | ||
| INT * | ia, | ||
| INT * | ja, | ||
| REAL * | a, | ||
| REAL * | b, | ||
| REAL * | u, | ||
| REAL * | tol, | ||
| INT * | maxit, | ||
| INT * | ptrlvl | ||
| ) |
Solve Ax=b by Krylov method preconditioned by ILUk.
| n | Number of cols of A |
| nnz | Number of nonzeros of A |
| ia | IA of A in CSR format |
| ja | JA of A in CSR format |
| a | VAL of A in CSR format |
| b | RHS vector |
| u | Solution vector |
| tol | Tolerance for iterative solvers |
| maxit | Max number of iterations |
| ptrlvl | Print level for iterative solvers |
Definition at line 195 of file SolWrapper.c.