util.h File Reference

some useful routines for the SuperLU solver More...

#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <malloc.h>
#include <assert.h>
#include "config_manual.h"

Include dependency graph for util.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  SuperLUStat_t

Defines

#define USER_ABORT(msg)   superlu_abort_and_exit(msg)
#define ABORT(err_msg)
#define USER_MALLOC(size)   superlu_malloc(size)
#define SUPERLU_MALLOC(size)   USER_MALLOC(size)
#define USER_FREE(addr)   superlu_free(addr)
#define SUPERLU_FREE(addr)   USER_FREE(addr)
#define MAX(x, y)   ( (x) > (y) ? (x) : (y) )
#define MIN(x, y)   ( (x) < (y) ? (x) : (y) )
#define EMPTY   (-1)
#define NO   (-1)
#define FALSE   0
#define TRUE   1
#define FIRSTCOL_OF_SNODE(i)   (xsup[i])

Typedefs

typedef float flops_t
typedef unsigned char Logical

Enumerations

enum  PhaseType {
  COLPERM, RELAX, ETREE, EQUIL,
  FACT, RCOND, SOLVE, REFINE,
  FLOAT, TRSV, GEMV, FERR,
  NPHASES
}

Functions

void PrintStat (SuperLUStat_t *)


Detailed Description

some useful routines for the SuperLU solver

Definition in file util.h.


Define Documentation

#define ABORT ( err_msg   ) 

Value:

{ char msg[256];\
   sprintf(msg,"%s at line %d in file %s\n",err_msg,__LINE__, __FILE__);\
   USER_ABORT(msg); }

Definition at line 21 of file util.h.

Referenced by TBCI::lu_solve().

#define EMPTY   (-1)

Definition at line 59 of file util.h.

#define FALSE   0

Definition at line 61 of file util.h.

#define FIRSTCOL_OF_SNODE (  )     (xsup[i])

Definition at line 99 of file util.h.

#define MAX ( x,
y   )     ( (x) > (y) ? (x) : (y) )

Definition at line 50 of file util.h.

#define MIN ( x,
y   )     ( (x) < (y) ? (x) : (y) )

Definition at line 53 of file util.h.

#define NO   (-1)

Definition at line 60 of file util.h.

#define SUPERLU_FREE ( addr   )     USER_FREE(addr)

Definition at line 37 of file util.h.

Referenced by TBCI::lu_solve().

#define SUPERLU_MALLOC ( size   )     USER_MALLOC(size)

Definition at line 31 of file util.h.

#define TRUE   1

Definition at line 62 of file util.h.

#define USER_ABORT ( msg   )     superlu_abort_and_exit(msg)

Definition at line 18 of file util.h.

#define USER_FREE ( addr   )     superlu_free(addr)

Definition at line 34 of file util.h.

#define USER_MALLOC ( size   )     superlu_malloc(size)

Definition at line 28 of file util.h.


Typedef Documentation

typedef float flops_t

Definition at line 67 of file util.h.

typedef unsigned char Logical

Definition at line 68 of file util.h.


Enumeration Type Documentation

enum PhaseType

Enumerator:
COLPERM 
RELAX 
ETREE 
EQUIL 
FACT 
RCOND 
SOLVE 
REFINE 
FLOAT 
TRSV 
GEMV 
FERR 
NPHASES 

Definition at line 76 of file util.h.


Function Documentation

void PrintStat ( SuperLUStat_t  ) 


Generated on Wed Nov 20 09:28:50 2013 for TBCI Numerical high perf. C++ Library by  doxygen 1.5.6