TBCI Numerical high perf. C++ Library  2.8.0
Classes | Macros | Enumerations | Functions
ssp_defs.h File Reference

Sparse matrix types and function prototypes (float) for the SuperLU solver. More...

#include "tbci/superlu/Cnames.h"
#include "tbci/superlu/supermatrix.h"
Include dependency graph for ssp_defs.h:

Go to the source code of this file.

Classes

struct  GlobalLU_t
 
struct  factor_param_t
 
struct  mem_usage_t
 

Macros

#define NO_MARKER   3
 
#define NUM_TEMPV(m, w, t, b)   ( MAX(m, (t + b)*w) )
 

Enumerations

enum  MemType {
  LUSUP, UCOL, LSUB, USUB,
  LUSUP, UCOL, LSUB, USUB,
  LUSUP, UCOL, LSUB, USUB,
  LUSUP, UCOL, LSUB, USUB
}
 
enum  stack_end_t {
  HEAD, TAIL, HEAD, TAIL,
  HEAD, TAIL, HEAD, TAIL
}
 
enum  LU_space_t {
  SYSTEM, USER, SYSTEM, USER,
  SYSTEM, USER, SYSTEM, USER
}
 

Functions

void sgssv (SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
 
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 sCreate_CompCol_Matrix (SuperMatrix *, int, int, int, float *, int *, int *, Stype_t, Dtype_t, Mtype_t)
 
void sCopy_CompCol_Matrix (SuperMatrix *, SuperMatrix *)
 
void sCreate_Dense_Matrix (SuperMatrix *, int, int, float *, int, Stype_t, Dtype_t, Mtype_t)
 
void sCreate_SuperNode_Matrix (SuperMatrix *, int, int, int, float *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
 
void sCopy_Dense_Matrix (int, int, float *, int, float *, int)
 
void Destroy_SuperMatrix_Store (SuperMatrix *)
 
void Destroy_CompCol_Matrix (SuperMatrix *)
 
void Destroy_SuperNode_Matrix (SuperMatrix *)
 
void Destroy_CompCol_Permuted (SuperMatrix *)
 
void Destroy_Dense_Matrix (SuperMatrix *)
 
void sallocateA (int, int, float **, int **, int **)
 
void StatInit (int, int)
 
void StatFree ()
 
void get_perm_c (int, SuperMatrix *, int *)
 
void sp_preorder (char *, SuperMatrix *, int *, int *, SuperMatrix *)
 
int sp_coletree (int *, int *, int *, int, int, int *)
 
void sgstrf (char *, SuperMatrix *, float, float, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
 
void relax_snode (int, int *, int, int *, int *)
 
int ssnode_dfs (const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
 
int ssnode_bmod (const int, const int, const int, float *, float *, GlobalLU_t *)
 
void spanel_dfs (const int, const int, const int, SuperMatrix *, int *, int *, float *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
 
void spanel_bmod (const int, const int, const int, const int, float *, float *, int *, int *, GlobalLU_t *)
 
int scolumn_dfs (const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
 
int scolumn_bmod (const int, const int, float *, float *, int *, int *, int, GlobalLU_t *)
 
int scopy_to_ucol (int, int, int *, int *, int *, float *, GlobalLU_t *)
 
int spivotL (const int, const float, int *, int *, int *, int *, int *, GlobalLU_t *)
 
void spruneL (const int, const int *, const int, const int, const int *, const int *, int *, GlobalLU_t *)
 
void resetrep_col (const int, const int *, int *)
 
void countnz (const int, int *, int *, int *, GlobalLU_t *)
 
void fixupL (const int, const int *, GlobalLU_t *)
 
int spcoletree (int *, int *, int *, int, int, int *)
 
int * TreePostorder (int, int *)
 
void sreadmt (int *, int *, int *, float **, int **, int **)
 
void sGenXtrue (int, int, float *, int)
 
void sFillRHS (char *, int, float *, int, SuperMatrix *, SuperMatrix *)
 
void sgstrs (char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
 
void sgsequ (SuperMatrix *, float *, float *, float *, float *, float *, int *)
 
void slaqgs (SuperMatrix *, float *, float *, float, float, float, char *)
 
void sgscon (char *, SuperMatrix *, SuperMatrix *, float, float *, int *)
 
float sPivotGrowth (int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
 
void sgsrfs (char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, float *, float *, int *)
 
int sp_strsv (char *, char *, char *, SuperMatrix *, SuperMatrix *, float *, int *)
 
int sp_sgemv (char *, float, SuperMatrix *, float *, int, float, float *, int)
 
int sp_sgemm (char *, char *, int, int, int, float, SuperMatrix *, float *, int, float, float *, int)
 
void superlu_abort_and_exit (char *)
 
void * superlu_malloc (int)
 
void superlu_free (void *)
 
int sLUMemInit (char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, float **)
 
void SetIWork (int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
 
void sSetRWork (int, int, float *, float **, float **)
 
void sLUWorkFree (int *, float *, GlobalLU_t *)
 
int sLUMemXpand (int, int, MemType, int *, GlobalLU_t *)
 
int * intMalloc (int)
 
int * intCalloc (int)
 
float * floatMalloc (int)
 
float * floatCalloc (int)
 
int memory_usage ()
 
int sQuerySpace (SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
 
void sCompRow_to_CompCol (int, int, int, float *, int *, int *, float **, int **, int **)
 
double SuperLU_timer_ ()
 
int sp_ienv (int)
 
int lsame_ (char *, char *)
 
int xerbla_ (char *, int *)
 
void ifill (int *, int, int)
 
void sfill (float *, int, float)
 
void inf_norm_error (int, SuperMatrix *, float *)
 
void snode_profile (int, int *)
 
void super_stats (int, int *)
 
void PrintSumm (char *, int, int, int)
 
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t *, float, float, float *, float *, char *)
 
void sPrint_CompCol_Matrix (char *, SuperMatrix *)
 
void sPrint_SuperNode_Matrix (char *, SuperMatrix *)
 
void sPrint_Dense_Matrix (char *, SuperMatrix *)
 
void print_lu_col (char *, int, int, int *, GlobalLU_t *)
 
void print_panel_seg (int, int, int, int, int *, int *)
 
void check_tempv (int, float *)
 
void check_repfnz (int, int, int, int *)
 

Detailed Description

Sparse matrix types and function prototypes (float) for the SuperLU solver.

Definition in file ssp_defs.h.

Macro Definition Documentation

#define NO_MARKER   3

Definition at line 33 of file ssp_defs.h.

#define NUM_TEMPV (   m,
  w,
  t,
  b 
)    ( MAX(m, (t + b)*w) )

Definition at line 34 of file ssp_defs.h.

Enumeration Type Documentation

enum LU_space_t
Enumerator
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 

Definition at line 38 of file ssp_defs.h.

enum MemType
Enumerator
LUSUP 
UCOL 
LSUB 
USUB 
LUSUP 
UCOL 
LSUB 
USUB 
LUSUP 
UCOL 
LSUB 
USUB 
LUSUP 
UCOL 
LSUB 
USUB 

Definition at line 36 of file ssp_defs.h.

Enumerator
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 

Definition at line 37 of file ssp_defs.h.

Function Documentation

void check_repfnz ( int  ,
int  ,
int  ,
int *   
)
void check_tempv ( int  ,
float *   
)
void countnz ( const int  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void Destroy_CompCol_Matrix ( SuperMatrix )
void Destroy_CompCol_Permuted ( SuperMatrix )
void Destroy_Dense_Matrix ( SuperMatrix )
void Destroy_SuperMatrix_Store ( SuperMatrix )
void Destroy_SuperNode_Matrix ( SuperMatrix )
void fixupL ( const int  ,
const int *  ,
GlobalLU_t  
)
float* floatCalloc ( int  )
float* floatMalloc ( int  )
void get_perm_c ( int  ,
SuperMatrix ,
int *   
)
void ifill ( int *  ,
int  ,
int   
)
void inf_norm_error ( int  ,
SuperMatrix ,
float *   
)
int* intCalloc ( int  )
int* intMalloc ( int  )
int lsame_ ( char *  ,
char *   
)
int memory_usage ( )
void print_lu_col ( char *  ,
int  ,
int  ,
int *  ,
GlobalLU_t  
)
void print_panel_seg ( int  ,
int  ,
int  ,
int  ,
int *  ,
int *   
)
void PrintPerf ( SuperMatrix ,
SuperMatrix ,
mem_usage_t ,
float  ,
float  ,
float *  ,
float *  ,
char *   
)
void PrintSumm ( char *  ,
int  ,
int  ,
int   
)
void relax_snode ( int  ,
int *  ,
int  ,
int *  ,
int *   
)
void resetrep_col ( const int  ,
const int *  ,
int *   
)
void sallocateA ( int  ,
int  ,
float **  ,
int **  ,
int **   
)
int scolumn_bmod ( const int  ,
const int  ,
float *  ,
float *  ,
int *  ,
int *  ,
int  ,
GlobalLU_t  
)
int scolumn_dfs ( const int  ,
const int  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void sCompRow_to_CompCol ( int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)
void sCopy_CompCol_Matrix ( SuperMatrix ,
SuperMatrix  
)
void sCopy_Dense_Matrix ( int  ,
int  ,
float *  ,
int  ,
float *  ,
int   
)
int scopy_to_ucol ( int  ,
int  ,
int *  ,
int *  ,
int *  ,
float *  ,
GlobalLU_t  
)
void sCreate_CompCol_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void sCreate_Dense_Matrix ( SuperMatrix ,
int  ,
int  ,
float *  ,
int  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void sCreate_SuperNode_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void SetIWork ( int  ,
int  ,
int  ,
int *  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **   
)
void sfill ( float *  ,
int  ,
float   
)
void sFillRHS ( char *  ,
int  ,
float *  ,
int  ,
SuperMatrix ,
SuperMatrix  
)
void sGenXtrue ( int  ,
int  ,
float *  ,
int   
)
void sgscon ( char *  ,
SuperMatrix ,
SuperMatrix ,
float  ,
float *  ,
int *   
)
void sgsequ ( SuperMatrix ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
int *   
)
void sgsrfs ( char *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
char *  ,
float *  ,
float *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
float *  ,
int *   
)
void sgssv ( SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *   
)
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 sgstrf ( char *  ,
SuperMatrix ,
float  ,
float  ,
int  ,
int  ,
int *  ,
void *  ,
int  ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
int *   
)
void sgstrs ( char *  ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
int *   
)
void slaqgs ( SuperMatrix ,
float *  ,
float *  ,
float  ,
float  ,
float  ,
char *   
)
int sLUMemInit ( char *  ,
void *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
SuperMatrix ,
SuperMatrix ,
GlobalLU_t ,
int **  ,
float **   
)
int sLUMemXpand ( int  ,
int  ,
MemType  ,
int *  ,
GlobalLU_t  
)
void sLUWorkFree ( int *  ,
float *  ,
GlobalLU_t  
)
void snode_profile ( int  ,
int *   
)
int sp_coletree ( int *  ,
int *  ,
int *  ,
int  ,
int  ,
int *   
)
int sp_ienv ( int  )
void sp_preorder ( char *  ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix  
)
int sp_sgemm ( char *  ,
char *  ,
int  ,
int  ,
int  ,
float  ,
SuperMatrix ,
float *  ,
int  ,
float  ,
float *  ,
int   
)
int sp_sgemv ( char *  ,
float  ,
SuperMatrix ,
float *  ,
int  ,
float  ,
float *  ,
int   
)
int sp_strsv ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
int *   
)
void spanel_bmod ( const int  ,
const int  ,
const int  ,
const int  ,
float *  ,
float *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void spanel_dfs ( const int  ,
const int  ,
const int  ,
SuperMatrix ,
int *  ,
int *  ,
float *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
int spcoletree ( int *  ,
int *  ,
int *  ,
int  ,
int  ,
int *   
)
float sPivotGrowth ( int  ,
SuperMatrix ,
int *  ,
SuperMatrix ,
SuperMatrix  
)
int spivotL ( const int  ,
const float  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void sPrint_CompCol_Matrix ( char *  ,
SuperMatrix  
)
void sPrint_Dense_Matrix ( char *  ,
SuperMatrix  
)
void sPrint_SuperNode_Matrix ( char *  ,
SuperMatrix  
)
void spruneL ( const int  ,
const int *  ,
const int  ,
const int  ,
const int *  ,
const int *  ,
int *  ,
GlobalLU_t  
)
int sQuerySpace ( SuperMatrix ,
SuperMatrix ,
int  ,
mem_usage_t  
)
void sreadmt ( int *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)
void sSetRWork ( int  ,
int  ,
float *  ,
float **  ,
float **   
)
int ssnode_bmod ( const int  ,
const int  ,
const int  ,
float *  ,
float *  ,
GlobalLU_t  
)
int ssnode_dfs ( const int  ,
const int  ,
const int *  ,
const int *  ,
const int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void StatFree ( )
void StatInit ( int  ,
int   
)
void super_stats ( int  ,
int *   
)
void superlu_abort_and_exit ( char *  )
void superlu_free ( void *  )
void* superlu_malloc ( int  )
double SuperLU_timer_ ( )
int* TreePostorder ( int  ,
int *   
)
int xerbla_ ( char *  ,
int *   
)