SRC/util.c File Reference

Utility functions. More...

#include <math.h>
#include "slu_ddefs.h"

Include dependency graph for util.c:


Defines

#define NBUCKS   10
 Get the statistics of the supernodes.

Functions

void superlu_abort_and_exit (char *msg)
 Global statistics variale.
void set_default_options (superlu_options_t *options)
 Set the default values for the options argument.
void print_options (superlu_options_t *options)
 Print the options setting.
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_CompRow_Matrix (SuperMatrix *A)
void Destroy_SuperNode_Matrix (SuperMatrix *A)
void Destroy_CompCol_Permuted (SuperMatrix *A)
 A is of type Stype==NCP.
void Destroy_Dense_Matrix (SuperMatrix *A)
 A is of type Stype==DN.
void resetrep_col (const int nseg, const int *segrep, int *repfnz)
 Reset repfnz[] for the current column.
void countnz (const int n, int *xprune, int *nnzL, int *nnzU, GlobalLU_t *Glu)
 Count the total number of nonzeros in factors L and U, and in the symmetrically reduced L.
void fixupL (const int n, const int *perm_r, GlobalLU_t *Glu)
 Fix up the data storage lsub for L-subscripts. It removes the subscript sets for structural pruning, and applies permuation to the remaining subscripts.
void print_panel_seg (int n, int w, int jcol, int nseg, int *segrep, int *repfnz)
 Diagnostic print of segment info after panel_dfs().
void StatInit (SuperLUStat_t *stat)
void StatPrint (SuperLUStat_t *stat)
void StatFree (SuperLUStat_t *stat)
flops_t LUFactFlops (SuperLUStat_t *stat)
flops_t LUSolveFlops (SuperLUStat_t *stat)
void ifill (int *a, int alen, int ival)
 Fills an integer array with a given value.
void super_stats (int nsuper, int *xsup)
float SpaSize (int n, int np, float sum_npw)
float DenseSize (int n, float sum_nw)
void check_repfnz (int n, int w, int jcol, int *repfnz)
 Check whether repfnz[] == EMPTY after reset.
void PrintSumm (char *type, int nfail, int nrun, int nerrs)
 Print a summary of the testing results.
int print_int_vec (char *what, int n, int *vec)

Variables

static int max_sup_size

Detailed Description

 -- SuperLU routine (version 3.0) --
 Univ. of California Berkeley, Xerox Palo Alto Research Center,
 and Lawrence Berkeley National Lab.
 October 15, 2003

 Copyright (c) 1994 by Xerox Corporation.  All rights reserved.

 THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY
 EXPRESSED OR IMPLIED.  ANY USE IS AT YOUR OWN RISK.

 Permission is hereby granted to use or copy this program for any
 purpose, provided the above notices are retained on all copies.
 Permission to modify the code and to distribute modified code is
 granted, provided the above notices are retained, and a notice that
 the code was modified is included with the above copyright notice.
 

Define Documentation

#define NBUCKS   10


Function Documentation

void check_repfnz ( int  n,
int  w,
int  jcol,
int *  repfnz 
)

void countnz ( const int  n,
int *  xprune,
int *  nnzL,
int *  nnzU,
GlobalLU_t Glu 
)

Here is the caller graph for this function:

float DenseSize ( int  n,
float  sum_nw 
)

void Destroy_CompCol_Matrix ( SuperMatrix A  ) 

Here is the caller graph for this function:

void Destroy_CompCol_Permuted ( SuperMatrix A  ) 

Here is the caller graph for this function:

void Destroy_CompRow_Matrix ( SuperMatrix A  ) 

void Destroy_Dense_Matrix ( SuperMatrix A  ) 

Here is the caller graph for this function:

void Destroy_SuperMatrix_Store ( SuperMatrix A  ) 

Here is the caller graph for this function:

void Destroy_SuperNode_Matrix ( SuperMatrix A  ) 

Here is the caller graph for this function:

void fixupL ( const int  n,
const int *  perm_r,
GlobalLU_t Glu 
)

Here is the caller graph for this function:

void ifill ( int *  a,
int  alen,
int  ival 
)

Here is the caller graph for this function:

flops_t LUFactFlops ( SuperLUStat_t stat  ) 

flops_t LUSolveFlops ( SuperLUStat_t stat  ) 

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

Here is the caller graph for this function:

void print_options ( superlu_options_t options  ) 

void print_panel_seg ( int  n,
int  w,
int  jcol,
int  nseg,
int *  segrep,
int *  repfnz 
)

void PrintSumm ( char *  type,
int  nfail,
int  nrun,
int  nerrs 
)

void resetrep_col ( const int  nseg,
const int *  segrep,
int *  repfnz 
)

Here is the caller graph for this function:

void set_default_options ( superlu_options_t options  ) 

Here is the caller graph for this function:

float SpaSize ( int  n,
int  np,
float  sum_npw 
)

void StatFree ( SuperLUStat_t stat  ) 

Here is the caller graph for this function:

void StatInit ( SuperLUStat_t stat  ) 

Here is the call graph for this function:

Here is the caller graph for this function:

void StatPrint ( SuperLUStat_t stat  ) 

Here is the caller graph for this function:

void super_stats ( int  nsuper,
int *  xsup 
)

Here is the call graph for this function:

void superlu_abort_and_exit ( char *  msg  ) 


Variable Documentation

int max_sup_size [static]


Generated on Sat Aug 29 03:57:43 2009 for SuperLU by  doxygen 1.5.9