15 #ifndef __SUPERLU_sSP_DEFS
16 #define __SUPERLU_sSP_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) )
112 float diag_pivot_thresh;
132 int *,
int *,
int *,
char *,
float *,
float *,
148 int *,
int *,
int *,
int *,
int *,
159 extern void sallocateA (
int,
int,
float **,
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 ssnode_dfs (
const int,
const int,
const int *,
const int *,
171 extern int ssnode_bmod (
const int,
const int,
const int,
float *,
174 int *,
int *,
float *,
int *,
int *,
int *,
176 extern void spanel_bmod (
const int,
const int,
const int,
const int,
177 float *,
float *,
int *,
int *,
179 extern int scolumn_dfs (
const int,
const int,
int *,
int *,
int *,
int *,
180 int *,
int *,
int *,
int *,
int *,
GlobalLU_t *);
185 extern int spivotL (
const int,
const float,
int *,
int *,
187 extern void spruneL (
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 sreadmt (
int *,
int *,
int *,
float **,
int **,
int **);
195 extern void sGenXtrue (
int,
int,
float *,
int);
205 float *,
float *,
int *);
207 float,
float,
char *);
209 float,
float *,
int *);
220 int,
float,
float *,
int);
222 extern int sp_sgemm (
char *,
char *,
int,
int,
int,
float,
230 extern int sLUMemInit (
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 sSetRWork (
int,
int,
float *,
float **,
float **);
250 float **,
int **,
int **);
253 extern int lsame_ (
char *,
char *);
254 extern int xerbla_ (
char *,
int *);
255 extern void ifill (
int *,
int,
int);
256 extern void sfill (
float *,
int,
float);
260 extern void PrintSumm (
char *,
int,
int,
int);
262 float,
float,
float *,
float *,
char *);
void sgsrfs(char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, float *, float *, int *)
void sSetRWork(int, int, float *, float **, float **)
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_sgemm(char *, char *, int, int, int, float, SuperMatrix *, float *, int, float, float *, int)
void sp_preorder(char *, SuperMatrix *, int *, int *, SuperMatrix *)
void SetIWork(int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
void sPrint_Dense_Matrix(char *, SuperMatrix *)
void sgstrs(char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
int sQuerySpace(SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
int * TreePostorder(int, int *)
void check_repfnz(int, int, int, int *)
int spivotL(const int, const float, int *, int *, int *, int *, int *, GlobalLU_t *)
void Destroy_Dense_Matrix(SuperMatrix *)
void countnz(const int, int *, int *, int *, GlobalLU_t *)
void sgssv(SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
void sgscon(char *, SuperMatrix *, SuperMatrix *, float, float *, int *)
void sgsequ(SuperMatrix *, float *, float *, float *, float *, float *, int *)
void sGenXtrue(int, int, float *, int)
void sgstrf(char *, SuperMatrix *, float, float, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
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 *)
int scolumn_bmod(const int, const int, float *, float *, int *, int *, int, GlobalLU_t *)
void sallocateA(int, int, float **, int **, int **)
void sPrint_CompCol_Matrix(char *, SuperMatrix *)
void spanel_dfs(const int, const int, const int, SuperMatrix *, int *, int *, float *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
void slaqgs(SuperMatrix *, float *, float *, float, float, float, char *)
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)
void sCreate_SuperNode_Matrix(SuperMatrix *, int, int, int, float *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void sgssvx(char *, char *, char *, SuperMatrix *, factor_param_t *, int *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, void *, int, SuperMatrix *, SuperMatrix *, float *, float *, float *, float *, mem_usage_t *, int *)
void PrintSumm(char *, int, int, int)
void get_perm_c(int, SuperMatrix *, int *)
int sp_strsv(char *, char *, char *, SuperMatrix *, SuperMatrix *, float *, int *)
void Destroy_SuperNode_Matrix(SuperMatrix *)
void ifill(int *, int, int)
void sCopy_CompCol_Matrix(SuperMatrix *, SuperMatrix *)
int sp_sgemv(char *, float, SuperMatrix *, float *, int, float, float *, int)
void spruneL(const int, const int *, const int, const int, const int *, const int *, int *, GlobalLU_t *)
void spanel_bmod(const int, const int, const int, const int, float *, float *, int *, int *, GlobalLU_t *)
int sLUMemXpand(int, int, MemType, int *, GlobalLU_t *)
void relax_snode(int, int *, int, int *, int *)
int scolumn_dfs(const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
void sCreate_CompCol_Matrix(SuperMatrix *, int, int, int, float *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void sreadmt(int *, int *, int *, float **, int **, int **)
int xerbla_(char *, int *)
void snode_profile(int, int *)
int ssnode_dfs(const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
float sPivotGrowth(int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
int scopy_to_ucol(int, int, int *, int *, int *, float *, GlobalLU_t *)
void superlu_abort_and_exit(char *)
void sCompRow_to_CompCol(int, int, int, float *, int *, int *, float **, int **, int **)
int sLUMemInit(char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, float **)
void print_panel_seg(int, int, int, int, int *, int *)
int ssnode_bmod(const int, const int, const int, float *, float *, GlobalLU_t *)
void inf_norm_error(int, SuperMatrix *, complex *)
void sCreate_Dense_Matrix(SuperMatrix *, int, int, float *, int, Stype_t, Dtype_t, Mtype_t)
void superlu_free(void *)
void sCopy_Dense_Matrix(int, int, float *, int, float *, int)
void sLUWorkFree(int *, float *, GlobalLU_t *)
int lsame_(char *, char *)
void sFillRHS(char *, int, float *, int, SuperMatrix *, SuperMatrix *)
void sfill(float *, int, float)
void sPrint_SuperNode_Matrix(char *, SuperMatrix *)
void resetrep_col(const int, const int *, int *)