|
PaStiX Handbook 6.4.0
|
#include "common.h"#include "blend/solver.h"#include "lapacke.h"#include "sopalin/coeftab_s.h"#include "pastix_scores.h"Go to the source code of this file.
Functions | |
| void | coeftab_sdump (pastix_data_t *pastix_data, const SolverMatrix *solvmtx, const char *prefix) |
| Dump the solver matrix coefficients into a file in human readable format. | |
| void | cpucblk_sdumpfile (pastix_coefside_t side, SolverCblk *cblk, pastix_int_t itercblk, const char *directory) |
| Dump a single column block into a FILE in a human readale format. | |
| int | coeftab_sdiff (pastix_coefside_t side, const SolverMatrix *solvA, SolverMatrix *solvB) |
| Compare two solver matrices in full-rank format with the same data distribution. | |
| pastix_int_t | coeftab_scompress (SolverMatrix *solvmtx) |
| Compress all the cblks marked as valid for low-rank format. | |
| void | coeftab_suncompress (SolverMatrix *solvmtx) |
| Uncompress all column block in low-rank format into full-rank format. | |
| void | coeftab_smemory_lr (const SolverMatrix *solvmtx, const pastix_int_t *iparm, pastix_fixdbl_t *dparm) |
| Compute the memory gain of the low-rank form over the full-rank form for the entire matrix. | |
| void | coeftab_smemory_fr (const SolverMatrix *solvmtx, const pastix_int_t *iparm, pastix_fixdbl_t *dparm) |
| Compute the memory usage of the full-rank form for the entire matrix. | |
| void | coeftab_smemory (const SolverMatrix *solvmtx, const pastix_int_t *iparm, pastix_fixdbl_t *dparm) |
| Compute the memory usage for the entire matrix. | |
| void | coeftab_sgetschur (const SolverMatrix *solvmtx, float *S, pastix_int_t lds) |
| Extract the Schur complement. | |
| void | coeftab_sgetdiag (const SolverMatrix *solvmtx, float *D, pastix_int_t incD) |
| Extract the diagonal. | |
Precision dependent sequential routines to apply operation of the full matrix.
Definition in file coeftab_s.c.
| void coeftab_smemory_lr | ( | const SolverMatrix * | solvmtx, |
| const pastix_int_t * | iparm, | ||
| pastix_fixdbl_t * | dparm | ||
| ) |
Compute the memory gain of the low-rank form over the full-rank form for the entire matrix.
This function returns the memory gain in bytes for the full matrix when column blocks are stored in low-rank format compared to a full rank storage.
| [in] | solvmtx | The solver matrix of the problem. |
| [in] | iparm | The integer parameter array |
| [in,out] | dparm | The float parameter array which is going to be updated. |
Definition at line 307 of file coeftab_s.c.
References blok_rownbr(), solver_matrix_s::bloknbr, solver_matrix_s::bloktab, cblk_colnbr(), solver_matrix_s::cblknbr, solver_matrix_s::cblktab, solver_cblk_s::cblktype, core_get_rklimit, cpucblk_smemory(), DPARM_MEM_FR, DPARM_MEM_LR, solver_matrix_s::factotype, solver_cblk_s::fblokptr, solver_blok_s::fcblknm, FR_InDiag, FR_OffDiag, solver_blok_s::inlast, IPARM_VERBOSE, solver_blok_s::lcblknm, LR_DInD, LR_InDiag, LR_InSele, LR_OffDiag, solver_blok_s::LRblock, solver_cblk_s::ownerid, pastix_int_t, PastixFactLU, PastixLCoef, PastixLUCoef, PastixUCoef, PastixVerboseNot, pastix_lrblock_s::rk, pastix_lrblock_s::rkmax, solver_cblk_s::sndeidx, and solver_cblk_s::stride.
Referenced by coeftab_smemory().
| void coeftab_smemory_fr | ( | const SolverMatrix * | solvmtx, |
| const pastix_int_t * | iparm, | ||
| pastix_fixdbl_t * | dparm | ||
| ) |
Compute the memory usage of the full-rank form for the entire matrix.
This function returns the memory usage in bytes for the full matrix when column blocks are stored in full-rank format.
| [in] | solvmtx | The solver matrix of the problem. |
| [in,out] | dparm | The float parameter array which is going to be updated. |
| [in] | iparm | The integer parameter array |
Definition at line 509 of file coeftab_s.c.
References cblk_colnbr(), solver_matrix_s::cblknbr, solver_matrix_s::cblktab, solver_cblk_s::cblktype, DPARM_MEM_FR, solver_matrix_s::factotype, IPARM_VERBOSE, solver_cblk_s::ownerid, pastix_int_t, PastixFactLU, PastixLCoef, PastixLUCoef, PastixVerboseNot, and solver_cblk_s::stride.
Referenced by coeftab_smemory().