SuperLU Distributed 8.2.1
Distributed memory sparse direct solver
|
Header for utilities. 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 | SuperLUStat_t |
struct | e_node |
struct | SuperLU_LU_stack_t |
struct | SCT_t |
Macros | |
#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 | MPI_REQ_ALLOC(x) ((MPI_Request *) SUPERLU_MALLOC ( (x) * sizeof (MPI_Request))) |
#define | INT_T_ALLOC(x) ((int_t *) SUPERLU_MALLOC ( (x) * sizeof (int_t))) |
#define | DOUBLE_ALLOC(x) ((double *) SUPERLU_MALLOC ( (x) * sizeof (double))) |
#define | EMPTY (-1) |
#define | FALSE (0) |
#define | TRUE (1) |
#define | MAX_3D_LEVEL 32 /*allows for z dimensions of 2^32*/ |
#define | CBLOCK 192 |
#define | CACHE_LINE_SIZE 8 |
#define | CSTEPPING 8 |
#define | SuperLU_GluIntArray(n) (5 * (n) + 5) |
#define | SuperLU_StackFull(x) ( x + stack.used >= stack.size ) |
#define | SuperLU_NotDoubleAlign(addr) ( (long)addr & 7 ) |
#define | SuperLU_DoubleAlign(addr) ( ((long)addr + 7) & ~7L ) |
#define | SuperLU_TempSpace(n, w) |
#define | SuperLU_Reduce(alpha) ((alpha + 1) / 2) /* i.e. (alpha-1)/2 + 1 */ |
#define | SuperLU_FIRSTCOL_OF_SNODE(i) (xsup[i]) |
#define | TIC(t) |
#define | TOC(t2, t1) |
#define | SuperLU_L_SUB_START(col) ( Lstore->rowind_colptr[col] ) |
#define | SuperLU_L_SUB(ptr) ( Lstore->rowind[ptr] ) |
#define | SuperLU_L_NZ_START(col) ( Lstore->nzval_colptr[col] ) |
#define | SuperLU_L_FST_SUPC(superno) ( Lstore->sup_to_col[superno] ) |
#define | SuperLU_U_NZ_START(col) ( Ustore->colptr[col] ) |
#define | SuperLU_U_SUB(ptr) ( Ustore->rowind[ptr] ) |
Typedefs | |
typedef float | flops_t |
typedef unsigned char | Logical |
typedef struct e_node | SuperLU_ExpHeader |
Header for utilities.
Copyright (c) 2003, The Regents of the University of California, through Lawrence Berkeley National Laboratory (subject to receipt of any required approvals from U.S. Dept. of Energy)
All rights reserved.
The source code is distributed under BSD license, see the file License.txt at the top-level directory.
#define ABORT | ( | err_msg | ) |
#define CACHE_LINE_SIZE 8 |
#define CBLOCK 192 |
#define CHECK_MALLOC | ( | pnum, | |
where | |||
) |
#define CSTEPPING 8 |
#define DOUBLE_ALLOC | ( | x | ) | ((double *) SUPERLU_MALLOC ( (x) * sizeof (double))) |
#define EMPTY (-1) |
#define FALSE (0) |
#define INT_T_ALLOC | ( | x | ) | ((int_t *) SUPERLU_MALLOC ( (x) * sizeof (int_t))) |
#define MAX_3D_LEVEL 32 /*allows for z dimensions of 2^32*/ |
#define MPI_REQ_ALLOC | ( | x | ) | ((MPI_Request *) SUPERLU_MALLOC ( (x) * sizeof (MPI_Request))) |
#define SuperLU_DoubleAlign | ( | addr | ) | ( ((long)addr + 7) & ~7L ) |
#define SUPERLU_FREE | ( | addr | ) | USER_FREE(addr) |
#define SuperLU_GluIntArray | ( | n | ) | (5 * (n) + 5) |
#define SuperLU_L_FST_SUPC | ( | superno | ) | ( Lstore->sup_to_col[superno] ) |
#define SuperLU_L_NZ_START | ( | col | ) | ( Lstore->nzval_colptr[col] ) |
#define SuperLU_L_SUB | ( | ptr | ) | ( Lstore->rowind[ptr] ) |
#define SuperLU_L_SUB_START | ( | col | ) | ( Lstore->rowind_colptr[col] ) |
#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 SuperLU_NotDoubleAlign | ( | addr | ) | ( (long)addr & 7 ) |
#define SuperLU_Reduce | ( | alpha | ) | ((alpha + 1) / 2) /* i.e. (alpha-1)/2 + 1 */ |
#define SuperLU_StackFull | ( | x | ) | ( x + stack.used >= stack.size ) |
#define SuperLU_TempSpace | ( | n, | |
w | |||
) |
#define SuperLU_U_NZ_START | ( | col | ) | ( Ustore->colptr[col] ) |
#define SuperLU_U_SUB | ( | ptr | ) | ( Ustore->rowind[ptr] ) |
#define TIC | ( | t | ) |
#define TOC | ( | t2, | |
t1 | |||
) |
#define TRUE (1) |
#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 |
typedef struct e_node SuperLU_ExpHeader |