15 #ifndef __SUPERLU_dSP_DEFS
16 #define __SUPERLU_dSP_DEFS
27 #include "tbci/superlu/Cnames.h"
28 #include "tbci/superlu/supermatrix.h"
34 #define NUM_TEMPV(m,w,t,b) ( MAX(m, (t + b)*w) )
132 int *,
int *,
int *,
char *,
double *,
double *,
148 int *,
int *,
int *,
int *,
int *,
159 extern void dallocateA (
int,
int,
double **,
int **,
int **);
164 extern int sp_coletree (
int *,
int *,
int *,
int,
int,
int *);
166 void *,
int,
int *,
int *,
168 extern void relax_snode (
int,
int *,
int,
int *,
int *);
169 extern int dsnode_dfs (
const int,
const int,
const int *,
const int *,
171 extern int dsnode_bmod (
const int,
const int,
const int,
double *,
174 int *,
int *,
double *,
int *,
int *,
int *,
176 extern void dpanel_bmod (
const int,
const int,
const int,
const int,
177 double *,
double *,
int *,
int *,
179 extern int dcolumn_dfs (
const int,
const int,
int *,
int *,
int *,
int *,
180 int *,
int *,
int *,
int *,
int *,
GlobalLU_t *);
181 extern int dcolumn_bmod (
const int,
const int,
double *,
185 extern int dpivotL (
const int,
const double,
int *,
int *,
187 extern void dpruneL (
const int,
const int *,
const int,
const int,
188 const int *,
const int *,
int *,
GlobalLU_t *);
189 extern void resetrep_col (
const int,
const int *,
int *);
192 extern int spcoletree (
int *,
int *,
int *,
int,
int,
int *);
194 extern void dreadmt (
int *,
int *,
int *,
double **,
int **,
int **);
195 extern void dGenXtrue (
int,
int,
double *,
int);
205 double *,
double *,
int *);
207 double,
double,
char *);
209 double,
double *,
int *);
215 double *,
double *,
int *);
220 int,
double,
double *,
int);
222 extern int sp_dgemm (
char *,
char *,
int,
int,
int,
double,
230 extern int dLUMemInit (
char *,
void *,
int,
int,
int,
int,
int,
233 extern void SetIWork (
int,
int,
int,
int *,
int **,
int **,
int **,
234 int **,
int **,
int **,
int **);
235 extern void dSetRWork (
int,
int,
double *,
double **,
double **);
250 double **,
int **,
int **);
253 extern int lsame_ (
char *,
char *);
254 extern int xerbla_ (
char *,
int *);
255 extern void ifill (
int *,
int,
int);
256 extern void dfill (
double *,
int,
double);
260 extern void PrintSumm (
char *,
int,
int,
int);
262 double,
double,
double *,
double *,
char *);
void super_stats(int, int *)
void Destroy_CompCol_Permuted(SuperMatrix *)
void Destroy_SuperMatrix_Store(SuperMatrix *)
void print_lu_col(char *, int, int, int *, GlobalLU_t *)
int sp_dgemm(char *, char *, int, int, int, double, SuperMatrix *, double *, int, double, double *, int)
void sp_preorder(char *, SuperMatrix *, int *, int *, SuperMatrix *)
void SetIWork(int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
void dFillRHS(char *, int, double *, int, SuperMatrix *, SuperMatrix *)
int * TreePostorder(int, int *)
int sp_dgemv(char *, double, SuperMatrix *, double *, int, double, double *, int)
void check_repfnz(int, int, int, int *)
int dpivotL(const int, const double, int *, int *, int *, int *, int *, GlobalLU_t *)
void dCopy_CompCol_Matrix(SuperMatrix *, SuperMatrix *)
int dLUMemXpand(int, int, MemType, int *, GlobalLU_t *)
void Destroy_Dense_Matrix(SuperMatrix *)
void countnz(const int, int *, int *, int *, GlobalLU_t *)
void dgstrf(char *, SuperMatrix *, double, double, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
void dCopy_Dense_Matrix(int, int, double *, int, double *, int)
void check_tempv(int, complex *)
int dcolumn_dfs(const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
int spcoletree(int *, int *, int *, int, int, int *)
void PrintPerf(SuperMatrix *, SuperMatrix *, mem_usage_t *, complex, complex, complex *, complex *, char *)
void dgssv(SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
void dLUWorkFree(int *, double *, GlobalLU_t *)
void dCreate_CompCol_Matrix(SuperMatrix *, int, int, int, double *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void dCompRow_to_CompCol(int, int, int, double *, int *, int *, double **, int **, int **)
void dgscon(char *, SuperMatrix *, SuperMatrix *, double, double *, int *)
void dpruneL(const int, const int *, const int, const int, const int *, const int *, int *, GlobalLU_t *)
void dPrint_Dense_Matrix(char *, SuperMatrix *)
void dCreate_Dense_Matrix(SuperMatrix *, int, int, double *, int, Stype_t, Dtype_t, Mtype_t)
void dPrint_CompCol_Matrix(char *, SuperMatrix *)
void dallocateA(int, int, double **, int **, int **)
void dCreate_SuperNode_Matrix(SuperMatrix *, int, int, int, double *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void Destroy_CompCol_Matrix(SuperMatrix *)
void fixupL(const int, const int *, GlobalLU_t *)
int sp_coletree(int *, int *, int *, int, int, int *)
void * superlu_malloc(int)
double dPivotGrowth(int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
void PrintSumm(char *, int, int, int)
void get_perm_c(int, SuperMatrix *, int *)
void dfill(double *, int, double)
void Destroy_SuperNode_Matrix(SuperMatrix *)
int dLUMemInit(char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, double **)
void dreadmt(int *, int *, int *, double **, int **, int **)
void ifill(int *, int, int)
int dsnode_bmod(const int, const int, const int, double *, double *, GlobalLU_t *)
void relax_snode(int, int *, int, int *, int *)
int sp_dtrsv(char *, char *, char *, SuperMatrix *, SuperMatrix *, double *, int *)
void dGenXtrue(int, int, double *, int)
int dQuerySpace(SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
int dcopy_to_ucol(int, int, int *, int *, int *, double *, GlobalLU_t *)
void dPrint_SuperNode_Matrix(char *, SuperMatrix *)
double * doubleCalloc(int)
int xerbla_(char *, int *)
void snode_profile(int, int *)
void superlu_abort_and_exit(char *)
int dsnode_dfs(const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
void print_panel_seg(int, int, int, int, int *, int *)
void dlaqgs(SuperMatrix *, double *, double *, double, double, double, char *)
void dgsequ(SuperMatrix *, double *, double *, double *, double *, double *, int *)
void inf_norm_error(int, SuperMatrix *, complex *)
void superlu_free(void *)
void dgsrfs(char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, double *, double *, SuperMatrix *, SuperMatrix *, double *, double *, int *)
void dpanel_bmod(const int, const int, const int, const int, double *, double *, int *, int *, GlobalLU_t *)
void dgssvx(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 dpanel_dfs(const int, const int, const int, SuperMatrix *, int *, int *, double *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
int lsame_(char *, char *)
void dgstrs(char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
int dcolumn_bmod(const int, const int, double *, double *, int *, int *, int, GlobalLU_t *)
double * doubleMalloc(int)
void dSetRWork(int, int, double *, double **, double **)
void resetrep_col(const int, const int *, int *)