SpM Handbook 1.2.4
Loading...
Searching...
No Matches
p_spm.h File Reference

Go to the source code of this file.

Functions

int p_spmConvertCSC2CSR (spmatrix_t *spm)
 Conversion routines.
 
int p_spmConvertCSC2IJV (spmatrix_t *spm)
 Convert a matrix in CSC format to a matrix in IJV format.
 
int p_spmConvertCSR2CSC (spmatrix_t *spm)
 convert a matrix in CSR format to a matrix in CSC format.
 
int p_spmConvertCSR2IJV (spmatrix_t *spm)
 convert a matrix in CSR format to a matrix in IJV format.
 
int p_spmConvertIJV2CSC (spmatrix_t *spm)
 convert a matrix in IJV format to a matrix in CSC format.
 
int p_spmConvertIJV2CSR (spmatrix_t *spm)
 convert a matrix in IJV format to a matrix in CSR format.
 
void p_spmSort (spmatrix_t *spm)
 This routine sorts the spm matrix.
 
spm_int_t p_spmMergeDuplicate (spmatrix_t *spm)
 This routine merge the multiple entries in a sparse matrix by summing their values together.
 
void p_spmPrint (FILE *f, const spmatrix_t *spm)
 Write a spm matrix in a file.
 
void p_spmPrintRHS (FILE *f, const spmatrix_t *spm, int nrhs, const void *x, spm_int_t ldx)
 Write into a file the vectors associated to a spm.
 
void p_spmExpand (const spmatrix_t *spm_in, spmatrix_t *spm_out)
 Expand a single dof sparse matrix to a multi-dofs sparse matrix.
 

Detailed Description

SParse Matrix package precision dependent header.

Version
1.2.4
Author
Pierre Ramet
Mathieu Faverge
Alban Bellot
Tony Delarue
Alycia Lisito
Date
2024-05-29
Generated arithmetic file from /builds/2mk6rsew/0/fpruvost/spm/include/spm/p_spm.h, normal p -> p, Fri Nov 29 11:34:28 2024

Definition in file p_spm.h.