lsd_mkb/lsd_mkb_superlu/superlu_threads/util.c File Reference

#include <math.h>
#include <stdlib.h>
#include <stdio.h>
#include "slu_mt_ddefs.h"
Include dependency graph for util.c:

Defines

#define NBUCKS   10
#define TMUTEX   2.00e-6
#define FLOPS_PER_LOCK   500
#define PERLINE   10
#define FMT   "%7.4f "

Functions

void superlu_abort_and_exit (char *msg)
 Global statistics variale.
voidsuperlu_malloc (size_t size)
void superlu_free (void *addr)
void Destroy_SuperMatrix_Store (SuperMatrix *A)
 Deallocate the structure pointing to the actual storage of the matrix.
void Destroy_CompCol_Matrix (SuperMatrix *A)
void Destroy_CompCol_Permuted (SuperMatrix *A)
 A is of type Stype==NCP.
void Destroy_CompCol_NCP (SuperMatrix *A)
void Destroy_SuperNode_Matrix (SuperMatrix *A)
void Destroy_SuperNode_SCP (SuperMatrix *A)
void pxgstrf_resetrep_col (const int_t nseg, const int_t *segrep, int_t *repfnz)
void countnz (const int_t n, int_t *xprune, int_t *nnzL, int_t *nnzU, GlobalLU_t *Glu)
void fixupL (const int_t n, const int_t *perm_r, GlobalLU_t *Glu)
int cpp_defs ()
void compressSUP (const int_t n, GlobalLU_t *Glu)
int_t check_mem_leak (char *where)
void print_panel_seg (int_t n, int_t w, int_t jcol, int_t nseg, int_t *segrep, int_t *repfnz)
void StatAlloc (const int_t n, const int_t nprocs, const int_t panel_size, const int_t relax, Gstat_t *Gstat)
void StatInit (const int_t n, const int_t nprocs, Gstat_t *Gstat)
void PrintStat (Gstat_t *Gstat)
void StatFree (Gstat_t *Gstat)
flops_t LUFactFlops (Gstat_t *Gstat)
flops_t LUSolveFlops (Gstat_t *Gstat)
void ifill (int_t *a, int_t alen, int_t ival)
void super_stats (int_t nsuper, int_t *xsup, int_t *xsup_end)
void panel_stats (int_t n, int_t max_w, int_t *in_domain, Gstat_t *Gstat)
float SpaSize (int_t n, int_t np, float sum_npw)
float DenseSize (int_t n, float sum_nw)
void check_repfnz (int_t n, int_t w, int_t jcol, int_t *repfnz)
int_t PrintInt10 (char *name, int_t len, int_t *x)
void PrintSumm (char *type, int_t nfail, int_t nrun, int_t nerrs)
int_t PrintGLGU (int_t n, int_t *xprune, GlobalLU_t *Glu)
int print_int_vec (char *what, int_t n, int_t *vec)
int_t ParallelProfile (const int_t n, const int_t supers, const int_t panels, const int_t procs, Gstat_t *Gstat)
void print_flops_by_height (int_t n, panstat_t *panstat, int_t *height, float *flops_by_height)
int_t CPprofile (const int_t n, cp_panel_t *cp_panel, pxgstrf_shared_t *pxgstrf_shared)
void Print_SuperNode_SCP (SuperMatrix *A)
void Print_CompCol_NC (SuperMatrix *A)
void Print_CompCol_NCP (SuperMatrix *A)
void Print_Dense (SuperMatrix *A)

Define Documentation

#define FLOPS_PER_LOCK   500
#define FMT   "%7.4f "
#define NBUCKS   10
#define PERLINE   10
#define TMUTEX   2.00e-6

Function Documentation

int_t check_mem_leak ( char *  where  ) 
void check_repfnz ( int_t  n,
int_t  w,
int_t  jcol,
int_t repfnz 
)
void compressSUP ( const int_t  n,
GlobalLU_t Glu 
)
void countnz ( const int_t  n,
int_t xprune,
int_t nnzL,
int_t nnzU,
GlobalLU_t Glu 
)
int cpp_defs (  ) 
int_t CPprofile ( const int_t  n,
cp_panel_t cp_panel,
pxgstrf_shared_t pxgstrf_shared 
)
float DenseSize ( int_t  n,
float  sum_nw 
)
void Destroy_CompCol_Matrix ( SuperMatrix A  ) 

Here is the caller graph for this function:

void Destroy_CompCol_NCP ( SuperMatrix A  ) 
void Destroy_CompCol_Permuted ( SuperMatrix A  ) 

A is of type Stype==NCP.

Here is the caller graph for this function:

void Destroy_SuperMatrix_Store ( SuperMatrix A  ) 

Deallocate the structure pointing to the actual storage of the matrix.

Here is the caller graph for this function:

void Destroy_SuperNode_Matrix ( SuperMatrix A  ) 

Here is the caller graph for this function:

void Destroy_SuperNode_SCP ( SuperMatrix A  ) 
void fixupL ( const int_t  n,
const int_t perm_r,
GlobalLU_t Glu 
)
void ifill ( int_t a,
int_t  alen,
int_t  ival 
)
flops_t LUFactFlops ( Gstat_t Gstat  ) 
flops_t LUSolveFlops ( Gstat_t Gstat  ) 
void panel_stats ( int_t  n,
int_t  max_w,
int_t in_domain,
Gstat_t Gstat 
)
int_t ParallelProfile ( const int_t  n,
const int_t  supers,
const int_t  panels,
const int_t  procs,
Gstat_t Gstat 
)

Here is the call graph for this function:

Here is the caller graph for this function:

void Print_CompCol_NC ( SuperMatrix A  ) 
void Print_CompCol_NCP ( SuperMatrix A  ) 
void Print_Dense ( SuperMatrix A  ) 
void print_flops_by_height ( int_t  n,
panstat_t panstat,
int_t height,
float *  flops_by_height 
)

Here is the caller graph for this function:

int print_int_vec ( char *  what,
int_t  n,
int_t vec 
)
void print_panel_seg ( int_t  n,
int_t  w,
int_t  jcol,
int_t  nseg,
int_t segrep,
int_t repfnz 
)
void Print_SuperNode_SCP ( SuperMatrix A  ) 
int_t PrintGLGU ( int_t  n,
int_t xprune,
GlobalLU_t Glu 
)

Here is the call graph for this function:

Here is the caller graph for this function:

int_t PrintInt10 ( char *  name,
int_t  len,
int_t x 
)

Here is the caller graph for this function:

void PrintStat ( Gstat_t Gstat  ) 

Here is the caller graph for this function:

void PrintSumm ( char *  type,
int_t  nfail,
int_t  nrun,
int_t  nerrs 
)
void pxgstrf_resetrep_col ( const int_t  nseg,
const int_t segrep,
int_t repfnz 
)
float SpaSize ( int_t  n,
int_t  np,
float  sum_npw 
)
void StatAlloc ( const int_t  n,
const int_t  nprocs,
const int_t  panel_size,
const int_t  relax,
Gstat_t Gstat 
)

Here is the call graph for this function:

void StatFree ( Gstat_t Gstat  ) 
void StatInit ( const int_t  n,
const int_t  nprocs,
Gstat_t Gstat 
)
void super_stats ( int_t  nsuper,
int_t xsup,
int_t xsup_end 
)

Here is the call graph for this function:

void superlu_abort_and_exit ( char *  msg  ) 

Global statistics variale.

void superlu_free ( void addr  ) 
void* superlu_malloc ( size_t  size  ) 

Precision-independent memory-related routines. (Shared by [sdcz]memory.c)

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 3 Jun 2020 for ModFEM by  doxygen 1.6.1