PaStiX Handbook  6.4.0
coeftab_z.c File Reference
#include "common.h"
#include "blend/solver.h"
#include "lapacke.h"
#include "sopalin/coeftab_z.h"
#include "pastix_zcores.h"

Go to the source code of this file.

Functions

void coeftab_zdump (pastix_data_t *pastix_data, const SolverMatrix *solvmtx, const char *prefix)
 Dump the solver matrix coefficients into a file in human readable format. More...
 
void cpucblk_zdumpfile (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. More...
 
int coeftab_zdiff (pastix_coefside_t side, const SolverMatrix *solvA, SolverMatrix *solvB)
 Compare two solver matrices in full-rank format with the same data distribution. More...
 
pastix_int_t coeftab_zcompress (SolverMatrix *solvmtx)
 Compress all the cblks marked as valid for low-rank format. More...
 
void coeftab_zuncompress (SolverMatrix *solvmtx)
 Uncompress all column block in low-rank format into full-rank format. More...
 
void coeftab_zmemory_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. More...
 
void coeftab_zmemory_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. More...
 
void coeftab_zmemory (const SolverMatrix *solvmtx, const pastix_int_t *iparm, pastix_fixdbl_t *dparm)
 Compute the memory usage for the entire matrix. More...
 
void coeftab_zgetschur (const SolverMatrix *solvmtx, pastix_complex64_t *S, pastix_int_t lds)
 Extract the Schur complement. More...
 
void coeftab_zgetdiag (const SolverMatrix *solvmtx, pastix_complex64_t *D, pastix_int_t incD)
 Extract the diagonal. More...
 

Detailed Description

Precision dependent sequential routines to apply operation of the full matrix.

Version
6.4.0
Author
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Mathieu Faverge
Esragul Korkmaz
Tony Delarue
Date
2024-07-05
Generated arithmetic file
from /builds/solverstack/pastix/sopalin/coeftab_z.c, normal z -> z, Tue Oct 8 14:17:56 2024

Definition in file coeftab_z.c.

Function Documentation

◆ coeftab_zmemory_lr()

void coeftab_zmemory_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.

Parameters
[in]solvmtxThe solver matrix of the problem.
[in]iparmThe integer parameter array
[in,out]dparmThe double parameter array which is going to be updated.

Definition at line 307 of file coeftab_z.c.

References solver_matrix_s::cblktab, solver_matrix_s::factotype, pastix_int_t, PastixFactLU, PastixLCoef, and PastixLUCoef.

Referenced by coeftab_zmemory().

◆ coeftab_zmemory_fr()

void coeftab_zmemory_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.

Parameters
[in]solvmtxThe solver matrix of the problem.
[in,out]dparmThe double parameter array which is going to be updated.
[in]iparmThe integer parameter array

Definition at line 509 of file coeftab_z.c.

References cblk_colnbr(), solver_matrix_s::cblknbr, solver_matrix_s::cblktab, solver_cblk_s::cblktype, solver_matrix_s::factotype, solver_cblk_s::ownerid, pastix_int_t, PastixFactLU, PastixLCoef, PastixLUCoef, and solver_cblk_s::stride.

Referenced by coeftab_zmemory().