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

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

#include "tbci/superlu/Cnames.h"
#include "tbci/superlu/supermatrix.h"
#include "tbci/superlu/dcomplex.h"
Include dependency graph for zsp_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 zgssv (SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *)
void zgssvx (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 zCreate_CompCol_Matrix (SuperMatrix *, int, int, int, doublecomplex *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void zCopy_CompCol_Matrix (SuperMatrix *, SuperMatrix *)
void zCreate_Dense_Matrix (SuperMatrix *, int, int, doublecomplex *, int, Stype_t, Dtype_t, Mtype_t)
void zCreate_SuperNode_Matrix (SuperMatrix *, int, int, int, doublecomplex *, int *, int *, int *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void zCopy_Dense_Matrix (int, int, doublecomplex *, int, doublecomplex *, 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 zallocateA (int, int, doublecomplex **, 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 zgstrf (char *, SuperMatrix *, double, double, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, int *)
void relax_snode (int, int *, int, int *, int *)
int zsnode_dfs (const int, const int, const int *, const int *, const int *, int *, int *, GlobalLU_t *)
int zsnode_bmod (const int, const int, const int, doublecomplex *, doublecomplex *, GlobalLU_t *)
void zpanel_dfs (const int, const int, const int, SuperMatrix *, int *, int *, doublecomplex *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
void zpanel_bmod (const int, const int, const int, const int, doublecomplex *, doublecomplex *, int *, int *, GlobalLU_t *)
int zcolumn_dfs (const int, const int, int *, int *, int *, int *, int *, int *, int *, int *, int *, GlobalLU_t *)
int zcolumn_bmod (const int, const int, doublecomplex *, doublecomplex *, int *, int *, int, GlobalLU_t *)
int zcopy_to_ucol (int, int, int *, int *, int *, doublecomplex *, GlobalLU_t *)
int zpivotL (const int, const double, int *, int *, int *, int *, int *, GlobalLU_t *)
void zpruneL (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 zreadmt (int *, int *, int *, doublecomplex **, int **, int **)
void zGenXtrue (int, int, doublecomplex *, int)
void zFillRHS (char *, int, doublecomplex *, int, SuperMatrix *, SuperMatrix *)
void zgstrs (char *, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, int *)
void zgsequ (SuperMatrix *, double *, double *, double *, double *, double *, int *)
void zlaqgs (SuperMatrix *, double *, double *, double, double, double, char *)
void zgscon (char *, SuperMatrix *, SuperMatrix *, double, double *, int *)
double zPivotGrowth (int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
void zgsrfs (char *, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, double *, double *, SuperMatrix *, SuperMatrix *, double *, double *, int *)
int sp_ztrsv (char *, char *, char *, SuperMatrix *, SuperMatrix *, doublecomplex *, int *)
int sp_zgemv (char *, doublecomplex, SuperMatrix *, doublecomplex *, int, doublecomplex, doublecomplex *, int)
int sp_zgemm (char *, char *, int, int, int, doublecomplex, SuperMatrix *, doublecomplex *, int, doublecomplex, doublecomplex *, int)
void superlu_abort_and_exit (char *)
void * superlu_malloc (int)
void superlu_free (void *)
int zLUMemInit (char *, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, doublecomplex **)
void SetIWork (int, int, int, int *, int **, int **, int **, int **, int **, int **, int **)
void zSetRWork (int, int, doublecomplex *, doublecomplex **, doublecomplex **)
void zLUWorkFree (int *, doublecomplex *, GlobalLU_t *)
int zLUMemXpand (int, int, MemType, int *, GlobalLU_t *)
int * intMalloc (int)
int * intCalloc (int)
doublecomplexdoublecomplexMalloc (int)
doublecomplexdoublecomplexCalloc (int)
double * doubleMalloc (int)
double * doubleCalloc (int)
int memory_usage ()
int zQuerySpace (SuperMatrix *, SuperMatrix *, int, mem_usage_t *)
void zCompRow_to_CompCol (int, int, int, doublecomplex *, int *, int *, doublecomplex **, int **, int **)
double SuperLU_timer_ ()
int sp_ienv (int)
int lsame_ (char *, char *)
int xerbla_ (char *, int *)
void ifill (int *, int, int)
void zfill (doublecomplex *, int, doublecomplex)
void inf_norm_error (int, SuperMatrix *, doublecomplex *)
void snode_profile (int, int *)
void super_stats (int, int *)
void PrintSumm (char *, int, int, int)
void PrintPerf (SuperMatrix *, SuperMatrix *, mem_usage_t *, doublecomplex, doublecomplex, doublecomplex *, doublecomplex *, char *)
void zPrint_CompCol_Matrix (char *, SuperMatrix *)
void zPrint_SuperNode_Matrix (char *, SuperMatrix *)
void zPrint_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, doublecomplex *)
void check_repfnz (int, int, int, int *)

Detailed Description

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

Definition in file zsp_defs.h.

Macro Definition Documentation

◆ NO_MARKER

#define NO_MARKER   3

Definition at line 34 of file zsp_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 35 of file zsp_defs.h.

Enumeration Type Documentation

◆ LU_space_t

enum LU_space_t
Enumerator
SYSTEM 
USER 

Definition at line 39 of file zsp_defs.h.

◆ MemType

enum MemType
Enumerator
LUSUP 
UCOL 
LSUB 
USUB 

Definition at line 37 of file zsp_defs.h.

◆ stack_end_t

Enumerator
HEAD 
TAIL 

Definition at line 38 of file zsp_defs.h.

Function Documentation

◆ check_repfnz()

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

References check_repfnz().

◆ check_tempv()

void check_tempv ( int ,
doublecomplex *  )
extern

References check_tempv(), and doublecomplex.

◆ countnz()

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

References countnz().

◆ 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

◆ doubleCalloc()

double * doubleCalloc ( int )
extern

References doubleCalloc(), and superlu_malloc().

◆ doublecomplexCalloc()

doublecomplex * doublecomplexCalloc ( int )
extern

◆ doublecomplexMalloc()

doublecomplex * doublecomplexMalloc ( int )
extern

◆ doubleMalloc()

double * doubleMalloc ( int )
extern

References doubleMalloc().

◆ fixupL()

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

References fixupL().

◆ get_perm_c()

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

References get_perm_c().

◆ ifill()

void ifill ( int * ,
int ,
int  )
extern

References ifill().

◆ inf_norm_error()

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

References doublecomplex, and inf_norm_error().

◆ intCalloc()

int * intCalloc ( int )
extern

References intCalloc().

◆ intMalloc()

int * intMalloc ( int )
extern

References intMalloc().

◆ lsame_()

int lsame_ ( char * ,
char *  )
extern

References lsame_().

◆ memory_usage()

int memory_usage ( )
extern

References memory_usage().

◆ print_lu_col()

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

References print_lu_col().

◆ print_panel_seg()

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

References print_panel_seg().

◆ PrintPerf()

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

References doublecomplex, and PrintPerf().

◆ PrintSumm()

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

References PrintSumm().

◆ relax_snode()

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

References relax_snode().

◆ resetrep_col()

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

References resetrep_col().

◆ SetIWork()

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

References SetIWork().

◆ snode_profile()

void snode_profile ( int ,
int *  )
extern

References snode_profile().

◆ sp_coletree()

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

References sp_coletree().

◆ sp_ienv()

int sp_ienv ( int )
extern

References sp_ienv().

◆ sp_preorder()

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

References sp_preorder().

◆ sp_zgemm()

int sp_zgemm ( char * ,
char * ,
int ,
int ,
int ,
doublecomplex ,
SuperMatrix * ,
doublecomplex * ,
int ,
doublecomplex ,
doublecomplex * ,
int  )
extern

References doublecomplex, and sp_zgemm().

Referenced by sp_zgemm().

◆ sp_zgemv()

int sp_zgemv ( char * ,
doublecomplex ,
SuperMatrix * ,
doublecomplex * ,
int ,
doublecomplex ,
doublecomplex * ,
int  )
extern

References doublecomplex, and sp_zgemv().

Referenced by sp_zgemv().

◆ sp_ztrsv()

int sp_ztrsv ( char * ,
char * ,
char * ,
SuperMatrix * ,
SuperMatrix * ,
doublecomplex * ,
int *  )
extern

References doublecomplex, and sp_ztrsv().

Referenced by sp_ztrsv().

◆ spcoletree()

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

References spcoletree().

◆ StatFree()

void StatFree ( )
extern

References StatFree().

◆ StatInit()

void StatInit ( int ,
int  )
extern

References StatInit().

◆ super_stats()

void super_stats ( int ,
int *  )
extern

References super_stats().

◆ superlu_abort_and_exit()

void superlu_abort_and_exit ( char * )
extern

◆ superlu_free()

void superlu_free ( void * )
extern

References superlu_free().

◆ superlu_malloc()

void * superlu_malloc ( int )
extern

References superlu_malloc().

◆ SuperLU_timer_()

double SuperLU_timer_ ( )
extern

References SuperLU_timer_().

◆ TreePostorder()

int * TreePostorder ( int ,
int *  )
extern

References TreePostorder().

◆ xerbla_()

int xerbla_ ( char * ,
int *  )
extern

References xerbla_().

◆ zallocateA()

void zallocateA ( int ,
int ,
doublecomplex ** ,
int ** ,
int **  )
extern

References doublecomplex, and zallocateA().

Referenced by zallocateA().

◆ zcolumn_bmod()

int zcolumn_bmod ( const int ,
const int ,
doublecomplex * ,
doublecomplex * ,
int * ,
int * ,
int ,
GlobalLU_t *  )
extern

References doublecomplex, and zcolumn_bmod().

Referenced by zcolumn_bmod().

◆ zcolumn_dfs()

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

References zcolumn_dfs().

Referenced by zcolumn_dfs().

◆ zCompRow_to_CompCol()

void zCompRow_to_CompCol ( int ,
int ,
int ,
doublecomplex * ,
int * ,
int * ,
doublecomplex ** ,
int ** ,
int **  )
extern

◆ zCopy_CompCol_Matrix()

void zCopy_CompCol_Matrix ( SuperMatrix * ,
SuperMatrix *  )
extern

References zCopy_CompCol_Matrix().

Referenced by zCopy_CompCol_Matrix().

◆ zCopy_Dense_Matrix()

void zCopy_Dense_Matrix ( int ,
int ,
doublecomplex * ,
int ,
doublecomplex * ,
int  )
extern

References doublecomplex, and zCopy_Dense_Matrix().

Referenced by zCopy_Dense_Matrix().

◆ zcopy_to_ucol()

int zcopy_to_ucol ( int ,
int ,
int * ,
int * ,
int * ,
doublecomplex * ,
GlobalLU_t *  )
extern

References doublecomplex, and zcopy_to_ucol().

Referenced by zcopy_to_ucol().

◆ zCreate_CompCol_Matrix()

void zCreate_CompCol_Matrix ( SuperMatrix * ,
int ,
int ,
int ,
doublecomplex * ,
int * ,
int * ,
Stype_t ,
Dtype_t ,
Mtype_t  )
extern

◆ zCreate_Dense_Matrix()

void zCreate_Dense_Matrix ( SuperMatrix * ,
int ,
int ,
doublecomplex * ,
int ,
Stype_t ,
Dtype_t ,
Mtype_t  )
extern

◆ zCreate_SuperNode_Matrix()

void zCreate_SuperNode_Matrix ( SuperMatrix * ,
int ,
int ,
int ,
doublecomplex * ,
int * ,
int * ,
int * ,
int * ,
int * ,
Stype_t ,
Dtype_t ,
Mtype_t  )
extern

◆ zfill()

void zfill ( doublecomplex * ,
int ,
doublecomplex  )
extern

References doublecomplex, and zfill().

Referenced by zfill().

◆ zFillRHS()

void zFillRHS ( char * ,
int ,
doublecomplex * ,
int ,
SuperMatrix * ,
SuperMatrix *  )
extern

References doublecomplex, and zFillRHS().

Referenced by zFillRHS().

◆ zGenXtrue()

void zGenXtrue ( int ,
int ,
doublecomplex * ,
int  )
extern

References doublecomplex, and zGenXtrue().

Referenced by zGenXtrue().

◆ zgscon()

void zgscon ( char * ,
SuperMatrix * ,
SuperMatrix * ,
double ,
double * ,
int *  )
extern

References zgscon().

Referenced by zgscon().

◆ zgsequ()

void zgsequ ( SuperMatrix * ,
double * ,
double * ,
double * ,
double * ,
double * ,
int *  )
extern

References zgsequ().

Referenced by zgsequ().

◆ zgsrfs()

void zgsrfs ( char * ,
SuperMatrix * ,
SuperMatrix * ,
SuperMatrix * ,
int * ,
int * ,
char * ,
double * ,
double * ,
SuperMatrix * ,
SuperMatrix * ,
double * ,
double * ,
int *  )
extern

References zgsrfs().

Referenced by zgsrfs().

◆ zgssv()

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

References zgssv().

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

◆ zgssvx()

void zgssvx ( 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 *  )
extern

References zgssvx().

Referenced by zgssvx().

◆ zgstrf()

void zgstrf ( char * ,
SuperMatrix * ,
double ,
double ,
int ,
int ,
int * ,
void * ,
int ,
int * ,
int * ,
SuperMatrix * ,
SuperMatrix * ,
int *  )
extern

References zgstrf().

Referenced by zgstrf().

◆ zgstrs()

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

References zgstrs().

Referenced by zgstrs().

◆ zlaqgs()

void zlaqgs ( SuperMatrix * ,
double * ,
double * ,
double ,
double ,
double ,
char *  )
extern

References zlaqgs().

Referenced by zlaqgs().

◆ zLUMemInit()

int zLUMemInit ( char * ,
void * ,
int ,
int ,
int ,
int ,
int ,
SuperMatrix * ,
SuperMatrix * ,
GlobalLU_t * ,
int ** ,
doublecomplex **  )
extern

References doublecomplex, and zLUMemInit().

Referenced by zLUMemInit().

◆ zLUMemXpand()

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

References zLUMemXpand().

Referenced by zLUMemXpand().

◆ zLUWorkFree()

void zLUWorkFree ( int * ,
doublecomplex * ,
GlobalLU_t *  )
extern

References doublecomplex, and zLUWorkFree().

Referenced by zLUWorkFree().

◆ zpanel_bmod()

void zpanel_bmod ( const int ,
const int ,
const int ,
const int ,
doublecomplex * ,
doublecomplex * ,
int * ,
int * ,
GlobalLU_t *  )
extern

References doublecomplex, and zpanel_bmod().

Referenced by zpanel_bmod().

◆ zpanel_dfs()

void zpanel_dfs ( const int ,
const int ,
const int ,
SuperMatrix * ,
int * ,
int * ,
doublecomplex * ,
int * ,
int * ,
int * ,
int * ,
int * ,
int * ,
int * ,
GlobalLU_t *  )
extern

References doublecomplex, and zpanel_dfs().

Referenced by zpanel_dfs().

◆ zPivotGrowth()

double zPivotGrowth ( int ,
SuperMatrix * ,
int * ,
SuperMatrix * ,
SuperMatrix *  )
extern

References zPivotGrowth().

Referenced by zPivotGrowth().

◆ zpivotL()

int zpivotL ( const int ,
const double ,
int * ,
int * ,
int * ,
int * ,
int * ,
GlobalLU_t *  )
extern

References zpivotL().

Referenced by zpivotL().

◆ zPrint_CompCol_Matrix()

void zPrint_CompCol_Matrix ( char * ,
SuperMatrix *  )
extern

◆ zPrint_Dense_Matrix()

void zPrint_Dense_Matrix ( char * ,
SuperMatrix *  )
extern

References zPrint_Dense_Matrix().

Referenced by zPrint_Dense_Matrix().

◆ zPrint_SuperNode_Matrix()

void zPrint_SuperNode_Matrix ( char * ,
SuperMatrix *  )
extern

◆ zpruneL()

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

References zpruneL().

Referenced by zpruneL().

◆ zQuerySpace()

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

References zQuerySpace().

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

◆ zreadmt()

void zreadmt ( int * ,
int * ,
int * ,
doublecomplex ** ,
int ** ,
int **  )
extern

References doublecomplex, and zreadmt().

Referenced by zreadmt().

◆ zSetRWork()

void zSetRWork ( int ,
int ,
doublecomplex * ,
doublecomplex ** ,
doublecomplex **  )
extern

References doublecomplex, and zSetRWork().

Referenced by zSetRWork().

◆ zsnode_bmod()

int zsnode_bmod ( const int ,
const int ,
const int ,
doublecomplex * ,
doublecomplex * ,
GlobalLU_t *  )
extern

References doublecomplex, and zsnode_bmod().

Referenced by zsnode_bmod().

◆ zsnode_dfs()

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

References zsnode_dfs().

Referenced by zsnode_dfs().