TBCI Numerical high perf. C++ Library 2.8.0
ssp_defs.h File Reference

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

#include "tbci/superlu/Cnames.h"
#include "tbci/superlu/supermatrix.h"
Include dependency graph for ssp_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 sgssv (SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
void sgssvx (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 sCreate_CompCol_Matrix (SuperMatrix *, int, int, int, float *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void sCopy_CompCol_Matrix (SuperMatrix *, SuperMatrix *)
void sCreate_Dense_Matrix (SuperMatrix *, int, int, float *, int, Stype_t, Dtype_t, Mtype_t)
void sCreate_SuperNode_Matrix (SuperMatrix *, int, int, int, float *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void sCopy_Dense_Matrix (int, int, float *, int, float *, 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 sallocateA (int, int, float **, 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 sgstrf (char *, SuperMatrix *, float, float, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
void relax_snode (int, int *, int, int *, int *)
int ssnode_dfs (const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
int ssnode_bmod (const int, const int, const int, float *, float *, GlobalLU_t *)
void spanel_dfs (const int, const int, const int, SuperMatrix *, int *, int *, float *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
void spanel_bmod (const int, const int, const int, const int, float *, float *, int *, int *, GlobalLU_t *)
int scolumn_dfs (const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
int scolumn_bmod (const int, const int, float *, float *, int *, int *, int, GlobalLU_t *)
int scopy_to_ucol (int, int, int *, int *, int *, float *, GlobalLU_t *)
int spivotL (const int, const float, int *, int *, int *, int *, int *, GlobalLU_t *)
void spruneL (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 sreadmt (int *, int *, int *, float **, int **, int **)
void sGenXtrue (int, int, float *, int)
void sFillRHS (char *, int, float *, int, SuperMatrix *, SuperMatrix *)
void sgstrs (char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
void sgsequ (SuperMatrix *, float *, float *, float *, float *, float *, int *)
void slaqgs (SuperMatrix *, float *, float *, float, float, float, char *)
void sgscon (char *, SuperMatrix *, SuperMatrix *, float, float *, int *)
float sPivotGrowth (int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
void sgsrfs (char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, float *, float *, int *)
int sp_strsv (char *, char *, char *, SuperMatrix *, SuperMatrix *, float *, int *)
int sp_sgemv (char *, float, SuperMatrix *, float *, int, float, float *, int)
int sp_sgemm (char *, char *, int, int, int, float, SuperMatrix *, float *, int, float, float *, int)
void superlu_abort_and_exit (char *)
void * superlu_malloc (int)
void superlu_free (void *)
int sLUMemInit (char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, float **)
void SetIWork (int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
void sSetRWork (int, int, float *, float **, float **)
void sLUWorkFree (int *, float *, GlobalLU_t *)
int sLUMemXpand (int, int, MemType, int *, GlobalLU_t *)
int * intMalloc (int)
int * intCalloc (int)
float * floatMalloc (int)
float * floatCalloc (int)
int memory_usage ()
int sQuerySpace (SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
void sCompRow_to_CompCol (int, int, int, float *, int *, int *, float **, int **, int **)
double SuperLU_timer_ ()
int sp_ienv (int)
int lsame_ (char *, char *)
int xerbla_ (char *, int *)
void ifill (int *, int, int)
void sfill (float *, int, float)
void inf_norm_error (int, SuperMatrix *, float *)
void snode_profile (int, int *)
void super_stats (int, int *)
void PrintSumm (char *, int, int, int)
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t *, float, float, float *, float *, char *)
void sPrint_CompCol_Matrix (char *, SuperMatrix *)
void sPrint_SuperNode_Matrix (char *, SuperMatrix *)
void sPrint_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, float *)
void check_repfnz (int, int, int, int *)

Detailed Description

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

Definition in file ssp_defs.h.

Macro Definition Documentation

◆ NO_MARKER

#define NO_MARKER   3

Definition at line 33 of file ssp_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 34 of file ssp_defs.h.

Enumeration Type Documentation

◆ LU_space_t

enum LU_space_t
Enumerator
SYSTEM 
USER 

Definition at line 38 of file ssp_defs.h.

◆ MemType

enum MemType
Enumerator
LUSUP 
UCOL 
LSUB 
USUB 

Definition at line 36 of file ssp_defs.h.

◆ stack_end_t

Enumerator
HEAD 
TAIL 

Definition at line 37 of file ssp_defs.h.

Function Documentation

◆ check_repfnz()

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

◆ check_tempv()

void check_tempv ( int ,
float *  )
extern

◆ countnz()

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

◆ 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

◆ 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

◆ floatCalloc()

float * floatCalloc ( int )
extern

◆ floatMalloc()

float * floatMalloc ( int )
extern

◆ get_perm_c()

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

◆ ifill()

void ifill ( int * ,
int ,
int  )
extern

◆ inf_norm_error()

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

◆ intCalloc()

int * intCalloc ( int )
extern

◆ intMalloc()

int * intMalloc ( int )
extern

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

◆ 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

◆ sallocateA()

void sallocateA ( int ,
int ,
float ** ,
int ** ,
int **  )
extern

◆ scolumn_bmod()

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

◆ scolumn_dfs()

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

◆ sCompRow_to_CompCol()

void sCompRow_to_CompCol ( int ,
int ,
int ,
float * ,
int * ,
int * ,
float ** ,
int ** ,
int **  )
extern

◆ sCopy_CompCol_Matrix()

void sCopy_CompCol_Matrix ( SuperMatrix * ,
SuperMatrix *  )
extern

◆ sCopy_Dense_Matrix()

void sCopy_Dense_Matrix ( int ,
int ,
float * ,
int ,
float * ,
int  )
extern

◆ scopy_to_ucol()

int scopy_to_ucol ( int ,
int ,
int * ,
int * ,
int * ,
float * ,
GlobalLU_t *  )
extern

◆ sCreate_CompCol_Matrix()

void sCreate_CompCol_Matrix ( SuperMatrix * ,
int ,
int ,
int ,
float * ,
int * ,
int * ,
Stype_t ,
Dtype_t ,
Mtype_t  )
extern

◆ sCreate_Dense_Matrix()

void sCreate_Dense_Matrix ( SuperMatrix * ,
int ,
int ,
float * ,
int ,
Stype_t ,
Dtype_t ,
Mtype_t  )
extern

◆ sCreate_SuperNode_Matrix()

void sCreate_SuperNode_Matrix ( SuperMatrix * ,
int ,
int ,
int ,
float * ,
int * ,
int * ,
int * ,
int * ,
int * ,
Stype_t ,
Dtype_t ,
Mtype_t  )
extern

◆ SetIWork()

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

◆ sfill()

void sfill ( float * ,
int ,
float  )
extern

◆ sFillRHS()

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

◆ sGenXtrue()

void sGenXtrue ( int ,
int ,
float * ,
int  )
extern

◆ sgscon()

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

◆ sgsequ()

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

◆ sgsrfs()

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

◆ sgssv()

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

◆ sgssvx()

void sgssvx ( 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

◆ sgstrf()

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

◆ sgstrs()

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

◆ slaqgs()

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

◆ sLUMemInit()

int sLUMemInit ( char * ,
void * ,
int ,
int ,
int ,
int ,
int ,
SuperMatrix * ,
SuperMatrix * ,
GlobalLU_t * ,
int ** ,
float **  )
extern

◆ sLUMemXpand()

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

◆ sLUWorkFree()

void sLUWorkFree ( int * ,
float * ,
GlobalLU_t *  )
extern

◆ snode_profile()

void snode_profile ( int ,
int *  )
extern

◆ sp_coletree()

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

◆ sp_ienv()

int sp_ienv ( int )
extern

◆ sp_preorder()

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

◆ sp_sgemm()

int sp_sgemm ( char * ,
char * ,
int ,
int ,
int ,
float ,
SuperMatrix * ,
float * ,
int ,
float ,
float * ,
int  )
extern

◆ sp_sgemv()

int sp_sgemv ( char * ,
float ,
SuperMatrix * ,
float * ,
int ,
float ,
float * ,
int  )
extern

◆ sp_strsv()

int sp_strsv ( char * ,
char * ,
char * ,
SuperMatrix * ,
SuperMatrix * ,
float * ,
int *  )
extern

◆ spanel_bmod()

void spanel_bmod ( const int ,
const int ,
const int ,
const int ,
float * ,
float * ,
int * ,
int * ,
GlobalLU_t *  )
extern

◆ spanel_dfs()

void spanel_dfs ( const int ,
const int ,
const int ,
SuperMatrix * ,
int * ,
int * ,
float * ,
int * ,
int * ,
int * ,
int * ,
int * ,
int * ,
int * ,
GlobalLU_t *  )
extern

◆ spcoletree()

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

◆ sPivotGrowth()

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

◆ spivotL()

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

◆ sPrint_CompCol_Matrix()

void sPrint_CompCol_Matrix ( char * ,
SuperMatrix *  )
extern

◆ sPrint_Dense_Matrix()

void sPrint_Dense_Matrix ( char * ,
SuperMatrix *  )
extern

◆ sPrint_SuperNode_Matrix()

void sPrint_SuperNode_Matrix ( char * ,
SuperMatrix *  )
extern

◆ spruneL()

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

◆ sQuerySpace()

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

◆ sreadmt()

void sreadmt ( int * ,
int * ,
int * ,
float ** ,
int ** ,
int **  )
extern

◆ sSetRWork()

void sSetRWork ( int ,
int ,
float * ,
float ** ,
float **  )
extern

◆ ssnode_bmod()

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

◆ ssnode_dfs()

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

◆ StatFree()

void StatFree ( )
extern

◆ StatInit()

void StatInit ( int ,
int  )
extern

◆ 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