![]() |
|
Utility header file. More...
#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.
Classes | |
| struct | superlu_options_t |
| struct | e_node |
| Headers for 4 types of dynamatically managed memory. More... | |
| struct | LU_stack_t |
| struct | SuperLUStat_t |
| struct | mem_usage_t |
Macros | |
| #define | FIRSTCOL_OF_SNODE(i) (xsup[i]) |
| #define | NO_MARKER 3 |
| #define | NUM_TEMPV(m, w, t, b) ( SUPERLU_MAX(m, (t + b)*w) ) |
| #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 | CHECK_MALLOC(where) |
| #define | SUPERLU_MAX(x, y) ( (x) > (y) ? (x) : (y) ) |
| #define | SUPERLU_MIN(x, y) ( (x) < (y) ? (x) : (y) ) |
| #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] ) |
| #define | EMPTY (-1) |
| #define | FALSE 0 |
| #define | TRUE 1 |
| #define | NO_MEMTYPE |
| #define | GluIntArray(n) (5 * (n) + 5) |
| #define | NODROP ( 0x0000 ) |
| #define | DROP_BASIC ( 0x0001 ) /* ILU(tau) */ |
| #define | DROP_PROWS ( 0x0002 ) /* ILUTP: keep p maximum rows */ |
| #define | DROP_COLUMN |
| #define | DROP_AREA |
| #define | DROP_SECONDARY ( 0x000E ) /* PROWS | COLUMN | AREA */ |
| #define | DROP_DYNAMIC ( 0x0010 ) /* adaptive tau */ |
| #define | DROP_INTERP ( 0x0100 ) /* use interpolation */ |
| #define | MILU_ALPHA (1.0e-2) /* multiple of drop_sum to be added to diagonal */ |
Typedefs | |
| typedef float | flops_t |
| typedef unsigned char | Logical |
| typedef struct e_node | ExpHeader |
| Headers for 4 types of dynamatically managed memory. More... | |
Utility header file.
– SuperLU routine (version 4.1) – Univ. of California Berkeley, Xerox Palo Alto Research Center, and Lawrence Berkeley National Lab. November, 2010
| #define ABORT | ( | err_msg | ) |
| #define CHECK_MALLOC | ( | where | ) |
| #define DROP_AREA |
| #define DROP_BASIC ( 0x0001 ) /* ILU(tau) */ |
| #define DROP_COLUMN |
| #define DROP_DYNAMIC ( 0x0010 ) /* adaptive tau */ |
| #define DROP_INTERP ( 0x0100 ) /* use interpolation */ |
| #define DROP_SECONDARY ( 0x000E ) /* PROWS | COLUMN | AREA */ |
| #define EMPTY (-1) |
| #define FALSE 0 |
| #define L_FST_SUPC | ( | superno | ) | ( Lstore->sup_to_col[superno] ) |
| #define L_SUB | ( | ptr | ) | ( Lstore->rowind[ptr] ) |
| #define MILU_ALPHA (1.0e-2) /* multiple of drop_sum to be added to diagonal */ |
| #define NO_MARKER 3 |
| #define NO_MEMTYPE |
| #define NODROP ( 0x0000 ) |
| #define SUPERLU_FREE | ( | addr | ) | USER_FREE(addr) |
| #define SUPERLU_MALLOC | ( | size | ) | USER_MALLOC(size) |
| #define TRUE 1 |
| #define U_SUB | ( | ptr | ) | ( Ustore->rowind[ptr] ) |
| #define USER_ABORT | ( | msg | ) | superlu_abort_and_exit(msg) |
| #define USER_FREE | ( | addr | ) | superlu_free(addr) |
| #define USER_MALLOC | ( | size | ) | superlu_malloc(size) |
| typedef float flops_t |
| void Destroy_CompCol_Matrix | ( | SuperMatrix * | ) |
Referenced by Eigen::SuperLUBase< MatrixType_, Derived >::clearFactors().
| void Destroy_CompCol_Permuted | ( | SuperMatrix * | ) |
| void Destroy_CompRow_Matrix | ( | SuperMatrix * | ) |
| void Destroy_Dense_Matrix | ( | SuperMatrix * | ) |
| void Destroy_SuperMatrix_Store | ( | SuperMatrix * | ) |
| void Destroy_SuperNode_Matrix | ( | SuperMatrix * | ) |
Referenced by Eigen::SuperLUBase< MatrixType_, Derived >::clearFactors().
| void get_perm_c | ( | int | , |
| SuperMatrix * | , | ||
| int * | |||
| ) |
Referenced by Eigen::SparseLU< MatrixType_, OrderingType_ >::factorize().
| void ilu_set_default_options | ( | superlu_options_t * | options | ) |
Referenced by Eigen::SparseLU< MatrixType_, OrderingType_ >::factorize().
| void set_default_options | ( | superlu_options_t * | options | ) |
| void SetIWork | ( | int | , |
| int | , | ||
| int | , | ||
| int * | , | ||
| int ** | , | ||
| int ** | , | ||
| int ** | , | ||
| int ** | , | ||
| int ** | , | ||
| int ** | , | ||
| int ** | |||
| ) |
| void sp_preorder | ( | superlu_options_t * | , |
| SuperMatrix * | , | ||
| int * | , | ||
| int * | , | ||
| SuperMatrix * | |||
| ) |
| void StatFree | ( | SuperLUStat_t * | ) |
| void StatInit | ( | SuperLUStat_t * | ) |
| void StatPrint | ( | SuperLUStat_t * | ) |
| void superlu_abort_and_exit | ( | char * | ) |
| void superlu_free | ( | void * | ) |
| void* superlu_malloc | ( | size_t | ) |
| double SuperLU_timer_ | ( | ) |