PaStiX Handbook
6.4.0
|
Go to the source code of this file.
Functions | |
int | cpucblk_zcfillin (pastix_coefside_t side, const SolverMatrix *solvmtx, const pastix_bcsc_t *bcsc, pastix_int_t itercblk) |
Initialize the coeftab structure from the internal bcsc. More... | |
void | cpucblk_zcinit (pastix_coefside_t side, const SolverMatrix *solvmtx, const pastix_bcsc_t *bcsc, pastix_int_t itercblk, const char *directory) |
Fully initialize a single mixed-precision cblk. More... | |
PaStiX kernel header.
Definition in file pastix_zccores.h.
int cpucblk_zcfillin | ( | pastix_coefside_t | side, |
const SolverMatrix * | solvmtx, | ||
const pastix_bcsc_t * | bcsc, | ||
pastix_int_t | itercblk | ||
) |
Initialize the coeftab structure from the internal bcsc.
[in] | side | Define which side of the matrix must be initialized.
|
[in] | solvmtx | PaStiX structure to store numerical data and flags |
[in] | bcsc | The internal bcsc structure that hold the graph with permutation stored by cblk. |
[in] | itercblk | The index of the cblk to fill in both bcsc and solvmtx structures. |
Definition at line 318 of file cpucblk_zcinit.c.
References solver_matrix_s::cblktab, cpucblk_zcfillin_fr(), and cpucblk_zcfillin_lr().
Referenced by cpucblk_zcinit().
void cpucblk_zcinit | ( | pastix_coefside_t | side, |
const SolverMatrix * | solvmtx, | ||
const pastix_bcsc_t * | bcsc, | ||
pastix_int_t | itercblk, | ||
const char * | directory | ||
) |
Fully initialize a single mixed-precision cblk.
The cblk is allocated, intialized from the bcsc, and compressed if necessary.
[in] | side | Define which side of the matrix must be initialized.
|
[in] | solvmtx | The solver matrix data structure. |
[in] | bcsc | The internal block CSC structure to fill-in the matrix. |
[in] | itercblk | The index of the cblk to initialize. |
[in,out] | directory | The pointer to the temporary directory where to store the output files. Used only if PASTIX_DEBUG_DUMP_COEFTAB is defined. |
Try to compress the cblk if needs to be compressed
Definition at line 63 of file coeftab_zcinit.c.
References solver_matrix_s::cblktab, solver_cblk_s::cblktype, coeftabComputeCblkILULevels(), cpucblk_calloc(), cpucblk_ccompress(), cpucblk_cdumpfile(), cpucblk_zcfillin(), solver_cblk_s::ctrbcnt, solver_matrix_s::globalalloc, pastix_lr_s::ilu_lvl, and solver_matrix_s::lowrank.