Blender V2.61 - r43446
Classes | Typedefs | Functions

ssp_defs.h File Reference

#include "Cnames.h"
#include "supermatrix.h"
#include "util.h"

Go to the source code of this file.

Classes

struct  GlobalLU_t
struct  mem_usage_t

Typedefs

typedef int int_t

Functions

void sgssv (superlu_options_t *, SuperMatrix *, int *, int *, SuperMatrix *, SuperMatrix *, SuperMatrix *, SuperLUStat_t *, int *)
void sgssvx (superlu_options_t *, SuperMatrix *, int *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, void *, int, SuperMatrix *, SuperMatrix *, float *, float *, float *, float *, mem_usage_t *, SuperLUStat_t *, int *)
void sCreate_CompCol_Matrix (SuperMatrix *, int, int, int, float *, int *, int *, Stype_t, Dtype_t, Mtype_t)
void sCreate_CompRow_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 countnz (const int, int *, int *, int *, GlobalLU_t *)
void fixupL (const int, const int *, GlobalLU_t *)
void sallocateA (int, int, float **, int **, int **)
void sgstrf (superlu_options_t *, SuperMatrix *, int, int, int *, void *, int, int *, int *, SuperMatrix *, SuperMatrix *, SuperLUStat_t *, 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, float *, float *, GlobalLU_t *, SuperLUStat_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 *, SuperLUStat_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 *, SuperLUStat_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 *, SuperLUStat_t *)
void spruneL (const int, const int *, const int, const int, const int *, const int *, int *, GlobalLU_t *)
void sreadmt (int *, int *, int *, float **, int **, int **)
void sGenXtrue (int, int, float *, int)
void sFillRHS (trans_t, int, float *, int, SuperMatrix *, SuperMatrix *)
void sgstrs (trans_t, SuperMatrix *, SuperMatrix *, int *, int *, SuperMatrix *, SuperLUStat_t *, 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 *, SuperLUStat_t *, int *)
float sPivotGrowth (int, SuperMatrix *, int *, SuperMatrix *, SuperMatrix *)
void sgsrfs (trans_t, SuperMatrix *, SuperMatrix *, SuperMatrix *, int *, int *, char *, float *, float *, SuperMatrix *, SuperMatrix *, float *, float *, SuperLUStat_t *, int *)
int sp_strsv (char *, char *, char *, SuperMatrix *, SuperMatrix *, float *, SuperLUStat_t *, int *)
int sp_sgemv (char *, float, SuperMatrix *, float *, int, float, float *, int)
int sp_sgemm (char *, int, float, SuperMatrix *, float *, int, float, float *, int)
int sLUMemInit (fact_t, void *, int, int, int, int, int, SuperMatrix *, SuperMatrix *, GlobalLU_t *, int **, float **)
void sSetRWork (int, int, float *, float **, float **)
void sLUWorkFree (int *, float *, GlobalLU_t *)
int sLUMemXpand (int, int, MemType, int *, GlobalLU_t *)
float * floatMalloc (int)
float * floatCalloc (int)
int smemory_usage (const int, const int, const int, const int)
int sQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *)
void sreadhb (int *, int *, int *, float **, int **, int **)
void sCompRow_to_CompCol (int, int, int, float *, int *, int *, float **, int **, int **)
void sfill (float *, int, float)
void sinf_norm_error (int, SuperMatrix *, float *)
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 check_tempv (int, float *)
int print_int_vec (char *what, int n, int *vec)
int sp_symetree (int *acolst, int *acolend, int *arow, int n, int *parent)
void sprint_lu_col (char *msg, int jcol, int pivrow, int *xprune, GlobalLU_t *Glu)

Detailed Description

Definition in file ssp_defs.h.


Typedef Documentation

typedef int int_t

Definition at line 27 of file ssp_defs.h.


Function Documentation

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

Definition at line 136 of file intern/opennl/superlu/util.c.

References i, GlobalLU_t::supno, GlobalLU_t::xlsub, GlobalLU_t::xsup, and GlobalLU_t::xusub.

Referenced by sgstrf().

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

Definition at line 178 of file intern/opennl/superlu/util.c.

References i, GlobalLU_t::lsub, GlobalLU_t::supno, GlobalLU_t::xlsub, and GlobalLU_t::xsup.

Referenced by sgstrf().

float* floatCalloc ( int  )

Definition at line 656 of file smemory.c.

References ABORT, i, and SUPERLU_MALLOC.

Referenced by sgstrs(), and sp_strsv().

float* floatMalloc ( int  )

Definition at line 646 of file smemory.c.

References ABORT, and SUPERLU_MALLOC.

Referenced by sallocateA(), sCompRow_to_CompCol(), and sgstrs().

int print_int_vec ( char *  what,
int  n,
int *  vec 
)

Definition at line 394 of file intern/opennl/superlu/util.c.

References i.

Referenced by sp_preorder().

void print_lu_col ( char *  ,
int  ,
int  ,
int *  ,
GlobalLU_t  
)
void PrintPerf ( SuperMatrix ,
SuperMatrix ,
mem_usage_t ,
float  ,
float  ,
float *  ,
float *  ,
char *   
)
void sallocateA ( int  ,
int  ,
float **  ,
int **  ,
int **   
)

Definition at line 638 of file smemory.c.

References floatMalloc(), and intMalloc().

int scolumn_bmod ( const int  ,
const int  ,
float *  ,
float *  ,
int *  ,
int *  ,
int  ,
GlobalLU_t ,
SuperLUStat_t  
)
int scolumn_dfs ( const int  ,
const int  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
void sCompRow_to_CompCol ( int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)

Definition at line 168 of file sutil.c.

References floatMalloc(), i, intCalloc(), intMalloc(), and SUPERLU_FREE.

void sCopy_CompCol_Matrix ( SuperMatrix ,
SuperMatrix  
)
void sCopy_Dense_Matrix ( int  ,
int  ,
float *  ,
int  ,
float *  ,
int   
)

Definition at line 119 of file sutil.c.

References i, M, and N.

int scopy_to_ucol ( int  ,
int  ,
int *  ,
int *  ,
int *  ,
float *  ,
GlobalLU_t  
)
void sCreate_CompCol_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
void sCreate_CompRow_Matrix ( SuperMatrix ,
int  ,
int  ,
int  ,
float *  ,
int *  ,
int *  ,
Stype_t  ,
Dtype_t  ,
Mtype_t   
)
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 sfill ( float *  ,
int  ,
float   
)

Definition at line 396 of file sutil.c.

References i.

Referenced by sSetRWork().

void sFillRHS ( trans_t  ,
int  ,
float *  ,
int  ,
SuperMatrix ,
SuperMatrix  
)

Definition at line 370 of file sutil.c.

References DNformat::lda, NOTRANS, DNformat::nzval, sp_sgemm(), and SuperMatrix::Store.

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

Definition at line 357 of file sutil.c.

References i.

void sgscon ( char *  ,
SuperMatrix ,
SuperMatrix ,
float  ,
float *  ,
SuperLUStat_t ,
int *   
)
void sgsequ ( SuperMatrix ,
float *  ,
float *  ,
float *  ,
float *  ,
float *  ,
int *   
)
void sgsrfs ( trans_t  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
char *  ,
float *  ,
float *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
float *  ,
SuperLUStat_t ,
int *   
)
void sgssv ( superlu_options_t ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperMatrix ,
SuperLUStat_t ,
int *   
)
void sgssvx ( superlu_options_t ,
SuperMatrix ,
int *  ,
int *  ,
int *  ,
char *  ,
float *  ,
float *  ,
SuperMatrix ,
SuperMatrix ,
void *  ,
int  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
float *  ,
float *  ,
float *  ,
mem_usage_t ,
SuperLUStat_t ,
int *   
)
void sgstrf ( superlu_options_t ,
SuperMatrix ,
int  ,
int  ,
int *  ,
void *  ,
int  ,
int *  ,
int *  ,
SuperMatrix ,
SuperMatrix ,
SuperLUStat_t ,
int *   
)
void sgstrs ( trans_t  ,
SuperMatrix ,
SuperMatrix ,
int *  ,
int *  ,
SuperMatrix ,
SuperLUStat_t ,
int *   
)
void sinf_norm_error ( int  ,
SuperMatrix ,
float *   
)
void slaqgs ( SuperMatrix ,
float *  ,
float *  ,
float  ,
float  ,
float  ,
char *   
)
int sLUMemInit ( fact_t  ,
void *  ,
int  ,
int  ,
int  ,
int  ,
int  ,
SuperMatrix ,
SuperMatrix ,
GlobalLU_t ,
int **  ,
float **   
)
int sLUMemXpand ( int  ,
int  ,
MemType  ,
int *  ,
GlobalLU_t  
)
void sLUWorkFree ( int *  ,
float *  ,
GlobalLU_t  
)

Definition at line 373 of file smemory.c.

References GlobalLU_t::MemModel, LU_stack_t::size, SUPERLU_FREE, SYSTEM, LU_stack_t::top2, and LU_stack_t::used.

Referenced by sgstrf().

int smemory_usage ( const int  ,
const int  ,
const int  ,
const int   
)

Definition at line 670 of file smemory.c.

Referenced by sLUMemInit(), and sLUMemXpand().

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

Definition at line 22 of file ssp_blas3.c.

References sp_sgemv().

Referenced by sFillRHS().

int sp_sgemv ( char *  ,
float  ,
SuperMatrix ,
float *  ,
int  ,
float  ,
float *  ,
int   
)
int sp_strsv ( char *  ,
char *  ,
char *  ,
SuperMatrix ,
SuperMatrix ,
float *  ,
SuperLUStat_t ,
int *   
)
int sp_symetree ( int *  acolst,
int *  acolend,
int *  arow,
int  n,
int *  parent 
)
void spanel_bmod ( const int  ,
const int  ,
const int  ,
const int  ,
float *  ,
float *  ,
int *  ,
int *  ,
GlobalLU_t ,
SuperLUStat_t  
)
void spanel_dfs ( const int  ,
const int  ,
const int  ,
SuperMatrix ,
int *  ,
int *  ,
float *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t  
)
float sPivotGrowth ( int  ,
SuperMatrix ,
int *  ,
SuperMatrix ,
SuperMatrix  
)
int spivotL ( const int  ,
const float  ,
int *  ,
int *  ,
int *  ,
int *  ,
int *  ,
GlobalLU_t ,
SuperLUStat_t  
)
void sPrint_CompCol_Matrix ( char *  ,
SuperMatrix  
)
void sPrint_Dense_Matrix ( char *  ,
SuperMatrix  
)
void sprint_lu_col ( char *  msg,
int  jcol,
int  pivrow,
int *  xprune,
GlobalLU_t Glu 
)
void sPrint_SuperNode_Matrix ( char *  ,
SuperMatrix  
)
void spruneL ( const int  ,
const int *  ,
const int  ,
const int  ,
const int *  ,
const int *  ,
int *  ,
GlobalLU_t  
)
int sQuerySpace ( SuperMatrix ,
SuperMatrix ,
mem_usage_t  
)
void sreadhb ( int *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)
void sreadmt ( int *  ,
int *  ,
int *  ,
float **  ,
int **  ,
int **   
)
void sSetRWork ( int  ,
int  ,
float *  ,
float **  ,
float **   
)

Definition at line 357 of file smemory.c.

References NUM_TEMPV, sfill(), and sp_ienv().

Referenced by sgstrf().

int ssnode_bmod ( const int  ,
const int  ,
float *  ,
float *  ,
GlobalLU_t ,
SuperLUStat_t  
)
int ssnode_dfs ( const int  ,
const int  ,
const int *  ,
const int *  ,
const int *  ,
int *  ,
int *  ,
GlobalLU_t  
)