Go to the source code of this file.
◆ prec_t
◆ prec_alloc()
Create empty preconditioner object.
- Returns
- Pointer to preconditioner object.
◆ prec_analyze()
| int prec_analyze |
( |
bsr_matrix * |
M, |
|
|
int(*) |
offsets[3] |
|
) |
| |
Identify off-diagonal ILU0 targets.
- Parameters
-
| M | Pointer to bsr matrix. |
| offsets | Pointer to offsets identifying off-diagonal targets. |
- Returns
- number of offdiagonal targets.
◆ prec_dapply3c()
| void prec_dapply3c |
( |
prec_t * |
P, |
|
|
double * |
x |
|
) |
| |
Preconditioner applicationin double-precision.
- Note
- Algorithm onsists of lower and upper triangular solves
- Parameters
-
| P | Pointer to preconditioner object. @apram x Pointer to input/output vector |
◆ prec_dilu_factorize()
DILU factorization.
- Parameters
-
| P | Pointer preconditioner object. |
| A | Pointer to bsr matrix. |
◆ prec_downcast()
| void prec_downcast |
( |
prec_t * |
P | ) |
|
Make single-precision copy of double-precision values.
- Parameters
-
| P | Pointer to preconditioner object. |
◆ prec_free()
Delete preconditioner object.
- Parameters
-
| A | Pointer to preconditioner object. |
◆ prec_ilu0_factorize()
ILU0 factorization.
- Parameters
-
| P | Pointer preconditioner object. |
| A | Pointer to bsr matrix. |
◆ prec_info()
Display preconditioner statistics.
- Parameters
-
| P | Pointer to preconditioner object. |
◆ prec_init()
Initialize preconditioner object.
- Parameters
-
| P | Pointer preconditioner object. |
| A | Pointer to bsr matrix. |
◆ prec_mapply3c()
| void prec_mapply3c |
( |
prec_t * |
P, |
|
|
double * |
x |
|
) |
| |
Preconditioner application in mixed-precision.
- Note
- Algorithm onsists of lower and upper triangular solves
- Parameters
-
| P | Pointer to preconditioner object. @apram x Pointer to input/output vector |