#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "superlu_enum_consts.h"
Go to the source code of this file.
Data Types | |
| type | SuperLUStat_t |
| type | e_node |
| type | 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 6 |
| #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 |
| #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 (MB) %.2f\n", \
pnum, where, superlu_malloc_total*1e-6); \
}
| #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 6 |
| #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 |
1.5.5