superlu_ddefs.h File Reference

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

#include "superlu_defs.h"

Go to the source code of this file.

Classes

struct  Ucb_indptr_t
 
struct  LocalLU_t
 
struct  LUstruct_t
 
struct  pdgsmv_comm_t
 
struct  pxgstrs_comm_t
 
struct  SOLVEstruct_t
 

Macros

#define MAX_LOOKAHEADS   50
 

Functions

void dCreate_CompCol_Matrix_dist (SuperMatrix *, int_t, int_t, int_t, double *, int_t *, int_t *, Stype_t, Dtype_t, Mtype_t)
 
void dCreate_CompRowLoc_Matrix_dist (SuperMatrix *, int_t, int_t, int_t, int_t, int_t, double *, int_t *, int_t *, Stype_t, Dtype_t, Mtype_t)
 
void dCompRow_to_CompCol_dist (int_t, int_t, int_t, double *, int_t *, int_t *, double **, int_t **, int_t **)
 
int pdCompRow_loc_to_CompCol_global (int_t, SuperMatrix *, gridinfo_t *, SuperMatrix *)
 
void dCopy_CompCol_Matrix_dist (SuperMatrix *, SuperMatrix *)
 
void dCreate_Dense_Matrix_dist (SuperMatrix *, int_t, int_t, double *, int_t, Stype_t, Dtype_t, Mtype_t)
 
void dCreate_SuperNode_Matrix_dist (SuperMatrix *, int_t, int_t, int_t, double *, int_t *, int_t *, int_t *, int_t *, int_t *, Stype_t, Dtype_t, Mtype_t)
 
void dCopy_Dense_Matrix_dist (int_t, int_t, double *, int_t, double *, int_t)
 
void dallocateA_dist (int_t, int_t, double **, int_t **, int_t **)
 
void dGenXtrue_dist (int_t, int_t, double *, int_t)
 
void dFillRHS_dist (char *, int_t, double *, int_t, SuperMatrix *, double *, int_t)
 
int dcreate_matrix (SuperMatrix *, int, double **, int *, double **, int *, FILE *, gridinfo_t *)
 
void dgsequ_dist (SuperMatrix *, double *, double *, double *, double *, double *, int_t *)
 
double dlangs_dist (char *, SuperMatrix *)
 
void dlaqgs_dist (SuperMatrix *, double *, double *, double, double, double, char *)
 
void pdgsequ (SuperMatrix *, double *, double *, double *, double *, double *, int_t *, gridinfo_t *)
 
double pdlangs (char *, SuperMatrix *, gridinfo_t *)
 
void pdlaqgs (SuperMatrix *, double *, double *, double, double, double, char *)
 
int pdPermute_Dense_Matrix (int_t, int_t, int_t[], int_t[], double[], int, double[], int, int, gridinfo_t *)
 
int sp_dtrsv_dist (char *, char *, char *, SuperMatrix *, SuperMatrix *, double *, int *)
 
int sp_dgemv_dist (char *, double, SuperMatrix *, double *, int, double, double *, int)
 
int sp_dgemm_dist (char *, char *, int, int, int, double, SuperMatrix *, double *, int, double, double *, int)
 
float ddistribute (fact_t, int_t, SuperMatrix *, Glu_freeable_t *, LUstruct_t *, gridinfo_t *)
 
void pdgssvx_ABglobal (superlu_options_t *, SuperMatrix *, ScalePermstruct_t *, double *, int, int, gridinfo_t *, LUstruct_t *, double *, SuperLUStat_t *, int *)
 
float pddistribute (fact_t, int_t, SuperMatrix *, ScalePermstruct_t *, Glu_freeable_t *, LUstruct_t *, gridinfo_t *)
 
void pdgssvx (superlu_options_t *, SuperMatrix *, ScalePermstruct_t *, double *, int, int, gridinfo_t *, LUstruct_t *, SOLVEstruct_t *, double *, SuperLUStat_t *, int *)
 
int dSolveInit (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 dSolveFinalize (superlu_options_t *, SOLVEstruct_t *)
 
void dldperm (int_t, int_t, int_t, int_t[], int_t[], double[], int_t *, double[], double[])
 
int_t pdgstrf (superlu_options_t *, int, int, double, LUstruct_t *, gridinfo_t *, SuperLUStat_t *, int *)
 
void pdgstrs_Bglobal (int_t, LUstruct_t *, gridinfo_t *, double *, int_t, int, SuperLUStat_t *, int *)
 
void pdgstrs (int_t, LUstruct_t *, ScalePermstruct_t *, gridinfo_t *, double *, int_t, int_t, int_t, int, SOLVEstruct_t *, SuperLUStat_t *, int *)
 
void dlsum_fmod (double *, double *, double *, double *, int, int, int_t, int_t *, int_t, int_t, int_t, int_t *, gridinfo_t *, LocalLU_t *, MPI_Request[], SuperLUStat_t *)
 
void dlsum_bmod (double *, double *, double *, int, int_t, int_t *, int_t *, Ucb_indptr_t **, int_t **, int_t *, gridinfo_t *, LocalLU_t *, MPI_Request[], SuperLUStat_t *)
 
void pdgsrfs (int_t, SuperMatrix *, double, LUstruct_t *, ScalePermstruct_t *, gridinfo_t *, double[], int_t, double[], int_t, int, SOLVEstruct_t *, double *, SuperLUStat_t *, int *)
 
void pdgsrfs_ABXglobal (int_t, SuperMatrix *, double, LUstruct_t *, gridinfo_t *, double *, int_t, double *, int_t, int, double *, SuperLUStat_t *, int *)
 
int pdgsmv_AXglobal_setup (SuperMatrix *, Glu_persist_t *, gridinfo_t *, int_t *, int_t *[], double *[], int_t *[], int_t[])
 
int pdgsmv_AXglobal (int_t, int_t[], double[], int_t[], double[], double[])
 
int pdgsmv_AXglobal_abs (int_t, int_t[], double[], int_t[], double[], double[])
 
void pdgsmv_init (SuperMatrix *, int_t *, gridinfo_t *, pdgsmv_comm_t *)
 
void pdgsmv (int_t, SuperMatrix *, gridinfo_t *, pdgsmv_comm_t *, double x[], double ax[])
 
void pdgsmv_finalize (pdgsmv_comm_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 dQuerySpace_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 dfill_dist (double *, int_t, double)
 
void dinf_norm_error_dist (int_t, int_t, double *, int_t, double *, int_t, gridinfo_t *)
 
void pdinf_norm_error (int, int_t, int_t, double[], int_t, double[], int_t, gridinfo_t *)
 
void dreadhb_dist (int, FILE *, int_t *, int_t *, int_t *, double **, int_t **, int_t **)
 
float ddist_psymbtonum (fact_t, int_t, SuperMatrix *, ScalePermstruct_t *, Pslu_freeable_t *, LUstruct_t *, gridinfo_t *)
 
void dPrintLblocks (int_t, int_t, gridinfo_t *, Glu_persist_t *, LocalLU_t *)
 
void dPrintUblocks (int_t, int_t, gridinfo_t *, Glu_persist_t *, LocalLU_t *)
 
void dPrint_CompCol_Matrix_dist (SuperMatrix *)
 
void dPrint_Dense_Matrix_dist (SuperMatrix *)
 
int dPrint_CompRowLoc_Matrix_dist (SuperMatrix *)
 
int file_PrintDouble5 (FILE *, char *, int_t, double *)
 
int dgemm_ (char *, char *, int *, int *, int *, double *, double *, int *, double *, int *, double *, double *, int *)
 
int dtrsv_ (char *, char *, char *, int *, double *, int *, double *, int *)
 
int dger_ (int *, int *, double *, double *, int *, double *, int *, double *, 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

◆ dallocateA_dist()

void dallocateA_dist ( int_t  ,
int_t  ,
double **  ,
int_t **  ,
int_t **   
)

◆ dCompRow_to_CompCol_dist()

void dCompRow_to_CompCol_dist ( int_t  ,
int_t  ,
int_t  ,
double ,
int_t ,
int_t ,
double **  ,
int_t **  ,
int_t **   
)

◆ dCopy_CompCol_Matrix_dist()

void dCopy_CompCol_Matrix_dist ( SuperMatrix ,
SuperMatrix  
)

◆ dCopy_Dense_Matrix_dist()

void dCopy_Dense_Matrix_dist ( int_t  ,
int_t  ,
double ,
int_t  ,
double ,
int_t   
)

◆ dCreate_CompCol_Matrix_dist()

void dCreate_CompCol_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
int_t  ,
double ,
int_t ,
int_t ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ dCreate_CompRowLoc_Matrix_dist()

void dCreate_CompRowLoc_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
int_t  ,
int_t  ,
int_t  ,
double ,
int_t ,
int_t ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ dCreate_Dense_Matrix_dist()

void dCreate_Dense_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
double ,
int_t  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ dcreate_matrix()

int dcreate_matrix ( SuperMatrix ,
int  ,
double **  ,
int ,
double **  ,
int ,
FILE *  ,
gridinfo_t  
)

◆ dCreate_SuperNode_Matrix_dist()

void dCreate_SuperNode_Matrix_dist ( SuperMatrix ,
int_t  ,
int_t  ,
int_t  ,
double ,
int_t ,
int_t ,
int_t ,
int_t ,
int_t ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ ddist_psymbtonum()

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

◆ ddistribute()

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

◆ Destroy_LU()

void Destroy_LU ( int_t  ,
gridinfo_t ,
LUstruct_t  
)

◆ dfill_dist()

void dfill_dist ( double ,
int_t  ,
double   
)

◆ dFillRHS_dist()

void dFillRHS_dist ( char ,
int_t  ,
double ,
int_t  ,
SuperMatrix ,
double ,
int_t   
)

◆ dgemm_()

int dgemm_ ( char ,
char ,
int ,
int ,
int ,
double ,
double ,
int ,
double ,
int ,
double ,
double ,
int  
)

◆ dGenXtrue_dist()

void dGenXtrue_dist ( int_t  ,
int_t  ,
double ,
int_t   
)

◆ dger_()

int dger_ ( int ,
int ,
double ,
double ,
int ,
double ,
int ,
double ,
int  
)

◆ dgsequ_dist()

void dgsequ_dist ( SuperMatrix ,
double ,
double ,
double ,
double ,
double ,
int_t  
)

◆ dinf_norm_error_dist()

void dinf_norm_error_dist ( int_t  ,
int_t  ,
double ,
int_t  ,
double ,
int_t  ,
gridinfo_t  
)

◆ dlangs_dist()

double dlangs_dist ( char ,
SuperMatrix  
)

◆ dlaqgs_dist()

void dlaqgs_dist ( SuperMatrix ,
double ,
double ,
double  ,
double  ,
double  ,
char  
)

◆ dldperm()

void dldperm ( int_t  ,
int_t  ,
int_t  ,
int_t  [],
int_t  [],
double  [],
int_t ,
double  [],
double  [] 
)

◆ dlsum_bmod()

void dlsum_bmod ( double ,
double ,
double ,
int  ,
int_t  ,
int_t ,
int_t ,
Ucb_indptr_t **  ,
int_t **  ,
int_t ,
gridinfo_t ,
LocalLU_t ,
MPI_Request  [],
SuperLUStat_t  
)

◆ dlsum_fmod()

void dlsum_fmod ( double ,
double ,
double ,
double ,
int  ,
int  ,
int_t  ,
int_t ,
int_t  ,
int_t  ,
int_t  ,
int_t ,
gridinfo_t ,
LocalLU_t ,
MPI_Request  [],
SuperLUStat_t  
)

◆ doubleCalloc_dist()

double* doubleCalloc_dist ( int_t  )

◆ doubleMalloc_dist()

double* doubleMalloc_dist ( int_t  )

◆ dPrint_CompCol_Matrix_dist()

void dPrint_CompCol_Matrix_dist ( SuperMatrix )

◆ dPrint_CompRowLoc_Matrix_dist()

int dPrint_CompRowLoc_Matrix_dist ( SuperMatrix )

◆ dPrint_Dense_Matrix_dist()

void dPrint_Dense_Matrix_dist ( SuperMatrix )

◆ dPrintLblocks()

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

◆ dPrintUblocks()

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

◆ dQuerySpace_dist()

int_t dQuerySpace_dist ( int_t  ,
LUstruct_t ,
gridinfo_t ,
mem_usage_t  
)

◆ dreadhb_dist()

void dreadhb_dist ( int  ,
FILE *  ,
int_t ,
int_t ,
int_t ,
double **  ,
int_t **  ,
int_t **   
)

◆ dSolveFinalize()

void dSolveFinalize ( superlu_options_t ,
SOLVEstruct_t  
)

◆ dSolveInit()

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

◆ dtrsv_()

int dtrsv_ ( char ,
char ,
char ,
int ,
double ,
int ,
double ,
int  
)

◆ duser_free_dist()

void duser_free_dist ( int_t  ,
int_t   
)

◆ duser_malloc_dist()

void* duser_malloc_dist ( int_t  ,
int_t   
)

◆ file_PrintDouble5()

int file_PrintDouble5 ( FILE *  ,
char ,
int_t  ,
double  
)

◆ LUstructFree()

void LUstructFree ( LUstruct_t )

◆ LUstructInit()

void LUstructInit ( const  int_t,
const  int_t,
LUstruct_t  
)

◆ pdCompRow_loc_to_CompCol_global()

int pdCompRow_loc_to_CompCol_global ( int_t  ,
SuperMatrix ,
gridinfo_t ,
SuperMatrix  
)

◆ pddistribute()

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

◆ pdgsequ()

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

◆ pdgsmv()

void pdgsmv ( int_t  ,
SuperMatrix ,
gridinfo_t ,
pdgsmv_comm_t ,
double  x[],
double  ax[] 
)

◆ pdgsmv_AXglobal()

int pdgsmv_AXglobal ( int_t  ,
int_t  [],
double  [],
int_t  [],
double  [],
double  [] 
)

◆ pdgsmv_AXglobal_abs()

int pdgsmv_AXglobal_abs ( int_t  ,
int_t  [],
double  [],
int_t  [],
double  [],
double  [] 
)

◆ pdgsmv_AXglobal_setup()

int pdgsmv_AXglobal_setup ( SuperMatrix ,
Glu_persist_t ,
gridinfo_t ,
int_t ,
int_t [],
double [],
int_t [],
int_t  [] 
)

◆ pdgsmv_finalize()

void pdgsmv_finalize ( pdgsmv_comm_t )

◆ pdgsmv_init()

void pdgsmv_init ( SuperMatrix ,
int_t ,
gridinfo_t ,
pdgsmv_comm_t  
)

◆ pdgsrfs()

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

◆ pdgsrfs_ABXglobal()

void pdgsrfs_ABXglobal ( int_t  ,
SuperMatrix ,
double  ,
LUstruct_t ,
gridinfo_t ,
double ,
int_t  ,
double ,
int_t  ,
int  ,
double ,
SuperLUStat_t ,
int  
)

◆ pdgssvx()

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

◆ pdgssvx_ABglobal()

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

◆ pdgstrf()

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

◆ pdgstrs()

void pdgstrs ( int_t  ,
LUstruct_t ,
ScalePermstruct_t ,
gridinfo_t ,
double ,
int_t  ,
int_t  ,
int_t  ,
int  ,
SOLVEstruct_t ,
SuperLUStat_t ,
int  
)

◆ pdgstrs_Bglobal()

void pdgstrs_Bglobal ( int_t  ,
LUstruct_t ,
gridinfo_t ,
double ,
int_t  ,
int  ,
SuperLUStat_t ,
int  
)

◆ pdinf_norm_error()

void pdinf_norm_error ( int  ,
int_t  ,
int_t  ,
double  [],
int_t  ,
double  [],
int_t  ,
gridinfo_t  
)

◆ pdlangs()

double pdlangs ( char ,
SuperMatrix ,
gridinfo_t  
)

◆ pdlaqgs()

void pdlaqgs ( SuperMatrix ,
double ,
double ,
double  ,
double  ,
double  ,
char  
)

◆ pdPermute_Dense_Matrix()

int pdPermute_Dense_Matrix ( int_t  ,
int_t  ,
int_t  [],
int_t  [],
double  [],
int  ,
double  [],
int  ,
int  ,
gridinfo_t  
)

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

◆ sp_dgemm_dist()

int sp_dgemm_dist ( char ,
char ,
int  ,
int  ,
int  ,
double  ,
SuperMatrix ,
double ,
int  ,
double  ,
double ,
int   
)

◆ sp_dgemv_dist()

int sp_dgemv_dist ( char ,
double  ,
SuperMatrix ,
double ,
int  ,
double  ,
double ,
int   
)

◆ sp_dtrsv_dist()

int sp_dtrsv_dist ( char ,
char ,
char ,
SuperMatrix ,
SuperMatrix ,
double ,
int  
)