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

◆ NO_MARKER

#define NO_MARKER   3

Definition at line 33 of file ssp_defs.h.

◆ NUM_TEMPV

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

Definition at line 34 of file ssp_defs.h.

Enumeration Type Documentation

◆ LU_space_t

enum LU_space_t
Enumerator
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 

Definition at line 38 of file ssp_defs.h.

◆ MemType

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.

◆ stack_end_t

Enumerator
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 

Definition at line 37 of file ssp_defs.h.

Function Documentation

◆ check_repfnz()

void check_repfnz ( int  ,
int  ,
int  ,
int *   
)

◆ check_tempv()

void check_tempv ( int  ,
float *   
)

◆ countnz()

void countnz ( const int  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ Destroy_CompCol_Matrix()

void Destroy_CompCol_Matrix ( SuperMatrix )

◆ Destroy_CompCol_Permuted()

void Destroy_CompCol_Permuted ( SuperMatrix )

◆ Destroy_Dense_Matrix()

void Destroy_Dense_Matrix ( SuperMatrix )

◆ Destroy_SuperMatrix_Store()

void Destroy_SuperMatrix_Store ( SuperMatrix )

◆ Destroy_SuperNode_Matrix()

void Destroy_SuperNode_Matrix ( SuperMatrix )

◆ fixupL()

void fixupL ( const int  ,
const int *  ,
GlobalLU_t  
)

◆ floatCalloc()

float* floatCalloc ( int  )

◆ floatMalloc()

float* floatMalloc ( int  )

◆ get_perm_c()

void get_perm_c ( int  ,
SuperMatrix ,
int *   
)

◆ ifill()

void ifill ( int *  ,
int  ,
int   
)

◆ inf_norm_error()

void inf_norm_error ( int  ,
SuperMatrix ,
float *   
)

◆ intCalloc()

int* intCalloc ( int  )

◆ intMalloc()

int* intMalloc ( int  )

◆ lsame_()

int lsame_ ( char *  ,
char *   
)

◆ memory_usage()

int memory_usage ( )

◆ print_lu_col()

void print_lu_col ( char *  ,
int  ,
int  ,
int *  ,
GlobalLU_t  
)

◆ print_panel_seg()

void print_panel_seg ( int  ,
int  ,
int  ,
int  ,
int *  ,
int *   
)

◆ PrintPerf()

void PrintPerf ( SuperMatrix ,
SuperMatrix ,
mem_usage_t ,
float  ,
float  ,
float *  ,
float *  ,
char *   
)

◆ PrintSumm()

void PrintSumm ( char *  ,
int  ,
int  ,
int   
)

◆ relax_snode()

void relax_snode ( int  ,
int *  ,
int  ,
int *  ,
int *   
)

◆ resetrep_col()

void resetrep_col ( const int  ,
const int *  ,
int *   
)

◆ sallocateA()

void sallocateA ( int  ,
int  ,
float **  ,
int **  ,
int **   
)

◆ scolumn_bmod()

int scolumn_bmod ( const int  ,
const int  ,
float *  ,
float *  ,
int *  ,
int *  ,
int  ,
GlobalLU_t  
)

◆ scolumn_dfs()

int scolumn_dfs ( const int  ,
const int  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ sCompRow_to_CompCol()

void sCompRow_to_CompCol ( int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)

◆ sCopy_CompCol_Matrix()

void sCopy_CompCol_Matrix ( SuperMatrix ,
SuperMatrix  
)

◆ sCopy_Dense_Matrix()

void sCopy_Dense_Matrix ( int  ,
int  ,
float *  ,
int  ,
float *  ,
int   
)

◆ scopy_to_ucol()

int scopy_to_ucol ( int  ,
int  ,
int *  ,
int *  ,
int *  ,
float *  ,
GlobalLU_t  
)

◆ sCreate_CompCol_Matrix()

void sCreate_CompCol_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ sCreate_Dense_Matrix()

void sCreate_Dense_Matrix ( SuperMatrix ,
int  ,
int  ,
float *  ,
int  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ sCreate_SuperNode_Matrix()

void sCreate_SuperNode_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ SetIWork()

void SetIWork ( int  ,
int  ,
int  ,
int *  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **   
)

◆ sfill()

void sfill ( float *  ,
int  ,
float   
)

◆ sFillRHS()

void sFillRHS ( char *  ,
int  ,
float *  ,
int  ,
SuperMatrix ,
SuperMatrix  
)

◆ sGenXtrue()

void sGenXtrue ( int  ,
int  ,
float *  ,
int   
)

◆ sgscon()

void sgscon ( char *  ,
SuperMatrix ,
SuperMatrix ,
float  ,
float *  ,
int *   
)

◆ sgsequ()

void sgsequ ( SuperMatrix ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
int *   
)

◆ sgsrfs()

void sgsrfs ( char *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
char *  ,
float *  ,
float *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
float *  ,
int *   
)

◆ sgssv()

void sgssv ( SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *   
)

◆ sgssvx()

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

◆ sgstrf()

void sgstrf ( char *  ,
SuperMatrix ,
float  ,
float  ,
int  ,
int  ,
int *  ,
void *  ,
int  ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
int *   
)

◆ sgstrs()

void sgstrs ( char *  ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
int *   
)

◆ slaqgs()

void slaqgs ( SuperMatrix ,
float *  ,
float *  ,
float  ,
float  ,
float  ,
char *   
)

◆ sLUMemInit()

int sLUMemInit ( char *  ,
void *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
SuperMatrix ,
SuperMatrix ,
GlobalLU_t ,
int **  ,
float **   
)

◆ sLUMemXpand()

int sLUMemXpand ( int  ,
int  ,
MemType  ,
int *  ,
GlobalLU_t  
)

◆ sLUWorkFree()

void sLUWorkFree ( int *  ,
float *  ,
GlobalLU_t  
)

◆ snode_profile()

void snode_profile ( int  ,
int *   
)

◆ sp_coletree()

int sp_coletree ( int *  ,
int *  ,
int *  ,
int  ,
int  ,
int *   
)

◆ sp_ienv()

int sp_ienv ( int  )

◆ sp_preorder()

void sp_preorder ( char *  ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix  
)

◆ sp_sgemm()

int sp_sgemm ( char *  ,
char *  ,
int  ,
int  ,
int  ,
float  ,
SuperMatrix ,
float *  ,
int  ,
float  ,
float *  ,
int   
)

◆ sp_sgemv()

int sp_sgemv ( char *  ,
float  ,
SuperMatrix ,
float *  ,
int  ,
float  ,
float *  ,
int   
)

◆ sp_strsv()

int sp_strsv ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
int *   
)

◆ spanel_bmod()

void spanel_bmod ( const int  ,
const int  ,
const int  ,
const int  ,
float *  ,
float *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ spanel_dfs()

void spanel_dfs ( const int  ,
const int  ,
const int  ,
SuperMatrix ,
int *  ,
int *  ,
float *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ spcoletree()

int spcoletree ( int *  ,
int *  ,
int *  ,
int  ,
int  ,
int *   
)

◆ sPivotGrowth()

float sPivotGrowth ( int  ,
SuperMatrix ,
int *  ,
SuperMatrix ,
SuperMatrix  
)

◆ spivotL()

int spivotL ( const int  ,
const float  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ sPrint_CompCol_Matrix()

void sPrint_CompCol_Matrix ( char *  ,
SuperMatrix  
)

◆ sPrint_Dense_Matrix()

void sPrint_Dense_Matrix ( char *  ,
SuperMatrix  
)

◆ sPrint_SuperNode_Matrix()

void sPrint_SuperNode_Matrix ( char *  ,
SuperMatrix  
)

◆ spruneL()

void spruneL ( const int  ,
const int *  ,
const int  ,
const int  ,
const int *  ,
const int *  ,
int *  ,
GlobalLU_t  
)

◆ sQuerySpace()

int sQuerySpace ( SuperMatrix ,
SuperMatrix ,
int  ,
mem_usage_t  
)

◆ sreadmt()

void sreadmt ( int *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)

◆ sSetRWork()

void sSetRWork ( int  ,
int  ,
float *  ,
float **  ,
float **   
)

◆ ssnode_bmod()

int ssnode_bmod ( const int  ,
const int  ,
const int  ,
float *  ,
float *  ,
GlobalLU_t  
)

◆ ssnode_dfs()

int ssnode_dfs ( const int  ,
const int  ,
const int *  ,
const int *  ,
const int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ StatFree()

void StatFree ( )

◆ StatInit()

void StatInit ( int  ,
int   
)

◆ super_stats()

void super_stats ( int  ,
int *   
)

◆ superlu_abort_and_exit()

void superlu_abort_and_exit ( char *  )

◆ superlu_free()

void superlu_free ( void *  )

◆ superlu_malloc()

void* superlu_malloc ( int  )

◆ SuperLU_timer_()

double SuperLU_timer_ ( )

◆ TreePostorder()

int* TreePostorder ( int  ,
int *   
)

◆ xerbla_()

int xerbla_ ( char *  ,
int *   
)