FORTRAN/dcreate_dist_matrix.c File Reference

Distribute the input matrix in a distributed compressed row format. More...

#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)


Detailed Description

 -- 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.

 

Function Documentation

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 
)


Generated on Wed Nov 24 18:17:32 2010 for SuperLUDistributed by  doxygen 1.5.5