cscdread.h

Reads file in cscd format.

Summary
cscdread.hReads file in cscd format.
cscdReadReads a matrix in cscd format Nrow is equal to Ncol.

cscdRead

void cscdRead(char const *dirname,
pastix_int_t **colptr,
pastix_int_t **row,
pastix_int_t **loc2glb,
pastix_float_t **avals,
pastix_float_t **rhs,
pastix_int_t *colnbr,
pastix_int_t *nnz,
MPI_Comm pastix_comm)

Reads a matrix in cscd format Nrow is equal to Ncol.

File format is like : ...

Parameters

dirnamePath to the directory containing matrix
colptrIndex of first element of each column in row and val
rowRow of eah element
loc2glbCorrespondance between local and global numbering
avalsValue of each element
rhsRight Hand Side
colnbrNumber of columns
nnzNumber of non-zeros
pastix_commMPI communicator
void cscdRead(char const *dirname,
pastix_int_t **colptr,
pastix_int_t **row,
pastix_int_t **loc2glb,
pastix_float_t **avals,
pastix_float_t **rhs,
pastix_int_t *colnbr,
pastix_int_t *nnz,
MPI_Comm pastix_comm)
Reads a matrix in cscd format Nrow is equal to Ncol.
Close