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

◆ NO_MARKER

#define NO_MARKER   3

Definition at line 35 of file csp_defs.h.

◆ NUM_TEMPV

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

Definition at line 36 of file csp_defs.h.

Enumeration Type Documentation

◆ LU_space_t

enum LU_space_t
Enumerator
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 
SYSTEM 
USER 

Definition at line 40 of file csp_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 38 of file csp_defs.h.

◆ stack_end_t

Enumerator
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 

Definition at line 39 of file csp_defs.h.

Function Documentation

◆ callocateA()

void callocateA ( int  ,
int  ,
complex **  ,
int **  ,
int **   
)

◆ ccolumn_bmod()

int ccolumn_bmod ( const int  ,
const int  ,
complex ,
complex ,
int *  ,
int *  ,
int  ,
GlobalLU_t  
)

◆ ccolumn_dfs()

int ccolumn_dfs ( const int  ,
const int  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ cCompRow_to_CompCol()

void cCompRow_to_CompCol ( int  ,
int  ,
int  ,
complex ,
int *  ,
int *  ,
complex **  ,
int **  ,
int **   
)

◆ cCopy_CompCol_Matrix()

void cCopy_CompCol_Matrix ( SuperMatrix ,
SuperMatrix  
)

◆ cCopy_Dense_Matrix()

void cCopy_Dense_Matrix ( int  ,
int  ,
complex ,
int  ,
complex ,
int   
)

◆ ccopy_to_ucol()

int ccopy_to_ucol ( int  ,
int  ,
int *  ,
int *  ,
int *  ,
complex ,
GlobalLU_t  
)

◆ cCreate_CompCol_Matrix()

void cCreate_CompCol_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
complex ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ cCreate_Dense_Matrix()

void cCreate_Dense_Matrix ( SuperMatrix ,
int  ,
int  ,
complex ,
int  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ cCreate_SuperNode_Matrix()

void cCreate_SuperNode_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
complex ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

◆ cfill()

void cfill ( complex ,
int  ,
complex   
)

◆ cFillRHS()

void cFillRHS ( char *  ,
int  ,
complex ,
int  ,
SuperMatrix ,
SuperMatrix  
)

◆ cGenXtrue()

void cGenXtrue ( int  ,
int  ,
complex ,
int   
)

◆ cgscon()

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

◆ cgsequ()

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

◆ cgsrfs()

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

◆ cgssv()

void cgssv ( SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *   
)

◆ cgssvx()

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

◆ cgstrf()

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

◆ cgstrs()

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

◆ check_repfnz()

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

◆ check_tempv()

void check_tempv ( int  ,
complex  
)

◆ claqgs()

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

◆ cLUMemInit()

int cLUMemInit ( char *  ,
void *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
SuperMatrix ,
SuperMatrix ,
GlobalLU_t ,
int **  ,
complex **   
)

◆ cLUMemXpand()

int cLUMemXpand ( int  ,
int  ,
MemType  ,
int *  ,
GlobalLU_t  
)

◆ cLUWorkFree()

void cLUWorkFree ( int *  ,
complex ,
GlobalLU_t  
)

◆ complexCalloc()

complex* complexCalloc ( int  )

◆ complexMalloc()

complex* complexMalloc ( int  )

◆ countnz()

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

◆ cpanel_bmod()

void cpanel_bmod ( const int  ,
const int  ,
const int  ,
const int  ,
complex ,
complex ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ cpanel_dfs()

void cpanel_dfs ( const int  ,
const int  ,
const int  ,
SuperMatrix ,
int *  ,
int *  ,
complex ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ cPivotGrowth()

float cPivotGrowth ( int  ,
SuperMatrix ,
int *  ,
SuperMatrix ,
SuperMatrix  
)

◆ cpivotL()

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

◆ cPrint_CompCol_Matrix()

void cPrint_CompCol_Matrix ( char *  ,
SuperMatrix  
)

◆ cPrint_Dense_Matrix()

void cPrint_Dense_Matrix ( char *  ,
SuperMatrix  
)

◆ cPrint_SuperNode_Matrix()

void cPrint_SuperNode_Matrix ( char *  ,
SuperMatrix  
)

◆ cpruneL()

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

◆ cQuerySpace()

int cQuerySpace ( SuperMatrix ,
SuperMatrix ,
int  ,
mem_usage_t  
)

◆ creadmt()

void creadmt ( int *  ,
int *  ,
int *  ,
complex **  ,
int **  ,
int **   
)

◆ cSetRWork()

void cSetRWork ( int  ,
int  ,
complex ,
complex **  ,
complex **   
)

◆ csnode_bmod()

int csnode_bmod ( const int  ,
const int  ,
const int  ,
complex ,
complex ,
GlobalLU_t  
)

◆ csnode_dfs()

int csnode_dfs ( const int  ,
const int  ,
const int *  ,
const int *  ,
const int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ Destroy_CompCol_Matrix()

void Destroy_CompCol_Matrix ( SuperMatrix )

Referenced by lu_solve().

◆ Destroy_CompCol_Permuted()

void Destroy_CompCol_Permuted ( SuperMatrix )

◆ Destroy_Dense_Matrix()

void Destroy_Dense_Matrix ( SuperMatrix )

◆ Destroy_SuperMatrix_Store()

void Destroy_SuperMatrix_Store ( SuperMatrix )

Referenced by lu_solve().

◆ Destroy_SuperNode_Matrix()

void Destroy_SuperNode_Matrix ( SuperMatrix )

Referenced by lu_solve().

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

Referenced by lu_solve().

◆ ifill()

void ifill ( int *  ,
int  ,
int   
)

◆ inf_norm_error()

void inf_norm_error ( int  ,
SuperMatrix ,
complex  
)

◆ intCalloc()

int* intCalloc ( int  )

◆ intMalloc()

int* intMalloc ( int  )

Referenced by lu_solve().

◆ 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 ,
complex  ,
complex  ,
complex ,
complex ,
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 *   
)

◆ SetIWork()

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

◆ snode_profile()

void snode_profile ( int  ,
int *   
)

◆ sp_cgemm()

int sp_cgemm ( char *  ,
char *  ,
int  ,
int  ,
int  ,
complex  ,
SuperMatrix ,
complex ,
int  ,
complex  ,
complex ,
int   
)

◆ sp_cgemv()

int sp_cgemv ( char *  ,
complex  ,
SuperMatrix ,
complex ,
int  ,
complex  ,
complex ,
int   
)

◆ sp_coletree()

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

◆ sp_ctrsv()

int sp_ctrsv ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
SuperMatrix ,
complex ,
int *   
)

◆ sp_ienv()

int sp_ienv ( int  )

Referenced by lu_solve().

◆ sp_preorder()

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

◆ spcoletree()

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

◆ StatFree()

void StatFree ( )

Referenced by lu_solve().

◆ StatInit()

void StatInit ( int  ,
int   
)

Referenced by lu_solve().

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

Referenced by own_ew_().