PaStiX Handbook  6.2.1
coeftab_s.h
Go to the documentation of this file.
1 /**
2  * @file coeftab_s.h
3  *
4  * Precision dependent coeficient array header.
5  *
6  * @copyright 2012-2021 Bordeaux INP, CNRS (LaBRI UMR 5800), Inria,
7  * Univ. Bordeaux. All rights reserved.
8  *
9  * @version 6.2.0
10  * @author David Goudin
11  * @author Pascal Henon
12  * @author Francois Pellegrini
13  * @author Pierre Ramet
14  * @author Mathieu Faverge
15  * @author Xavier Lacoste
16  * @author Esragul Korkmaz
17  * @author Gregoire Pichon
18  * @date 2021-03-30
19  *
20  * @generated from /builds/solverstack/pastix/sopalin/coeftab_z.h, normal z -> s, Tue Apr 12 09:38:26 2022
21  *
22  * @addtogroup coeftab
23  * @{
24  *
25  **/
26 #ifndef _coeftab_s_h_
27 #define _coeftab_s_h_
28 
29 /**
30  * @name PastixFloat compression/uncompression routines
31  * @{
32  */
33 pastix_int_t coeftab_scompress ( SolverMatrix *solvmtx );
34 void coeftab_suncompress( SolverMatrix *solvmtx );
35 void coeftab_smemory ( SolverMatrix *solvmtx, pastix_fixdbl_t *dparm );
36 
37 /**
38  * @}
39  * @name PastixFloat Extraction routines
40  * @{
41  */
42 void coeftab_sgetschur( const SolverMatrix *solvmtx,
43  float *S, pastix_int_t lds );
44 
45 void coeftab_sgetdiag( const SolverMatrix *solvmtx,
46  float *D, pastix_int_t incD );
47 
48 /**
49  * @}
50  * @name PastixFloat debug routines
51  * @{
52  */
53 void coeftab_sdump( pastix_data_t *pastix_data,
54  const SolverMatrix *solvmtx,
55  const char *filename );
57  const SolverMatrix *solvA,
58  SolverMatrix *solvB );
59 
60 /**
61  * @}
62  */
63 #endif /* _coeftab_s_h_ */
64 
65 /**
66  * @}
67  */
coeftab_sdump
void coeftab_sdump(pastix_data_t *pastix_data, const SolverMatrix *solvmtx, const char *filename)
Dump the solver matrix coefficients into a file in human readable format.
Definition: coeftab_s.c:52
coeftab_sgetschur
void coeftab_sgetschur(const SolverMatrix *solvmtx, float *S, pastix_int_t lds)
Extract the Schur complement.
Definition: coeftab_s.c:435
pastix_coefside_t
enum pastix_coefside_e pastix_coefside_t
Data blocks used in the kernel.
coeftab_scompress
pastix_int_t coeftab_scompress(SolverMatrix *solvmtx)
Compress all the cblks marked as valid for low-rank format.
Definition: coeftab_s.c:174
coeftab_smemory
void coeftab_smemory(SolverMatrix *solvmtx, pastix_fixdbl_t *dparm)
Compute the memory gain of the low-rank form over the full-rank form for the entire matrix.
Definition: coeftab_s.c:235
coeftab_sgetdiag
void coeftab_sgetdiag(const SolverMatrix *solvmtx, float *D, pastix_int_t incD)
Extract the diagonal.
Definition: coeftab_s.c:484
coeftab_suncompress
void coeftab_suncompress(SolverMatrix *solvmtx)
Uncompress all column block in low-rank format into full-rank format.
Definition: coeftab_s.c:203
coeftab_sdiff
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.
Definition: coeftab_s.c:127