|
Data Structures |
| struct | e_node |
| | Headers for 4 types of dynamatically managed memory. More...
|
| struct | LU_stack_t |
Defines |
| #define | NO_MEMTYPE 4 |
| #define | GluIntArray(n) (5 * (n) + 5) |
| #define | StackFull(x) ( x + stack.used >= stack.size ) |
| #define | NotDoubleAlign(addr) ( (long int)addr & 7 ) |
| #define | DoubleAlign(addr) ( ((long int)addr + 7) & ~7L ) |
| #define | TempSpace(m, w) |
| #define | Reduce(alpha) ((alpha + 1) / 2) |
Typedefs |
| typedef e_node | ExpHeader |
| | Headers for 4 types of dynamatically managed memory.
|
Functions |
| void * | zexpand (int *prev_len,MemType type,int len_to_copy,int keep_prev,GlobalLU_t *Glu) |
| | Expand the existing storage to accommodate more fill-ins.
|
| int | zLUWorkInit (int m, int n, int panel_size, int **iworkptr, doublecomplex **dworkptr, LU_space_t MemModel) |
| | Allocate known working storage. Returns 0 if success, otherwise returns the number of bytes allocated so far when failure occurred.
|
| void | copy_mem_doublecomplex (int, void *, void *) |
| void | zStackCompress (GlobalLU_t *Glu) |
| | Compress the work[] array to remove fragmentation.
|
| void | zSetupSpace (void *work, int lwork, LU_space_t *MemModel) |
| | Setup the memory model to be used for factorization.
|
| void * | zuser_malloc (int, int) |
| void | zuser_free (int, int) |
| void | copy_mem_int (int, void *, void *) |
| void | user_bcopy (char *, char *, int) |
| int | zQuerySpace (SuperMatrix *L, SuperMatrix *U, mem_usage_t *mem_usage) |
| int | zLUMemInit (fact_t fact, void *work, int lwork, int m, int n, int annz, int panel_size, SuperMatrix *L, SuperMatrix *U, GlobalLU_t *Glu, int **iwork, doublecomplex **dwork) |
| | Memory-related.
|
| void | zSetRWork (int m, int panel_size, doublecomplex *dworkptr, doublecomplex **dense, doublecomplex **tempv) |
| | Set up pointers for real working arrays.
|
| void | zLUWorkFree (int *iwork, doublecomplex *dwork, GlobalLU_t *Glu) |
| | Free the working storage used by factor routines.
|
| int | zLUMemXpand (int jcol, int next, MemType mem_type, int *maxlen, GlobalLU_t *Glu) |
| | Expand the data structures for L and U during the factorization.
|
| void | zallocateA (int n, int nnz, doublecomplex **a, int **asub, int **xa) |
| | Allocate storage for original matrix A.
|
| doublecomplex * | doublecomplexMalloc (int n) |
| doublecomplex * | doublecomplexCalloc (int n) |
| int | zmemory_usage (const int nzlmax, const int nzumax, const int nzlumax, const int n) |
Variables |
| static ExpHeader * | expanders = 0 |
| static LU_stack_t | stack |
| static int | no_expand |