TBCI Numerical high perf. C++ Library 2.8.0
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)

Enumerations

enum  MemType { LUSUP , UCOL , LSUB , USUB }
enum  stack_end_t { HEAD , TAIL }
enum  LU_space_t { 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 )
Value:
( MAX(m, (t + b)*w) )
#define MAX(a, b)
Definition basics.h:656
F_TMatrix< T > b
Definition f_matrix.h:736

Definition at line 36 of file csp_defs.h.

Enumeration Type Documentation

◆ LU_space_t

enum LU_space_t
Enumerator
SYSTEM 
USER 

Definition at line 40 of file csp_defs.h.

◆ MemType

enum MemType
Enumerator
LUSUP 
UCOL 
LSUB 
USUB 

Definition at line 38 of file csp_defs.h.

◆ stack_end_t

Enumerator
HEAD 
TAIL 

Definition at line 39 of file csp_defs.h.

Function Documentation

◆ callocateA()

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

References complex.

◆ ccolumn_bmod()

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

References complex.

◆ ccolumn_dfs()

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

◆ cCompRow_to_CompCol()

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

References complex.

◆ cCopy_CompCol_Matrix()

void cCopy_CompCol_Matrix ( SuperMatrix * ,
SuperMatrix *  )
extern

◆ cCopy_Dense_Matrix()

void cCopy_Dense_Matrix ( int ,
int ,
complex * ,
int ,
complex * ,
int  )
extern

References complex.

◆ ccopy_to_ucol()

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

References complex.

◆ cCreate_CompCol_Matrix()

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

References complex.

◆ cCreate_Dense_Matrix()

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

References complex.

◆ cCreate_SuperNode_Matrix()

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

References complex.

◆ cfill()

void cfill ( complex * ,
int ,
complex  )
extern

References complex.

◆ cFillRHS()

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

References complex.

◆ cGenXtrue()

void cGenXtrue ( int ,
int ,
complex * ,
int  )
extern

References complex.

◆ cgscon()

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

◆ cgsequ()

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

◆ cgsrfs()

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

◆ cgssv()

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

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

◆ cgstrf()

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

◆ cgstrs()

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

◆ check_repfnz()

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

◆ check_tempv()

void check_tempv ( int ,
complex *  )
extern

References complex.

◆ claqgs()

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

◆ cLUMemInit()

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

References complex.

◆ cLUMemXpand()

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

◆ cLUWorkFree()

void cLUWorkFree ( int * ,
complex * ,
GlobalLU_t *  )
extern

References complex.

◆ complexCalloc()

complex * complexCalloc ( int )
extern

References complex.

◆ complexMalloc()

complex * complexMalloc ( int )
extern

References complex.

◆ countnz()

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

◆ cpanel_bmod()

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

References complex.

◆ cpanel_dfs()

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

References complex.

◆ cPivotGrowth()

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

◆ cpivotL()

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

◆ cPrint_CompCol_Matrix()

void cPrint_CompCol_Matrix ( char * ,
SuperMatrix *  )
extern

◆ cPrint_Dense_Matrix()

void cPrint_Dense_Matrix ( char * ,
SuperMatrix *  )
extern

◆ cPrint_SuperNode_Matrix()

void cPrint_SuperNode_Matrix ( char * ,
SuperMatrix *  )
extern

◆ cpruneL()

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

◆ cQuerySpace()

int cQuerySpace ( SuperMatrix * ,
SuperMatrix * ,
int ,
mem_usage_t *  )
extern

◆ creadmt()

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

References complex.

◆ cSetRWork()

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

References complex.

◆ csnode_bmod()

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

References complex.

◆ csnode_dfs()

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

◆ Destroy_CompCol_Matrix()

void Destroy_CompCol_Matrix ( SuperMatrix * )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ Destroy_CompCol_Permuted()

void Destroy_CompCol_Permuted ( SuperMatrix * )
extern

◆ Destroy_Dense_Matrix()

void Destroy_Dense_Matrix ( SuperMatrix * )
extern

◆ Destroy_SuperMatrix_Store()

void Destroy_SuperMatrix_Store ( SuperMatrix * )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ Destroy_SuperNode_Matrix()

void Destroy_SuperNode_Matrix ( SuperMatrix * )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ fixupL()

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

◆ floatCalloc()

float * floatCalloc ( int )
extern

◆ floatMalloc()

float * floatMalloc ( int )
extern

◆ get_perm_c()

void get_perm_c ( int ,
SuperMatrix * ,
int *  )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ ifill()

void ifill ( int * ,
int ,
int  )
extern

◆ inf_norm_error()

void inf_norm_error ( int ,
SuperMatrix * ,
complex *  )
extern

References complex.

◆ intCalloc()

int * intCalloc ( int )
extern

◆ intMalloc()

int * intMalloc ( int )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ lsame_()

int lsame_ ( char * ,
char *  )
extern

◆ memory_usage()

int memory_usage ( )
extern

◆ print_lu_col()

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

◆ print_panel_seg()

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

◆ PrintPerf()

void PrintPerf ( SuperMatrix * ,
SuperMatrix * ,
mem_usage_t * ,
complex ,
complex ,
complex * ,
complex * ,
char *  )
extern

References complex.

◆ PrintSumm()

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

◆ relax_snode()

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

◆ resetrep_col()

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

◆ SetIWork()

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

◆ snode_profile()

void snode_profile ( int ,
int *  )
extern

◆ sp_cgemm()

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

References complex.

◆ sp_cgemv()

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

References complex.

◆ sp_coletree()

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

◆ sp_ctrsv()

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

References complex.

◆ sp_ienv()

int sp_ienv ( int )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ sp_preorder()

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

◆ spcoletree()

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

◆ StatFree()

void StatFree ( )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ StatInit()

void StatInit ( int ,
int  )
extern

Referenced by lu_solve(), lu_solve(), and lu_solve().

◆ super_stats()

void super_stats ( int ,
int *  )
extern

◆ superlu_abort_and_exit()

void superlu_abort_and_exit ( char * )
extern

◆ superlu_free()

void superlu_free ( void * )
extern

◆ superlu_malloc()

void * superlu_malloc ( int )
extern

◆ SuperLU_timer_()

double SuperLU_timer_ ( )
extern

◆ TreePostorder()

int * TreePostorder ( int ,
int *  )
extern

◆ xerbla_()

int xerbla_ ( char * ,
int *  )
extern

Referenced by own_ew_().