SuperLU_DIST  4.0
superlu_dist on CPU and GPU clusters
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Functions
ddistribute.c File Reference

Distribute the matrix onto the 2D process mesh. More...

#include "superlu_ddefs.h"

Functions

float ddistribute (fact_t fact, int_t n, SuperMatrix *A, Glu_freeable_t *Glu_freeable, LUstruct_t *LUstruct, gridinfo_t *grid)
 

Detailed Description

Distribute the matrix onto the 2D process mesh.

– Distributed SuperLU routine (version 2.3) –
Lawrence Berkeley National Lab, Univ. of California Berkeley.
October 15, 2008

Function Documentation

float ddistribute ( fact_t  fact,
int_t  n,
SuperMatrix A,
Glu_freeable_t Glu_freeable,
LUstruct_t LUstruct,
gridinfo_t grid 
)

Purpose

  Distribute the matrix onto the 2D process mesh.

Arguments

fact (input) fact_t
       Specifies whether or not the L and U structures will be re-used.
       = SamePattern_SameRowPerm: L and U structures are input, and
                                  unchanged on exit.
       = DOFACT or SamePattern: L and U structures are computed and output.
n      (input) int
       Dimension of the matrix.
A      (input) SuperMatrix*
   The original matrix A, permuted by columns, of dimension
       (A->nrow, A->ncol). The type of A can be:
       Stype = SLU_NCP; Dtype = SLU_D; Mtype = SLU_GE.
LUstruct (input) LUstruct_t*
       Data structures for L and U factors.
grid   (input) gridinfo_t*
       The 2D process mesh.

Return value

0, working storage required (in bytes).