#include <math.h>
#include "superlu_ddefs.h"
Functions/Subroutines | |
int | dcreate_dist_matrix (SuperMatrix *A, int_t m, int_t n, int_t nnz, double *nzval_g, int_t *rowind_g, int_t *colptr_g, gridinfo_t *grid) |
-- Distributed SuperLU routine (version 2.0) -- Lawrence Berkeley National Lab, Univ. of California Berkeley. July 28, 2003
Purpose =======
DCREATE_DIST_MATRIX reads the global matrix from three input arrays and distribute it to the processes in a distributed compressed row format.
Arguments =========
A (output) SuperMatrix* Local matrix A in NR_loc format.
M (input) int_t The row number of the global matrix.
N (input) int_t The col number of the global matrix.
NNZ (input) int_t The number nonzeros in the global matrix.
NZVAL_G (input) double* Nonzero values of the global matrix.
ROWIND_G (input) int_t* Row indices of the global matrix.
COLPTR_G (input) int_t* Columns pointers of the global matrix.
GRID (input) gridinof_t* The 2D process mesh.
int dcreate_dist_matrix | ( | SuperMatrix * | A, | |
int_t | m, | |||
int_t | n, | |||
int_t | nnz, | |||
double * | nzval_g, | |||
int_t * | rowind_g, | |||
int_t * | colptr_g, | |||
gridinfo_t * | grid | |||
) |