SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
sdistribute.c File Reference

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

#include "superlu_sdefs.h"
Include dependency graph for sdistribute.c:

Functions

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

Detailed Description

Distribute the matrix onto the 2D process mesh.

Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)

All rights reserved.

The source code is distributed under BSD license, see the file License.txt at the top-level directory.

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

Function Documentation

◆ sdistribute()

float sdistribute ( fact_t  fact,
int_t  n,
SuperMatrix A,
Glu_freeable_t Glu_freeable,
sLUstruct_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_S; Mtype = SLU_GE.

LUstruct (input) sLUstruct_t*
       Data structures for L and U factors.

grid   (input) gridinfo_t*
       The 2D process mesh.

Return value
============
  > 0, working storage (in bytes) required to perform redistribution.
       (excluding LU factor size)
Here is the call graph for this function:
Here is the caller graph for this function: