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

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

#include "tbci/superlu/Cnames.h"
#include "tbci/superlu/supermatrix.h"
Include dependency graph for dsp_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 dgssv (SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
 
void dgssvx (char *, char *, char *, SuperMatrix *, factor_param_t *, int *, int *, int *, char *, double *, double *, SuperMatrix *, SuperMatrix *, void *, int, SuperMatrix *, SuperMatrix *, double *, double *, double *, double *, mem_usage_t *, int *)
 
void dCreate_CompCol_Matrix (SuperMatrix *, int, int, int, double *, int *, int *, Stype_t, Dtype_t, Mtype_t)
 
void dCopy_CompCol_Matrix (SuperMatrix *, SuperMatrix *)
 
void dCreate_Dense_Matrix (SuperMatrix *, int, int, double *, int, Stype_t, Dtype_t, Mtype_t)
 
void dCreate_SuperNode_Matrix (SuperMatrix *, int, int, int, double *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
 
void dCopy_Dense_Matrix (int, int, double *, int, double *, 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 dallocateA (int, int, double **, 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 dgstrf (char *, SuperMatrix *, double, double, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
 
void relax_snode (int, int *, int, int *, int *)
 
int dsnode_dfs (const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
 
int dsnode_bmod (const int, const int, const int, double *, double *, GlobalLU_t *)
 
void dpanel_dfs (const int, const int, const int, SuperMatrix *, int *, int *, double *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
 
void dpanel_bmod (const int, const int, const int, const int, double *, double *, int *, int *, GlobalLU_t *)
 
int dcolumn_dfs (const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
 
int dcolumn_bmod (const int, const int, double *, double *, int *, int *, int, GlobalLU_t *)
 
int dcopy_to_ucol (int, int, int *, int *, int *, double *, GlobalLU_t *)
 
int dpivotL (const int, const double, int *, int *, int *, int *, int *, GlobalLU_t *)
 
void dpruneL (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 dreadmt (int *, int *, int *, double **, int **, int **)
 
void dGenXtrue (int, int, double *, int)
 
void dFillRHS (char *, int, double *, int, SuperMatrix *, SuperMatrix *)
 
void dgstrs (char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
 
void dgsequ (SuperMatrix *, double *, double *, double *, double *, double *, int *)
 
void dlaqgs (SuperMatrix *, double *, double *, double, double, double, char *)
 
void dgscon (char *, SuperMatrix *, SuperMatrix *, double, double *, int *)
 
double dPivotGrowth (int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
 
void dgsrfs (char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, double *, double *, SuperMatrix *, SuperMatrix *, double *, double *, int *)
 
int sp_dtrsv (char *, char *, char *, SuperMatrix *, SuperMatrix *, double *, int *)
 
int sp_dgemv (char *, double, SuperMatrix *, double *, int, double, double *, int)
 
int sp_dgemm (char *, char *, int, int, int, double, SuperMatrix *, double *, int, double, double *, int)
 
void superlu_abort_and_exit (char *)
 
void * superlu_malloc (int)
 
void superlu_free (void *)
 
int dLUMemInit (char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, double **)
 
void SetIWork (int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
 
void dSetRWork (int, int, double *, double **, double **)
 
void dLUWorkFree (int *, double *, GlobalLU_t *)
 
int dLUMemXpand (int, int, MemType, int *, GlobalLU_t *)
 
int * intMalloc (int)
 
int * intCalloc (int)
 
double * doubleMalloc (int)
 
double * doubleCalloc (int)
 
int memory_usage ()
 
int dQuerySpace (SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
 
void dCompRow_to_CompCol (int, int, int, double *, int *, int *, double **, int **, int **)
 
double SuperLU_timer_ ()
 
int sp_ienv (int)
 
int lsame_ (char *, char *)
 
int xerbla_ (char *, int *)
 
void ifill (int *, int, int)
 
void dfill (double *, int, double)
 
void inf_norm_error (int, SuperMatrix *, double *)
 
void snode_profile (int, int *)
 
void super_stats (int, int *)
 
void PrintSumm (char *, int, int, int)
 
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t *, double, double, double *, double *, char *)
 
void dPrint_CompCol_Matrix (char *, SuperMatrix *)
 
void dPrint_SuperNode_Matrix (char *, SuperMatrix *)
 
void dPrint_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, double *)
 
void check_repfnz (int, int, int, int *)
 

Detailed Description

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

Definition in file dsp_defs.h.

Macro Definition Documentation

◆ NO_MARKER

#define NO_MARKER   3

Definition at line 33 of file dsp_defs.h.

◆ NUM_TEMPV

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

Definition at line 34 of file dsp_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 dsp_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 dsp_defs.h.

◆ stack_end_t

Enumerator
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 
HEAD 
TAIL 

Definition at line 37 of file dsp_defs.h.

Function Documentation

◆ check_repfnz()

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

◆ check_tempv()

void check_tempv ( int  ,
double *   
)

◆ countnz()

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

◆ dallocateA()

void dallocateA ( int  ,
int  ,
double **  ,
int **  ,
int **   
)

◆ dcolumn_bmod()

int dcolumn_bmod ( const int  ,
const int  ,
double *  ,
double *  ,
int *  ,
int *  ,
int  ,
GlobalLU_t  
)

◆ dcolumn_dfs()

int dcolumn_dfs ( const int  ,
const int  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ dCompRow_to_CompCol()

void dCompRow_to_CompCol ( int  ,
int  ,
int  ,
double *  ,
int *  ,
int *  ,
double **  ,
int **  ,
int **   
)

◆ dCopy_CompCol_Matrix()

void dCopy_CompCol_Matrix ( SuperMatrix ,
SuperMatrix  
)

◆ dCopy_Dense_Matrix()

void dCopy_Dense_Matrix ( int  ,
int  ,
double *  ,
int  ,
double *  ,
int   
)

◆ dcopy_to_ucol()

int dcopy_to_ucol ( int  ,
int  ,
int *  ,
int *  ,
int *  ,
double *  ,
GlobalLU_t  
)

◆ dCreate_CompCol_Matrix()

void dCreate_CompCol_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
double *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

Referenced by lu_solve().

◆ dCreate_Dense_Matrix()

void dCreate_Dense_Matrix ( SuperMatrix ,
int  ,
int  ,
double *  ,
int  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)

Referenced by lu_solve().

◆ dCreate_SuperNode_Matrix()

void dCreate_SuperNode_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
double *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_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 )

◆ dfill()

void dfill ( double *  ,
int  ,
double   
)

◆ dFillRHS()

void dFillRHS ( char *  ,
int  ,
double *  ,
int  ,
SuperMatrix ,
SuperMatrix  
)

◆ dGenXtrue()

void dGenXtrue ( int  ,
int  ,
double *  ,
int   
)

◆ dgscon()

void dgscon ( char *  ,
SuperMatrix ,
SuperMatrix ,
double  ,
double *  ,
int *   
)

◆ dgsequ()

void dgsequ ( SuperMatrix ,
double *  ,
double *  ,
double *  ,
double *  ,
double *  ,
int *   
)

◆ dgsrfs()

void dgsrfs ( char *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
char *  ,
double *  ,
double *  ,
SuperMatrix ,
SuperMatrix ,
double *  ,
double *  ,
int *   
)

◆ dgssv()

void dgssv ( SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *   
)

Referenced by lu_solve().

◆ dgssvx()

void dgssvx ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
factor_param_t ,
int *  ,
int *  ,
int *  ,
char *  ,
double *  ,
double *  ,
SuperMatrix ,
SuperMatrix ,
void *  ,
int  ,
SuperMatrix ,
SuperMatrix ,
double *  ,
double *  ,
double *  ,
double *  ,
mem_usage_t ,
int *   
)

◆ dgstrf()

void dgstrf ( char *  ,
SuperMatrix ,
double  ,
double  ,
int  ,
int  ,
int *  ,
void *  ,
int  ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
int *   
)

◆ dgstrs()

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

◆ dlaqgs()

void dlaqgs ( SuperMatrix ,
double *  ,
double *  ,
double  ,
double  ,
double  ,
char *   
)

◆ dLUMemInit()

int dLUMemInit ( char *  ,
void *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
SuperMatrix ,
SuperMatrix ,
GlobalLU_t ,
int **  ,
double **   
)

◆ dLUMemXpand()

int dLUMemXpand ( int  ,
int  ,
MemType  ,
int *  ,
GlobalLU_t  
)

◆ dLUWorkFree()

void dLUWorkFree ( int *  ,
double *  ,
GlobalLU_t  
)

◆ doubleCalloc()

double* doubleCalloc ( int  )

◆ doubleMalloc()

double* doubleMalloc ( int  )

◆ dpanel_bmod()

void dpanel_bmod ( const int  ,
const int  ,
const int  ,
const int  ,
double *  ,
double *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ dpanel_dfs()

void dpanel_dfs ( const int  ,
const int  ,
const int  ,
SuperMatrix ,
int *  ,
int *  ,
double *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ dPivotGrowth()

double dPivotGrowth ( int  ,
SuperMatrix ,
int *  ,
SuperMatrix ,
SuperMatrix  
)

◆ dpivotL()

int dpivotL ( const int  ,
const double  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ dPrint_CompCol_Matrix()

void dPrint_CompCol_Matrix ( char *  ,
SuperMatrix  
)

◆ dPrint_Dense_Matrix()

void dPrint_Dense_Matrix ( char *  ,
SuperMatrix  
)

◆ dPrint_SuperNode_Matrix()

void dPrint_SuperNode_Matrix ( char *  ,
SuperMatrix  
)

◆ dpruneL()

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

◆ dQuerySpace()

int dQuerySpace ( SuperMatrix ,
SuperMatrix ,
int  ,
mem_usage_t  
)

Referenced by lu_solve().

◆ dreadmt()

void dreadmt ( int *  ,
int *  ,
int *  ,
double **  ,
int **  ,
int **   
)

◆ dSetRWork()

void dSetRWork ( int  ,
int  ,
double *  ,
double **  ,
double **   
)

◆ dsnode_bmod()

int dsnode_bmod ( const int  ,
const int  ,
const int  ,
double *  ,
double *  ,
GlobalLU_t  
)

◆ dsnode_dfs()

int dsnode_dfs ( const int  ,
const int  ,
const int *  ,
const int *  ,
const int *  ,
int *  ,
int *  ,
GlobalLU_t  
)

◆ fixupL()

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

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

◆ 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 ,
double  ,
double  ,
double *  ,
double *  ,
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_coletree()

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

◆ sp_dgemm()

int sp_dgemm ( char *  ,
char *  ,
int  ,
int  ,
int  ,
double  ,
SuperMatrix ,
double *  ,
int  ,
double  ,
double *  ,
int   
)

◆ sp_dgemv()

int sp_dgemv ( char *  ,
double  ,
SuperMatrix ,
double *  ,
int  ,
double  ,
double *  ,
int   
)

◆ sp_dtrsv()

int sp_dtrsv ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
SuperMatrix ,
double *  ,
int *   
)

◆ sp_ienv()

int sp_ienv ( int  )

◆ sp_preorder()

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

◆ spcoletree()

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

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