Header file for preconditioners for Krylov subspace methods. More...


Go to the source code of this file.
Functions | |
| ucfd_status_t | bilu_prepare (int bn, int *iw, int *row_ptr, int *col_ind, int *diag_ind, double *nnz_data) |
| Block fill-in Incomplete LU preconditioner for BSR matrix format. More... | |
| void | bilu_psolve (int bn, int *row_ptr, int *col_ind, int *diag_ind, double *nnz_data, double *b) |
| Solver function for BILU preconditioner. More... | |
| ucfd_status_t | lusgs_prepare (int bn, int *diag_ind, double *nnz_data) |
| LU-SGS preconditioner for BSR matrix format. More... | |
| void | lusgs_psolve (int bn, int *row_ptr, int *col_ind, int *diag_ind, double *nnz_data, double *b) |
| Solver function for LU-SGS preconditioner. More... | |
| void | none_psolve (int bn, int *row_ptr, int *col_ind, int *diag_ind, double *nnz_data, double *b) |
| Unpreconditioned solver. More... | |
Header file for preconditioners for Krylov subspace methods.
Declaration of each prepare/psolve function. prepare must be executed before Krylov method routine starts. psolve function is executed in Krylov method to solve Px = b.
Definition in file precon.h.
| ucfd_status_t bilu_prepare | ( | int | bn, |
| int * | iw, | ||
| int * | row_ptr, | ||
| int * | col_ind, | ||
| int * | diag_ind, | ||
| double * | nnz_data | ||
| ) |
Block fill-in Incomplete LU preconditioner for BSR matrix format.
| bn | Number of element cells |
| blk | Block size of BSR matrix |
| iw | Working array |
| row_ptr | Row-directional index pointer array of the matrix |
| col_ind | Column index array of the matrix |
| diag_ind | Diagonal matrix index array based on row_ptr |
| nnz_data | Non-zero value array of the matrix |
This function refactors non-zero values of BSR matrix applying block fill-in process.
Definition at line 35 of file precon.c.

| void bilu_psolve | ( | int | bn, |
| int * | row_ptr, | ||
| int * | col_ind, | ||
| int * | diag_ind, | ||
| double * | nnz_data, | ||
| double * | b | ||
| ) |
Solver function for BILU preconditioner.
| bn | Number of element cells |
| blk | Block size of BSR matrix |
| row_ptr | Row-directional index pointer array of the matrix |
| col_ind | Column index array of the matrix |
| diag_ind | Diagonal matrix index array based on row_ptr |
| nnz_data | Non-zero value array of the matrix |
| b | Right-hand-side |
This function applies preconditioner matrix into arbitrary input vector b. In other words, solve Px = b.
Definition at line 100 of file precon.c.


| ucfd_status_t lusgs_prepare | ( | int | bn, |
| int * | diag_ind, | ||
| double * | nnz_data | ||
| ) |
LU-SGS preconditioner for BSR matrix format.
| bn | Number of element cells |
| blk | Block size of BSR matrix |
| diag_ind | Diagonal matrix index array based on row_ptr |
| nnz_data | Non-zero value array of the matrix |
LU decomposition is applied in every diagonal matrix.
Definition at line 167 of file precon.c.

| void lusgs_psolve | ( | int | bn, |
| int * | row_ptr, | ||
| int * | col_ind, | ||
| int * | diag_ind, | ||
| double * | nnz_data, | ||
| double * | b | ||
| ) |
Solver function for LU-SGS preconditioner.
| bn | Number of element cells |
| blk | Block size of BSR matrix |
| row_ptr | Row-directional index pointer array of the matrix |
| col_ind | Column index array of the matrix |
| diag_ind | Diagonal matrix index array based on row_ptr |
| nnz_data | Non-zero value array of the matrix |
| b | Right-hand-side |
This function applies preconditioner matrix into arbitrary input vector b. In other words, solve Px = b.
Definition at line 187 of file precon.c.

