PaStiX Handbook  6.3.2
coeftab_d.c File Reference
#include "common.h"
#include "blend/solver.h"
#include "lapacke.h"
#include "sopalin/coeftab_d.h"
#include "pastix_dcores.h"

Go to the source code of this file.

Functions

void coeftab_ddump (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_ddumpfile (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_ddiff (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_dcompress (SolverMatrix *solvmtx)
 Compress all the cblks marked as valid for low-rank format. More...
 
void coeftab_duncompress (SolverMatrix *solvmtx)
 Uncompress all column block in low-rank format into full-rank format. More...
 
void coeftab_dmemory_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_dmemory_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_dmemory (const SolverMatrix *solvmtx, const pastix_int_t *iparm, pastix_fixdbl_t *dparm)
 Compute the memory usage for the entire matrix. More...
 
void coeftab_dgetschur (const SolverMatrix *solvmtx, double *S, pastix_int_t lds)
 Extract the Schur complement. More...
 
void coeftab_dgetdiag (const SolverMatrix *solvmtx, double *D, pastix_int_t incD)
 Extract the diagonal. More...
 

Detailed Description

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

Version
6.3.2
Author
Pierre Ramet
Xavier Lacoste
Gregoire Pichon
Mathieu Faverge
Esragul Korkmaz
Tony Delarue
Date
2023-07-21
Generated arithmetic file
from /builds/solverstack/pastix/sopalin/coeftab_z.c, normal z -> d, Wed Dec 13 12:09:46 2023

Definition in file coeftab_d.c.

Function Documentation

◆ coeftab_dmemory_lr()

void coeftab_dmemory_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_d.c.

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

Referenced by coeftab_dmemory().

◆ coeftab_dmemory_fr()

void coeftab_dmemory_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_d.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_dmemory().