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 callocateA(), and complex.

Referenced by callocateA().

◆ ccolumn_bmod()

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

References ccolumn_bmod(), and complex.

Referenced by ccolumn_bmod().

◆ ccolumn_dfs()

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

References ccolumn_dfs().

Referenced by ccolumn_dfs().

◆ cCompRow_to_CompCol()

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

References cCompRow_to_CompCol(), and complex.

Referenced by cCompRow_to_CompCol().

◆ cCopy_CompCol_Matrix()

void cCopy_CompCol_Matrix ( SuperMatrix * ,
SuperMatrix *  )
extern

References cCopy_CompCol_Matrix().

Referenced by cCopy_CompCol_Matrix().

◆ cCopy_Dense_Matrix()

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

References cCopy_Dense_Matrix(), and complex.

Referenced by cCopy_Dense_Matrix().

◆ ccopy_to_ucol()

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

References ccopy_to_ucol(), and complex.

Referenced by ccopy_to_ucol().

◆ cCreate_CompCol_Matrix()

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

◆ cCreate_Dense_Matrix()

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

References cCreate_Dense_Matrix(), and complex.

Referenced by cCreate_Dense_Matrix().

◆ cCreate_SuperNode_Matrix()

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

◆ cfill()

void cfill ( complex * ,
int ,
complex  )
extern

References cfill(), and complex.

Referenced by cfill().

◆ cFillRHS()

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

References cFillRHS(), and complex.

Referenced by cFillRHS().

◆ cGenXtrue()

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

References cGenXtrue(), and complex.

Referenced by cGenXtrue().

◆ cgscon()

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

References cgscon().

Referenced by cgscon().

◆ cgsequ()

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

References cgsequ().

Referenced by cgsequ().

◆ cgsrfs()

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

References cgsrfs().

Referenced by cgsrfs().

◆ cgssv()

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

References cgssv().

Referenced by cgssv().

◆ 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

References cgssvx().

Referenced by cgssvx().

◆ cgstrf()

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

References cgstrf().

Referenced by cgstrf().

◆ cgstrs()

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

References cgstrs().

Referenced by cgstrs().

◆ check_repfnz()

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

References check_repfnz().

Referenced by check_repfnz().

◆ check_tempv()

void check_tempv ( int ,
complex *  )
extern

◆ claqgs()

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

References claqgs().

Referenced by claqgs().

◆ cLUMemInit()

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

References cLUMemInit(), and complex.

Referenced by cLUMemInit().

◆ cLUMemXpand()

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

References cLUMemXpand().

Referenced by cLUMemXpand().

◆ cLUWorkFree()

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

References cLUWorkFree(), and complex.

Referenced by cLUWorkFree().

◆ complexCalloc()

complex * complexCalloc ( int )
extern

References complex, and complexCalloc().

Referenced by complexCalloc().

◆ complexMalloc()

complex * complexMalloc ( int )
extern

References complex, and complexMalloc().

Referenced by complexMalloc().

◆ countnz()

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

References countnz().

Referenced by countnz().

◆ cpanel_bmod()

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

References complex, and cpanel_bmod().

Referenced by cpanel_bmod().

◆ 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, and cpanel_dfs().

Referenced by cpanel_dfs().

◆ cPivotGrowth()

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

References cPivotGrowth().

Referenced by cPivotGrowth().

◆ cpivotL()

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

References cpivotL().

Referenced by cpivotL().

◆ cPrint_CompCol_Matrix()

void cPrint_CompCol_Matrix ( char * ,
SuperMatrix *  )
extern

◆ cPrint_Dense_Matrix()

void cPrint_Dense_Matrix ( char * ,
SuperMatrix *  )
extern

References cPrint_Dense_Matrix().

Referenced by cPrint_Dense_Matrix().

◆ 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

References cpruneL().

Referenced by cpruneL().

◆ cQuerySpace()

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

References cQuerySpace().

Referenced by cQuerySpace().

◆ creadmt()

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

References complex, and creadmt().

Referenced by creadmt().

◆ cSetRWork()

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

References complex, and cSetRWork().

Referenced by cSetRWork().

◆ csnode_bmod()

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

References complex, and csnode_bmod().

Referenced by csnode_bmod().

◆ csnode_dfs()

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

References csnode_dfs().

Referenced by csnode_dfs().

◆ Destroy_CompCol_Matrix()

void Destroy_CompCol_Matrix ( SuperMatrix * )
extern

◆ Destroy_CompCol_Permuted()

void Destroy_CompCol_Permuted ( SuperMatrix * )
extern

◆ Destroy_Dense_Matrix()

void Destroy_Dense_Matrix ( SuperMatrix * )
extern

References Destroy_Dense_Matrix().

Referenced by Destroy_Dense_Matrix().

◆ Destroy_SuperMatrix_Store()

void Destroy_SuperMatrix_Store ( SuperMatrix * )
extern

◆ Destroy_SuperNode_Matrix()

void Destroy_SuperNode_Matrix ( SuperMatrix * )
extern

◆ fixupL()

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

References fixupL().

Referenced by fixupL().

◆ floatCalloc()

float * floatCalloc ( int )
extern

References floatCalloc(), and superlu_malloc().

Referenced by floatCalloc().

◆ floatMalloc()

float * floatMalloc ( int )
extern

References floatMalloc().

Referenced by floatMalloc().

◆ get_perm_c()

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

References get_perm_c().

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

◆ ifill()

void ifill ( int * ,
int ,
int  )
extern

References ifill().

Referenced by ifill().

◆ inf_norm_error()

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

◆ intCalloc()

int * intCalloc ( int )
extern

References intCalloc().

Referenced by intCalloc().

◆ intMalloc()

int * intMalloc ( int )
extern

References intMalloc().

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

◆ lsame_()

int lsame_ ( char * ,
char *  )
extern

References lsame_().

Referenced by lsame_().

◆ memory_usage()

int memory_usage ( )
extern

References memory_usage().

Referenced by memory_usage().

◆ print_lu_col()

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

References print_lu_col().

Referenced by print_lu_col().

◆ print_panel_seg()

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

References print_panel_seg().

Referenced by print_panel_seg().

◆ PrintPerf()

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

References complex, and PrintPerf().

Referenced by PrintPerf(), PrintPerf(), PrintPerf(), and PrintPerf().

◆ PrintSumm()

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

References PrintSumm().

Referenced by PrintSumm().

◆ relax_snode()

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

References relax_snode().

Referenced by relax_snode().

◆ resetrep_col()

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

References resetrep_col().

Referenced by resetrep_col().

◆ SetIWork()

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

References SetIWork().

Referenced by SetIWork().

◆ snode_profile()

void snode_profile ( int ,
int *  )
extern

References snode_profile().

Referenced by snode_profile().

◆ sp_cgemm()

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

References complex, and sp_cgemm().

Referenced by sp_cgemm().

◆ sp_cgemv()

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

References complex, and sp_cgemv().

Referenced by sp_cgemv().

◆ sp_coletree()

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

References sp_coletree().

Referenced by sp_coletree().

◆ sp_ctrsv()

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

References complex, and sp_ctrsv().

Referenced by sp_ctrsv().

◆ sp_ienv()

int sp_ienv ( int )
extern

References sp_ienv().

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

◆ sp_preorder()

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

References sp_preorder().

Referenced by sp_preorder().

◆ spcoletree()

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

References spcoletree().

Referenced by spcoletree().

◆ StatFree()

void StatFree ( )
extern

References StatFree().

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

◆ StatInit()

void StatInit ( int ,
int  )
extern

References StatInit().

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

◆ super_stats()

void super_stats ( int ,
int *  )
extern

References super_stats().

Referenced by super_stats().

◆ superlu_abort_and_exit()

void superlu_abort_and_exit ( char * )
extern

◆ superlu_free()

void superlu_free ( void * )
extern

References superlu_free().

Referenced by superlu_free().

◆ superlu_malloc()

void * superlu_malloc ( int )
extern

◆ SuperLU_timer_()

double SuperLU_timer_ ( )
extern

References SuperLU_timer_().

Referenced by SuperLU_timer_().

◆ TreePostorder()

int * TreePostorder ( int ,
int *  )
extern

References TreePostorder().

Referenced by TreePostorder().

◆ xerbla_()

int xerbla_ ( char * ,
int *  )
extern

References xerbla_().

Referenced by own_ew_(), and xerbla_().