#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
Go to the source code of this file.
Data Structures | |
struct | SuperLUStat_t |
struct | e_node |
struct | LU_stack_t |
Defines | |
#define | USER_ABORT(msg) superlu_abort_and_exit_dist(msg) |
#define | ABORT(err_msg) |
#define | USER_MALLOC(size) superlu_malloc_dist(size) |
#define | SUPERLU_MALLOC(size) USER_MALLOC(size) |
#define | USER_FREE(addr) superlu_free_dist(addr) |
#define | SUPERLU_FREE(addr) USER_FREE(addr) |
#define | CHECK_MALLOC(pnum, where) |
#define | SUPERLU_MAX(x, y) ( (x) > (y) ? (x) : (y) ) |
#define | SUPERLU_MIN(x, y) ( (x) < (y) ? (x) : (y) ) |
#define | EMPTY (-1) |
#define | FALSE (0) |
#define | TRUE (1) |
#define | GluIntArray(n) (5 * (n) + 5) |
#define | NO_MEMTYPE 4 |
#define | StackFull(x) ( x + stack.used >= stack.size ) |
#define | NotDoubleAlign(addr) ( (long)addr & 7 ) |
#define | DoubleAlign(addr) ( ((long)addr + 7) & ~7L ) |
#define | TempSpace(n, w) |
#define | Reduce(alpha) ((alpha + 1) / 2) |
#define | FIRSTCOL_OF_SNODE(i) (xsup[i]) |
#define | TIC(t) |
#define | TOC(t2, t1) |
#define | L_SUB_START(col) ( Lstore->rowind_colptr[col] ) |
#define | L_SUB(ptr) ( Lstore->rowind[ptr] ) |
#define | L_NZ_START(col) ( Lstore->nzval_colptr[col] ) |
#define | L_FST_SUPC(superno) ( Lstore->sup_to_col[superno] ) |
#define | U_NZ_START(col) ( Ustore->colptr[col] ) |
#define | U_SUB(ptr) ( Ustore->rowind[ptr] ) |
Typedefs | |
typedef float | flops_t |
typedef unsigned char | Logical |
typedef struct e_node | ExpHeader |
Enumerations | |
enum | PhaseType { COLPERM, ROWPERM, RELAX, ETREE, EQUIL, SYMBFAC, DIST, FACT, COMM, SOL_COMM, RCOND, SOLVE, REFINE, FLOAT, TRSV, GEMV, FERR, NPHASES } |
#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); }
#define CHECK_MALLOC | ( | pnum, | |||
where | ) |
Value:
{ \ extern long int superlu_malloc_total; \ printf("(%d) %s: superlu_malloc_total (KBytes) %.3f\n", \ pnum, where, superlu_malloc_total*1e-3); \ }
#define DoubleAlign | ( | addr | ) | ( ((long)addr + 7) & ~7L ) |
#define EMPTY (-1) |
#define FALSE (0) |
#define FIRSTCOL_OF_SNODE | ( | i | ) | (xsup[i]) |
#define GluIntArray | ( | n | ) | (5 * (n) + 5) |
#define L_FST_SUPC | ( | superno | ) | ( Lstore->sup_to_col[superno] ) |
#define L_NZ_START | ( | col | ) | ( Lstore->nzval_colptr[col] ) |
#define L_SUB | ( | ptr | ) | ( Lstore->rowind[ptr] ) |
#define L_SUB_START | ( | col | ) | ( Lstore->rowind_colptr[col] ) |
#define NO_MEMTYPE 4 |
#define NotDoubleAlign | ( | addr | ) | ( (long)addr & 7 ) |
#define Reduce | ( | alpha | ) | ((alpha + 1) / 2) |
#define StackFull | ( | x | ) | ( x + stack.used >= stack.size ) |
#define SUPERLU_FREE | ( | addr | ) | USER_FREE(addr) |
#define SUPERLU_MALLOC | ( | size | ) | USER_MALLOC(size) |
#define SUPERLU_MAX | ( | x, | |||
y | ) | ( (x) > (y) ? (x) : (y) ) |
#define SUPERLU_MIN | ( | x, | |||
y | ) | ( (x) < (y) ? (x) : (y) ) |
#define TempSpace | ( | n, | |||
w | ) |
Value:
( (2*w + 4 + NO_MARKER)*m*sizeof(int) + \ (w + 1)*n*sizeof(double) )
#define TIC | ( | t | ) |
#define TOC | ( | t2, | |||
t1 | ) |
#define TRUE (1) |
#define U_NZ_START | ( | col | ) | ( Ustore->colptr[col] ) |
#define U_SUB | ( | ptr | ) | ( Ustore->rowind[ptr] ) |
#define USER_ABORT | ( | msg | ) | superlu_abort_and_exit_dist(msg) |
#define USER_FREE | ( | addr | ) | superlu_free_dist(addr) |
#define USER_MALLOC | ( | size | ) | superlu_malloc_dist(size) |
typedef float flops_t |
typedef unsigned char Logical |
enum PhaseType |