superlu_zdefs.h File Reference

Distributed SuperLU data types and function prototypes. More...

#include "superlu_defs.h"
#include "dcomplex.h"

Go to the source code of this file.

Classes

struct  Ucb_indptr_t
 
struct  LocalLU_t
 
struct  LUstruct_t
 
struct  pzgsmv_comm_t
 
struct  pxgstrs_comm_t
 
struct  SOLVEstruct_t
 

Macros

#define MAX_LOOKAHEADS   50
 

Functions

void zCreate_CompCol_Matrix_dist (SuperMatrix *, int_t, int_t, int_t, doublecomplex *, int_t *, int_t *, Stype_t, Dtype_t, Mtype_t)
 
void zCreate_CompRowLoc_Matrix_dist (SuperMatrix *, int_t, int_t, int_t, int_t, int_t, doublecomplex *, int_t *, int_t *, Stype_t, Dtype_t, Mtype_t)
 
void zCompRow_to_CompCol_dist (int_t, int_t, int_t, doublecomplex *, int_t *, int_t *, doublecomplex **, int_t **, int_t **)
 
int pzCompRow_loc_to_CompCol_global (int_t, SuperMatrix *, gridinfo_t *, SuperMatrix *)
 
void zCopy_CompCol_Matrix_dist (SuperMatrix *, SuperMatrix *)
 
void zCreate_Dense_Matrix_dist (SuperMatrix *, int_t, int_t, doublecomplex *, int_t, Stype_t, Dtype_t, Mtype_t)
 
void zCreate_SuperNode_Matrix_dist (SuperMatrix *, int_t, int_t, int_t, doublecomplex *, int_t *, int_t *, int_t *, int_t *, int_t *, Stype_t, Dtype_t, Mtype_t)
 
void zCopy_Dense_Matrix_dist (int_t, int_t, doublecomplex *, int_t, doublecomplex *, int_t)
 
void zallocateA_dist (int_t, int_t, doublecomplex **, int_t **, int_t **)
 
void zGenXtrue_dist (int_t, int_t, doublecomplex *, int_t)
 
void zFillRHS_dist (char *, int_t, doublecomplex *, int_t, SuperMatrix *, doublecomplex *, int_t)
 
int zcreate_matrix (SuperMatrix *, int, doublecomplex **, int *, doublecomplex **, int *, FILE *, gridinfo_t *)
 
void zgsequ_dist (SuperMatrix *, double *, double *, double *, double *, double *, int_t *)
 
double zlangs_dist (char *, SuperMatrix *)
 
void zlaqgs_dist (SuperMatrix *, double *, double *, double, double, double, char *)
 
void pzgsequ (SuperMatrix *, double *, double *, double *, double *, double *, int_t *, gridinfo_t *)
 
double pzlangs (char *, SuperMatrix *, gridinfo_t *)
 
void pzlaqgs (SuperMatrix *, double *, double *, double, double, double, char *)
 
int pzPermute_Dense_Matrix (int_t, int_t, int_t[], int_t[], doublecomplex[], int, doublecomplex[], int, int, gridinfo_t *)
 
int sp_ztrsv_dist (char *, char *, char *, SuperMatrix *, SuperMatrix *, doublecomplex *, int *)
 
int sp_zgemv_dist (char *, doublecomplex, SuperMatrix *, doublecomplex *, int, doublecomplex, doublecomplex *, int)
 
int sp_zgemm_dist (char *, char *, int, int, int, doublecomplex, SuperMatrix *, doublecomplex *, int, doublecomplex, doublecomplex *, int)
 
float zdistribute (fact_t, int_t, SuperMatrix *, Glu_freeable_t *, LUstruct_t *, gridinfo_t *)
 
void pzgssvx_ABglobal (superlu_options_t *, SuperMatrix *, ScalePermstruct_t *, doublecomplex *, int, int, gridinfo_t *, LUstruct_t *, double *, SuperLUStat_t *, int *)
 
float pzdistribute (fact_t, int_t, SuperMatrix *, ScalePermstruct_t *, Glu_freeable_t *, LUstruct_t *, gridinfo_t *)
 
void pzgssvx (superlu_options_t *, SuperMatrix *, ScalePermstruct_t *, doublecomplex *, int, int, gridinfo_t *, LUstruct_t *, SOLVEstruct_t *, double *, SuperLUStat_t *, int *)
 
int zSolveInit (superlu_options_t *, SuperMatrix *, int_t[], int_t[], int_t, LUstruct_t *, gridinfo_t *, SOLVEstruct_t *)
 
int_t pxgstrs_init (int_t, int_t, int_t, int_t, int_t[], int_t[], gridinfo_t *grid, Glu_persist_t *, SOLVEstruct_t *)
 
void pxgstrs_finalize (pxgstrs_comm_t *)
 
void zSolveFinalize (superlu_options_t *, SOLVEstruct_t *)
 
void zldperm (int_t, int_t, int_t, int_t[], int_t[], doublecomplex[], int_t *, double[], double[])
 
int_t pzgstrf (superlu_options_t *, int, int, double, LUstruct_t *, gridinfo_t *, SuperLUStat_t *, int *)
 
void pzgstrs_Bglobal (int_t, LUstruct_t *, gridinfo_t *, doublecomplex *, int_t, int, SuperLUStat_t *, int *)
 
void pzgstrs (int_t, LUstruct_t *, ScalePermstruct_t *, gridinfo_t *, doublecomplex *, int_t, int_t, int_t, int, SOLVEstruct_t *, SuperLUStat_t *, int *)
 
void zlsum_fmod (doublecomplex *, doublecomplex *, doublecomplex *, doublecomplex *, int, int, int_t, int_t *, int_t, int_t, int_t, int_t *, gridinfo_t *, LocalLU_t *, MPI_Request[], SuperLUStat_t *)
 
void zlsum_bmod (doublecomplex *, doublecomplex *, doublecomplex *, int, int_t, int_t *, int_t *, Ucb_indptr_t **, int_t **, int_t *, gridinfo_t *, LocalLU_t *, MPI_Request[], SuperLUStat_t *)
 
void pzgsrfs (int_t, SuperMatrix *, double, LUstruct_t *, ScalePermstruct_t *, gridinfo_t *, doublecomplex[], int_t, doublecomplex[], int_t, int, SOLVEstruct_t *, double *, SuperLUStat_t *, int *)
 
void pzgsrfs_ABXglobal (int_t, SuperMatrix *, double, LUstruct_t *, gridinfo_t *, doublecomplex *, int_t, doublecomplex *, int_t, int, double *, SuperLUStat_t *, int *)
 
int pzgsmv_AXglobal_setup (SuperMatrix *, Glu_persist_t *, gridinfo_t *, int_t *, int_t *[], doublecomplex *[], int_t *[], int_t[])
 
int pzgsmv_AXglobal (int_t, int_t[], doublecomplex[], int_t[], doublecomplex[], doublecomplex[])
 
int pzgsmv_AXglobal_abs (int_t, int_t[], doublecomplex[], int_t[], doublecomplex[], double[])
 
void pzgsmv_init (SuperMatrix *, int_t *, gridinfo_t *, pzgsmv_comm_t *)
 
void pzgsmv (int_t, SuperMatrix *, gridinfo_t *, pzgsmv_comm_t *, doublecomplex x[], doublecomplex ax[])
 
void pzgsmv_finalize (pzgsmv_comm_t *)
 
doublecomplexdoublecomplexMalloc_dist (int_t)
 
doublecomplexdoublecomplexCalloc_dist (int_t)
 
doubledoubleMalloc_dist (int_t)
 
doubledoubleCalloc_dist (int_t)
 
void * duser_malloc_dist (int_t, int_t)
 
void duser_free_dist (int_t, int_t)
 
int_t zQuerySpace_dist (int_t, LUstruct_t *, gridinfo_t *, mem_usage_t *)
 
void Destroy_LU (int_t, gridinfo_t *, LUstruct_t *)
 
void LUstructInit (const int_t, const int_t, LUstruct_t *)
 
void LUstructFree (LUstruct_t *)
 
void zfill_dist (doublecomplex *, int_t, doublecomplex)
 
void zinf_norm_error_dist (int_t, int_t, doublecomplex *, int_t, doublecomplex *, int_t, gridinfo_t *)
 
void pzinf_norm_error (int, int_t, int_t, doublecomplex[], int_t, doublecomplex[], int_t, gridinfo_t *)
 
void zreadhb_dist (int, FILE *, int_t *, int_t *, int_t *, doublecomplex **, int_t **, int_t **)
 
float zdist_psymbtonum (fact_t, int_t, SuperMatrix *, ScalePermstruct_t *, Pslu_freeable_t *, LUstruct_t *, gridinfo_t *)
 
void zPrintLblocks (int_t, int_t, gridinfo_t *, Glu_persist_t *, LocalLU_t *)
 
void zPrintUblocks (int_t, int_t, gridinfo_t *, Glu_persist_t *, LocalLU_t *)
 
void zPrint_CompCol_Matrix_dist (SuperMatrix *)
 
void zPrint_Dense_Matrix_dist (SuperMatrix *)
 
int zPrint_CompRowLoc_Matrix_dist (SuperMatrix *)
 
void PrintDoublecomplex (char *, int_t, doublecomplex *)
 
int file_PrintDoublecomplex (FILE *fp, char *, int_t, doublecomplex *)
 
int zgemm_ (char *, char *, int *, int *, int *, doublecomplex *, doublecomplex *, int *, doublecomplex *, int *, doublecomplex *, doublecomplex *, int *)
 
int ztrsv_ (char *, char *, char *, int *, doublecomplex *, int *, doublecomplex *, int *)
 
int zger_ (int *, int *, doublecomplex *, doublecomplex *, int *, doublecomplex *, int *, doublecomplex *, int *)
 

Detailed Description

Distributed SuperLU data types and function prototypes.

-- Distributed SuperLU routine (version 2.5) --
Lawrence Berkeley National Lab, Univ. of California Berkeley.
November 1, 2007

Macro Definition Documentation

◆ MAX_LOOKAHEADS

#define MAX_LOOKAHEADS   50

Function Documentation

◆ Destroy_LU()

void Destroy_LU ( int_t  ,
gridinfo_t ,
LUstruct_t  
)

◆ doubleCalloc_dist()

double* doubleCalloc_dist ( int_t  )

◆ doublecomplexCalloc_dist()

doublecomplex* doublecomplexCalloc_dist ( int_t  )

◆ doublecomplexMalloc_dist()

doublecomplex* doublecomplexMalloc_dist ( int_t  )

◆ doubleMalloc_dist()

double* doubleMalloc_dist ( int_t  )

◆ duser_free_dist()

void duser_free_dist ( int_t  ,
int_t   
)

◆ duser_malloc_dist()

void* duser_malloc_dist ( int_t  ,
int_t   
)

◆ file_PrintDoublecomplex()

int file_PrintDoublecomplex ( FILE *  fp,
char ,
int_t  ,
doublecomplex  
)

◆ LUstructFree()

void LUstructFree ( LUstruct_t )

◆ LUstructInit()

void LUstructInit ( const  int_t,
const  int_t,
LUstruct_t  
)

◆ PrintDoublecomplex()

void PrintDoublecomplex ( char ,
int_t  ,
doublecomplex  
)

◆ pxgstrs_finalize()

void pxgstrs_finalize ( pxgstrs_comm_t )

◆ pxgstrs_init()

int_t pxgstrs_init ( int_t  ,
int_t  ,
int_t  ,
int_t  ,
int_t  [],
int_t  [],
gridinfo_t grid,
Glu_persist_t ,
SOLVEstruct_t  
)

◆ pzCompRow_loc_to_CompCol_global()

int pzCompRow_loc_to_CompCol_global ( int_t  ,
SuperMatrix ,
gridinfo_t ,
SuperMatrix  
)

◆ pzdistribute()

float pzdistribute ( fact_t  ,
int_t  ,
SuperMatrix ,
ScalePermstruct_t ,
Glu_freeable_t ,
LUstruct_t ,
gridinfo_t  
)

◆ pzgsequ()

void pzgsequ ( SuperMatrix ,
double ,
double ,
double ,
double ,
double ,
int_t ,
gridinfo_t  
)

◆ pzgsmv()

void pzgsmv ( int_t  ,
SuperMatrix ,
gridinfo_t ,
pzgsmv_comm_t ,
doublecomplex  x[],
doublecomplex  ax[] 
)

◆ pzgsmv_AXglobal()

int pzgsmv_AXglobal ( int_t  ,
int_t  [],
doublecomplex  [],
int_t  [],
doublecomplex  [],
doublecomplex  [] 
)

◆ pzgsmv_AXglobal_abs()

int pzgsmv_AXglobal_abs ( int_t  ,
int_t  [],
doublecomplex  [],
int_t  [],
doublecomplex  [],
double  [] 
)

◆ pzgsmv_AXglobal_setup()

int pzgsmv_AXglobal_setup ( SuperMatrix ,
Glu_persist_t ,
gridinfo_t ,
int_t ,
int_t [],
doublecomplex [],
int_t [],
int_t  [] 
)

◆ pzgsmv_finalize()

void pzgsmv_finalize ( pzgsmv_comm_t )

◆ pzgsmv_init()

void pzgsmv_init ( SuperMatrix ,
int_t ,
gridinfo_t ,
pzgsmv_comm_t  
)

◆ pzgsrfs()

void pzgsrfs ( int_t  ,
SuperMatrix ,
double  ,
LUstruct_t ,
ScalePermstruct_t ,
gridinfo_t ,
doublecomplex  [],
int_t  ,
doublecomplex  [],
int_t  ,
int  ,
SOLVEstruct_t ,
double ,
SuperLUStat_t ,
int  
)

◆ pzgsrfs_ABXglobal()

void pzgsrfs_ABXglobal ( int_t  ,
SuperMatrix ,
double  ,
LUstruct_t ,
gridinfo_t ,
doublecomplex ,
int_t  ,
doublecomplex ,
int_t  ,
int  ,
double ,
SuperLUStat_t ,
int  
)

◆ pzgssvx()

void pzgssvx ( superlu_options_t ,
SuperMatrix ,
ScalePermstruct_t ,
doublecomplex ,
int  ,
int  ,
gridinfo_t ,
LUstruct_t ,
SOLVEstruct_t ,
double ,
SuperLUStat_t ,
int  
)

◆ pzgssvx_ABglobal()

void pzgssvx_ABglobal ( superlu_options_t ,
SuperMatrix ,
ScalePermstruct_t ,
doublecomplex ,
int  ,
int  ,
gridinfo_t ,
LUstruct_t ,
double ,
SuperLUStat_t ,
int  
)

◆ pzgstrf()

int_t pzgstrf ( superlu_options_t ,
int  ,
int  ,
double  ,
LUstruct_t ,
gridinfo_t ,
SuperLUStat_t ,
int  
)

◆ pzgstrs()

void pzgstrs ( int_t  ,
LUstruct_t ,
ScalePermstruct_t ,
gridinfo_t ,
doublecomplex ,
int_t  ,
int_t  ,
int_t  ,
int  ,
SOLVEstruct_t ,
SuperLUStat_t ,
int  
)

◆ pzgstrs_Bglobal()

void pzgstrs_Bglobal ( int_t  ,
LUstruct_t ,
gridinfo_t ,
doublecomplex ,
int_t  ,
int  ,
SuperLUStat_t ,
int  
)

◆ pzinf_norm_error()

void pzinf_norm_error ( int  ,
int_t  ,
int_t  ,
doublecomplex  [],
int_t  ,
doublecomplex  [],
int_t  ,
gridinfo_t  
)

◆ pzlangs()

double pzlangs ( char ,
SuperMatrix ,
gridinfo_t  
)

◆ pzlaqgs()

void pzlaqgs ( SuperMatrix ,
double ,
double ,
double  ,
double  ,
double  ,
char  
)

◆ pzPermute_Dense_Matrix()

int pzPermute_Dense_Matrix ( int_t  ,
int_t  ,
int_t  [],
int_t  [],
doublecomplex  [],
int  ,
doublecomplex  [],
int  ,
int  ,
gridinfo_t  
)

◆ sp_zgemm_dist()

int sp_zgemm_dist ( char ,
char ,
int  ,
int  ,
int  ,
doublecomplex  ,
SuperMatrix ,
doublecomplex ,
int  ,
doublecomplex  ,
doublecomplex ,
int   
)

◆ sp_zgemv_dist()

int sp_zgemv_dist ( char ,
doublecomplex  ,
SuperMatrix ,
doublecomplex ,
int  ,
doublecomplex  ,
doublecomplex ,
int   
)

◆ sp_ztrsv_dist()

int sp_ztrsv_dist ( char ,
char ,
char ,
SuperMatrix ,
SuperMatrix ,
doublecomplex ,
int  
)

◆ zallocateA_dist()

void zallocateA_dist ( int_t  ,
int_t  ,
doublecomplex **  ,
int_t **  ,
int_t **   
)

◆ zCompRow_to_CompCol_dist()

void zCompRow_to_CompCol_dist ( int_t  ,
int_t  ,
int_t  ,
doublecomplex ,
int_t ,
int_t ,
doublecomplex **  ,
int_t **  ,
int_t **   
)

◆ zCopy_CompCol_Matrix_dist()

void zCopy_CompCol_Matrix_dist ( SuperMatrix ,
SuperMatrix  
)

◆ zCopy_Dense_Matrix_dist()

void zCopy_Dense_Matrix_dist ( int_t  ,
int_t  ,
doublecomplex ,
int_t  ,
doublecomplex ,
int_t   
)

◆ zCreate_CompCol_Matrix_dist()

void zCreate_CompCol_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
int_t  ,
doublecomplex ,
int_t ,
int_t ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ zCreate_CompRowLoc_Matrix_dist()

void zCreate_CompRowLoc_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
int_t  ,
int_t  ,
int_t  ,
doublecomplex ,
int_t ,
int_t ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ zCreate_Dense_Matrix_dist()

void zCreate_Dense_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
doublecomplex ,
int_t  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ zcreate_matrix()

int zcreate_matrix ( SuperMatrix ,
int  ,
doublecomplex **  ,
int ,
doublecomplex **  ,
int ,
FILE *  ,
gridinfo_t  
)

◆ zCreate_SuperNode_Matrix_dist()

void zCreate_SuperNode_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
int_t  ,
doublecomplex ,
int_t ,
int_t ,
int_t ,
int_t ,
int_t ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ zdist_psymbtonum()

float zdist_psymbtonum ( fact_t  ,
int_t  ,
SuperMatrix ,
ScalePermstruct_t ,
Pslu_freeable_t ,
LUstruct_t ,
gridinfo_t  
)

◆ zdistribute()

float zdistribute ( fact_t  ,
int_t  ,
SuperMatrix ,
Glu_freeable_t ,
LUstruct_t ,
gridinfo_t  
)

◆ zfill_dist()

void zfill_dist ( doublecomplex ,
int_t  ,
doublecomplex   
)

◆ zFillRHS_dist()

void zFillRHS_dist ( char ,
int_t  ,
doublecomplex ,
int_t  ,
SuperMatrix ,
doublecomplex ,
int_t   
)

◆ zgemm_()

int zgemm_ ( char ,
char ,
int ,
int ,
int ,
doublecomplex ,
doublecomplex ,
int ,
doublecomplex ,
int ,
doublecomplex ,
doublecomplex ,
int  
)

◆ zGenXtrue_dist()

void zGenXtrue_dist ( int_t  ,
int_t  ,
doublecomplex ,
int_t   
)

◆ zger_()

int zger_ ( int ,
int ,
doublecomplex ,
doublecomplex ,
int ,
doublecomplex ,
int ,
doublecomplex ,
int  
)

◆ zgsequ_dist()

void zgsequ_dist ( SuperMatrix ,
double ,
double ,
double ,
double ,
double ,
int_t  
)

◆ zinf_norm_error_dist()

void zinf_norm_error_dist ( int_t  ,
int_t  ,
doublecomplex ,
int_t  ,
doublecomplex ,
int_t  ,
gridinfo_t  
)

◆ zlangs_dist()

double zlangs_dist ( char ,
SuperMatrix  
)

◆ zlaqgs_dist()

void zlaqgs_dist ( SuperMatrix ,
double ,
double ,
double  ,
double  ,
double  ,
char  
)

◆ zldperm()

void zldperm ( int_t  ,
int_t  ,
int_t  ,
int_t  [],
int_t  [],
doublecomplex  [],
int_t ,
double  [],
double  [] 
)

◆ zlsum_bmod()

void zlsum_bmod ( doublecomplex ,
doublecomplex ,
doublecomplex ,
int  ,
int_t  ,
int_t ,
int_t ,
Ucb_indptr_t **  ,
int_t **  ,
int_t ,
gridinfo_t ,
LocalLU_t ,
MPI_Request  [],
SuperLUStat_t  
)

◆ zlsum_fmod()

void zlsum_fmod ( doublecomplex ,
doublecomplex ,
doublecomplex ,
doublecomplex ,
int  ,
int  ,
int_t  ,
int_t ,
int_t  ,
int_t  ,
int_t  ,
int_t ,
gridinfo_t ,
LocalLU_t ,
MPI_Request  [],
SuperLUStat_t  
)

◆ zPrint_CompCol_Matrix_dist()

void zPrint_CompCol_Matrix_dist ( SuperMatrix )

◆ zPrint_CompRowLoc_Matrix_dist()

int zPrint_CompRowLoc_Matrix_dist ( SuperMatrix )

◆ zPrint_Dense_Matrix_dist()

void zPrint_Dense_Matrix_dist ( SuperMatrix )

◆ zPrintLblocks()

void zPrintLblocks ( int_t  ,
int_t  ,
gridinfo_t ,
Glu_persist_t ,
LocalLU_t  
)

◆ zPrintUblocks()

void zPrintUblocks ( int_t  ,
int_t  ,
gridinfo_t ,
Glu_persist_t ,
LocalLU_t  
)

◆ zQuerySpace_dist()

int_t zQuerySpace_dist ( int_t  ,
LUstruct_t ,
gridinfo_t ,
mem_usage_t  
)

◆ zreadhb_dist()

void zreadhb_dist ( int  ,
FILE *  ,
int_t ,
int_t ,
int_t ,
doublecomplex **  ,
int_t **  ,
int_t **   
)

◆ zSolveFinalize()

void zSolveFinalize ( superlu_options_t ,
SOLVEstruct_t  
)

◆ zSolveInit()

int zSolveInit ( superlu_options_t ,
SuperMatrix ,
int_t  [],
int_t  [],
int_t  ,
LUstruct_t ,
gridinfo_t ,
SOLVEstruct_t  
)

◆ ztrsv_()

int ztrsv_ ( char ,
char ,
char ,
int ,
doublecomplex ,
int ,
doublecomplex ,
int  
)