15 #ifndef __SUPERLU_zSP_DEFS
16 #define __SUPERLU_zSP_DEFS
27 #include "tbci/superlu/Cnames.h"
28 #include "tbci/superlu/supermatrix.h"
29 #include "tbci/superlu/dcomplex.h"
35 #define NUM_TEMPV(m,w,t,b) ( MAX(m, (t + b)*w) )
113 double diag_pivot_thresh;
133 int *,
int *,
int *,
char *,
double *,
double *,
149 int *,
int *,
int *,
int *,
int *,
165 extern int sp_coletree (
int *,
int *,
int *,
int,
int,
int *);
167 void *,
int,
int *,
int *,
169 extern void relax_snode (
int,
int *,
int,
int *,
int *);
170 extern int zsnode_dfs (
const int,
const int,
const int *,
const int *,
177 extern void zpanel_bmod (
const int,
const int,
const int,
const int,
180 extern int zcolumn_dfs (
const int,
const int,
int *,
int *,
int *,
int *,
181 int *,
int *,
int *,
int *,
int *,
GlobalLU_t *);
186 extern int zpivotL (
const int,
const double,
int *,
int *,
188 extern void zpruneL (
const int,
const int *,
const int,
const int,
189 const int *,
const int *,
int *,
GlobalLU_t *);
190 extern void resetrep_col (
const int,
const int *,
int *);
193 extern int spcoletree (
int *,
int *,
int *,
int,
int,
int *);
206 double *,
double *,
int *);
208 double,
double,
char *);
210 double,
double *,
int *);
216 double *,
double *,
int *);
231 extern int zLUMemInit (
char *,
void *,
int,
int,
int,
int,
int,
234 extern void SetIWork (
int,
int,
int,
int *,
int **,
int **,
int **,
235 int **,
int **,
int **,
int **);
256 extern int lsame_ (
char *,
char *);
257 extern int xerbla_ (
char *,
int *);
258 extern void ifill (
int *,
int,
int);
263 extern void PrintSumm (
char *,
int,
int,
int);
void super_stats(int, int *)
void Destroy_CompCol_Permuted(SuperMatrix *)
void zGenXtrue(int, int, doublecomplex *, int)
void Destroy_SuperMatrix_Store(SuperMatrix *)
void print_lu_col(char *, int, int, int *, GlobalLU_t *)
void zCreate_Dense_Matrix(SuperMatrix *, int, int, doublecomplex *, int, Stype_t, Dtype_t, Mtype_t)
void zgsrfs(char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, double *, double *, SuperMatrix *, SuperMatrix *, double *, double *, int *)
void zgssvx(char *, char *, char *, SuperMatrix *, factor_param_t *, int *, int *, int *, char *, double *, double *, SuperMatrix *, SuperMatrix *, void *, int, SuperMatrix *, SuperMatrix *, double *, double *, double *, double *, mem_usage_t *, int *)
void zallocateA(int, int, doublecomplex **, int **, int **)
void zPrint_SuperNode_Matrix(char *, SuperMatrix *)
void sp_preorder(char *, SuperMatrix *, int *, int *, SuperMatrix *)
void SetIWork(int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
void zfill(doublecomplex *, int, doublecomplex)
int * TreePostorder(int, int *)
void check_repfnz(int, int, int, int *)
double zPivotGrowth(int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
doublecomplex * doublecomplexMalloc(int)
void Destroy_Dense_Matrix(SuperMatrix *)
void countnz(const int, int *, int *, int *, GlobalLU_t *)
void zgssv(SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
void zpanel_dfs(const int, const int, const int, SuperMatrix *, int *, int *, doublecomplex *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
void zCompRow_to_CompCol(int, int, int, doublecomplex *, int *, int *, doublecomplex **, int **, int **)
int sp_zgemv(char *, doublecomplex, SuperMatrix *, doublecomplex *, int, doublecomplex, doublecomplex *, int)
void zCreate_CompCol_Matrix(SuperMatrix *, int, int, int, doublecomplex *, int *, int *, Stype_t, Dtype_t, Mtype_t)
int zsnode_bmod(const int, const int, const int, doublecomplex *, doublecomplex *, GlobalLU_t *)
int zLUMemInit(char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, doublecomplex **)
void check_tempv(int, complex *)
int spcoletree(int *, int *, int *, int, int, int *)
void PrintPerf(SuperMatrix *, SuperMatrix *, mem_usage_t *, complex, complex, complex *, complex *, char *)
void zPrint_CompCol_Matrix(char *, SuperMatrix *)
void zgscon(char *, SuperMatrix *, SuperMatrix *, double, double *, int *)
void zSetRWork(int, int, doublecomplex *, doublecomplex **, doublecomplex **)
int zLUMemXpand(int, int, MemType, int *, GlobalLU_t *)
void Destroy_CompCol_Matrix(SuperMatrix *)
void zCopy_CompCol_Matrix(SuperMatrix *, SuperMatrix *)
void fixupL(const int, const int *, GlobalLU_t *)
int sp_coletree(int *, int *, int *, int, int, int *)
void * superlu_malloc(int)
int sp_ztrsv(char *, char *, char *, SuperMatrix *, SuperMatrix *, doublecomplex *, int *)
void PrintSumm(char *, int, int, int)
void get_perm_c(int, SuperMatrix *, int *)
void zCreate_SuperNode_Matrix(SuperMatrix *, int, int, int, doublecomplex *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void Destroy_SuperNode_Matrix(SuperMatrix *)
void ifill(int *, int, int)
void zgstrs(char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
void zLUWorkFree(int *, doublecomplex *, GlobalLU_t *)
void zpruneL(const int, const int *, const int, const int, const int *, const int *, int *, GlobalLU_t *)
void zreadmt(int *, int *, int *, doublecomplex **, int **, int **)
void relax_snode(int, int *, int, int *, int *)
void zgstrf(char *, SuperMatrix *, double, double, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
void zCopy_Dense_Matrix(int, int, doublecomplex *, int, doublecomplex *, int)
int sp_zgemm(char *, char *, int, int, int, doublecomplex, SuperMatrix *, doublecomplex *, int, doublecomplex, doublecomplex *, int)
void zlaqgs(SuperMatrix *, double *, double *, double, double, double, char *)
double * doubleCalloc(int)
int xerbla_(char *, int *)
void zpanel_bmod(const int, const int, const int, const int, doublecomplex *, doublecomplex *, int *, int *, GlobalLU_t *)
void snode_profile(int, int *)
void superlu_abort_and_exit(char *)
void print_panel_seg(int, int, int, int, int *, int *)
int zcolumn_dfs(const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
void zPrint_Dense_Matrix(char *, SuperMatrix *)
int zQuerySpace(SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
void zgsequ(SuperMatrix *, double *, double *, double *, double *, double *, int *)
int zpivotL(const int, const double, int *, int *, int *, int *, int *, GlobalLU_t *)
void inf_norm_error(int, SuperMatrix *, complex *)
void superlu_free(void *)
int zsnode_dfs(const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
doublecomplex * doublecomplexCalloc(int)
int lsame_(char *, char *)
void zFillRHS(char *, int, doublecomplex *, int, SuperMatrix *, SuperMatrix *)
double * doubleMalloc(int)
int zcopy_to_ucol(int, int, int *, int *, int *, doublecomplex *, GlobalLU_t *)
void resetrep_col(const int, const int *, int *)
int zcolumn_bmod(const int, const int, doublecomplex *, doublecomplex *, int *, int *, int, GlobalLU_t *)