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

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

#include "tbci/superlu/Cnames.h"
#include "tbci/superlu/supermatrix.h"
#include "tbci/superlu/scomplex.h"
Include dependency graph for csp_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 cgssv (SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
 
void cgssvx (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 cCreate_CompCol_Matrix (SuperMatrix *, int, int, int, complex *, int *, int *, Stype_t, Dtype_t, Mtype_t)
 
void cCopy_CompCol_Matrix (SuperMatrix *, SuperMatrix *)
 
void cCreate_Dense_Matrix (SuperMatrix *, int, int, complex *, int, Stype_t, Dtype_t, Mtype_t)
 
void cCreate_SuperNode_Matrix (SuperMatrix *, int, int, int, complex *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
 
void cCopy_Dense_Matrix (int, int, complex *, int, complex *, 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 callocateA (int, int, complex **, 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 cgstrf (char *, SuperMatrix *, float, float, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
 
void relax_snode (int, int *, int, int *, int *)
 
int csnode_dfs (const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
 
int csnode_bmod (const int, const int, const int, complex *, complex *, GlobalLU_t *)
 
void cpanel_dfs (const int, const int, const int, SuperMatrix *, int *, int *, complex *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
 
void cpanel_bmod (const int, const int, const int, const int, complex *, complex *, int *, int *, GlobalLU_t *)
 
int ccolumn_dfs (const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
 
int ccolumn_bmod (const int, const int, complex *, complex *, int *, int *, int, GlobalLU_t *)
 
int ccopy_to_ucol (int, int, int *, int *, int *, complex *, GlobalLU_t *)
 
int cpivotL (const int, const float, int *, int *, int *, int *, int *, GlobalLU_t *)
 
void cpruneL (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 creadmt (int *, int *, int *, complex **, int **, int **)
 
void cGenXtrue (int, int, complex *, int)
 
void cFillRHS (char *, int, complex *, int, SuperMatrix *, SuperMatrix *)
 
void cgstrs (char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
 
void cgsequ (SuperMatrix *, float *, float *, float *, float *, float *, int *)
 
void claqgs (SuperMatrix *, float *, float *, float, float, float, char *)
 
void cgscon (char *, SuperMatrix *, SuperMatrix *, float, float *, int *)
 
float cPivotGrowth (int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
 
void cgsrfs (char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, float *, float *, int *)
 
int sp_ctrsv (char *, char *, char *, SuperMatrix *, SuperMatrix *, complex *, int *)
 
int sp_cgemv (char *, complex, SuperMatrix *, complex *, int, complex, complex *, int)
 
int sp_cgemm (char *, char *, int, int, int, complex, SuperMatrix *, complex *, int, complex, complex *, int)
 
void superlu_abort_and_exit (char *)
 
void * superlu_malloc (int)
 
void superlu_free (void *)
 
int cLUMemInit (char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, complex **)
 
void SetIWork (int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
 
void cSetRWork (int, int, complex *, complex **, complex **)
 
void cLUWorkFree (int *, complex *, GlobalLU_t *)
 
int cLUMemXpand (int, int, MemType, int *, GlobalLU_t *)
 
int * intMalloc (int)
 
int * intCalloc (int)
 
complexcomplexMalloc (int)
 
complexcomplexCalloc (int)
 
float * floatMalloc (int)
 
float * floatCalloc (int)
 
int memory_usage ()
 
int cQuerySpace (SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
 
void cCompRow_to_CompCol (int, int, int, complex *, int *, int *, complex **, int **, int **)
 
double SuperLU_timer_ ()
 
int sp_ienv (int)
 
int lsame_ (char *, char *)
 
int xerbla_ (char *, int *)
 
void ifill (int *, int, int)
 
void cfill (complex *, int, complex)
 
void inf_norm_error (int, SuperMatrix *, complex *)
 
void snode_profile (int, int *)
 
void super_stats (int, int *)
 
void PrintSumm (char *, int, int, int)
 
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t *, complex, complex, complex *, complex *, char *)
 
void cPrint_CompCol_Matrix (char *, SuperMatrix *)
 
void cPrint_SuperNode_Matrix (char *, SuperMatrix *)
 
void cPrint_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, complex *)
 
void check_repfnz (int, int, int, int *)
 

Detailed Description

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

Definition in file csp_defs.h.

Macro Definition Documentation

#define NO_MARKER   3

Definition at line 35 of file csp_defs.h.

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

Definition at line 36 of file csp_defs.h.

Enumeration Type Documentation

enum LU_space_t
Enumerator
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 

Definition at line 40 of file csp_defs.h.

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

Definition at line 38 of file csp_defs.h.

Enumerator
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 

Definition at line 39 of file csp_defs.h.

Function Documentation

void callocateA ( int  ,
int  ,
complex **  ,
int **  ,
int **   
)
int ccolumn_bmod ( const int  ,
const int  ,
complex ,
complex ,
int *  ,
int *  ,
int  ,
GlobalLU_t  
)
int ccolumn_dfs ( const int  ,
const int  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void cCompRow_to_CompCol ( int  ,
int  ,
int  ,
complex ,
int *  ,
int *  ,
complex **  ,
int **  ,
int **   
)
void cCopy_CompCol_Matrix ( SuperMatrix ,
SuperMatrix  
)
void cCopy_Dense_Matrix ( int  ,
int  ,
complex ,
int  ,
complex ,
int   
)
int ccopy_to_ucol ( int  ,
int  ,
int *  ,
int *  ,
int *  ,
complex ,
GlobalLU_t  
)
void cCreate_CompCol_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
complex ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void cCreate_Dense_Matrix ( SuperMatrix ,
int  ,
int  ,
complex ,
int  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void cCreate_SuperNode_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
complex ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void cfill ( complex ,
int  ,
complex   
)
void cFillRHS ( char *  ,
int  ,
complex ,
int  ,
SuperMatrix ,
SuperMatrix  
)
void cGenXtrue ( int  ,
int  ,
complex ,
int   
)
void cgscon ( char *  ,
SuperMatrix ,
SuperMatrix ,
float  ,
float *  ,
int *   
)
void cgsequ ( SuperMatrix ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
int *   
)
void cgsrfs ( char *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
char *  ,
float *  ,
float *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
float *  ,
int *   
)
void cgssv ( SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *   
)
void cgssvx ( 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 cgstrf ( char *  ,
SuperMatrix ,
float  ,
float  ,
int  ,
int  ,
int *  ,
void *  ,
int  ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
int *   
)
void cgstrs ( char *  ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
int *   
)
void check_repfnz ( int  ,
int  ,
int  ,
int *   
)
void check_tempv ( int  ,
complex  
)
void claqgs ( SuperMatrix ,
float *  ,
float *  ,
float  ,
float  ,
float  ,
char *   
)
int cLUMemInit ( char *  ,
void *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
SuperMatrix ,
SuperMatrix ,
GlobalLU_t ,
int **  ,
complex **   
)
int cLUMemXpand ( int  ,
int  ,
MemType  ,
int *  ,
GlobalLU_t  
)
void cLUWorkFree ( int *  ,
complex ,
GlobalLU_t  
)
complex* complexCalloc ( int  )
complex* complexMalloc ( int  )
void countnz ( const int  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void cpanel_bmod ( const int  ,
const int  ,
const int  ,
const int  ,
complex ,
complex ,
int *  ,
int *  ,
GlobalLU_t  
)
void cpanel_dfs ( const int  ,
const int  ,
const int  ,
SuperMatrix ,
int *  ,
int *  ,
complex ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
float cPivotGrowth ( int  ,
SuperMatrix ,
int *  ,
SuperMatrix ,
SuperMatrix  
)
int cpivotL ( const int  ,
const float  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void cPrint_CompCol_Matrix ( char *  ,
SuperMatrix  
)
void cPrint_Dense_Matrix ( char *  ,
SuperMatrix  
)
void cPrint_SuperNode_Matrix ( char *  ,
SuperMatrix  
)
void cpruneL ( const int  ,
const int *  ,
const int  ,
const int  ,
const int *  ,
const int *  ,
int *  ,
GlobalLU_t  
)
int cQuerySpace ( SuperMatrix ,
SuperMatrix ,
int  ,
mem_usage_t  
)
void creadmt ( int *  ,
int *  ,
int *  ,
complex **  ,
int **  ,
int **   
)
void cSetRWork ( int  ,
int  ,
complex ,
complex **  ,
complex **   
)
int csnode_bmod ( const int  ,
const int  ,
const int  ,
complex ,
complex ,
GlobalLU_t  
)
int csnode_dfs ( const int  ,
const int  ,
const int *  ,
const int *  ,
const int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void Destroy_CompCol_Matrix ( SuperMatrix )

Referenced by lu_solve().

void Destroy_CompCol_Permuted ( SuperMatrix )
void Destroy_Dense_Matrix ( SuperMatrix )
void Destroy_SuperMatrix_Store ( SuperMatrix )

Referenced by lu_solve().

void Destroy_SuperNode_Matrix ( SuperMatrix )

Referenced by lu_solve().

void fixupL ( const int  ,
const int *  ,
GlobalLU_t  
)
float* floatCalloc ( int  )
float* floatMalloc ( int  )
void get_perm_c ( int  ,
SuperMatrix ,
int *   
)

Referenced by lu_solve().

void ifill ( int *  ,
int  ,
int   
)
void inf_norm_error ( int  ,
SuperMatrix ,
complex  
)
int* intCalloc ( int  )
int* intMalloc ( int  )

Referenced by lu_solve().

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 ,
complex  ,
complex  ,
complex ,
complex ,
char *   
)
void PrintSumm ( char *  ,
int  ,
int  ,
int   
)
void relax_snode ( int  ,
int *  ,
int  ,
int *  ,
int *   
)
void resetrep_col ( const int  ,
const int *  ,
int *   
)
void SetIWork ( int  ,
int  ,
int  ,
int *  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **  ,
int **   
)
void snode_profile ( int  ,
int *   
)
int sp_cgemm ( char *  ,
char *  ,
int  ,
int  ,
int  ,
complex  ,
SuperMatrix ,
complex ,
int  ,
complex  ,
complex ,
int   
)
int sp_cgemv ( char *  ,
complex  ,
SuperMatrix ,
complex ,
int  ,
complex  ,
complex ,
int   
)
int sp_coletree ( int *  ,
int *  ,
int *  ,
int  ,
int  ,
int *   
)
int sp_ctrsv ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
SuperMatrix ,
complex ,
int *   
)
int sp_ienv ( int  )

Referenced by lu_solve().

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

Referenced by lu_solve().

void StatInit ( int  ,
int   
)

Referenced by lu_solve().

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

Referenced by own_ew_().