#include "Ifpack_ConfigDefs.h"
#include "Ifpack_IC_Utils.h"
#include <stdio.h>
Go to the source code of this file.
|
#define | SYMSTR 1 /* structurally symmetric version */ |
|
#define | MIN(a, b) ((a)<=(b) ? (a) : (b)) |
|
#define | MAX(a, b) ((a)>=(b) ? (a) : (b)) |
|
#define | ABS(a) ((a)>=0 ? (a) : -(a)) |
|
#define | SHORTCUT(p, a, ja, ia) |
|
#define | MATNULL(p) |
|
|
void | Ifpack_AIJMatrix_alloc (Ifpack_AIJMatrix *a, int n, int nnz) |
|
void | Ifpack_AIJMatrix_dealloc (Ifpack_AIJMatrix *a) |
|
static void | qsplit (double *a, int *ind, int n, int ncut) |
|
static void | update_column (int k, const int *ia, const int *ja, const double *a, const int *ifirst, const int *ifirst2, const int *list2, const double *multipliers, const double *d, int *marker, double *ta, int *itcol, int *ptalen) |
|
static void | update_lists (int k, const int *ia, const int *ja, int *ifirst, int *list) |
|
static void | update_lists_newcol (int k, int isk, int iptr, int *ifirst, int *list) |
|
void | crout_ict (int n, const Ifpack_AIJMatrix *AL, const double *Adiag, double droptol, int lfil, Ifpack_AIJMatrix *L, double **pdiag) |
|
#define SYMSTR 1 /* structurally symmetric version */ |
#define MIN |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)<=(b) ? (a) : (b)) |
#define MAX |
( |
|
a, |
|
|
|
b |
|
) |
| ((a)>=(b) ? (a) : (b)) |
#define ABS |
( |
|
a | ) |
((a)>=0 ? (a) : -(a)) |
#define SHORTCUT |
( |
|
p, |
|
|
|
a, |
|
|
|
ja, |
|
|
|
ia |
|
) |
| |
Value:(a) = (p)->val; \
(ja) = (p)->col; \
(ia) = (p)->ptr;
Definition at line 53 of file Ifpack_IC_Utils.cpp.
Value:(p).val = NULL; \
(p).col = NULL; \
(p).ptr = NULL;
Definition at line 58 of file Ifpack_IC_Utils.cpp.
static void qsplit |
( |
double * |
a, |
|
|
int * |
ind, |
|
|
int |
n, |
|
|
int |
ncut |
|
) |
| |
|
static |
static void update_column |
( |
int |
k, |
|
|
const int * |
ia, |
|
|
const int * |
ja, |
|
|
const double * |
a, |
|
|
const int * |
ifirst, |
|
|
const int * |
ifirst2, |
|
|
const int * |
list2, |
|
|
const double * |
multipliers, |
|
|
const double * |
d, |
|
|
int * |
marker, |
|
|
double * |
ta, |
|
|
int * |
itcol, |
|
|
int * |
ptalen |
|
) |
| |
|
static |
static void update_lists |
( |
int |
k, |
|
|
const int * |
ia, |
|
|
const int * |
ja, |
|
|
int * |
ifirst, |
|
|
int * |
list |
|
) |
| |
|
static |
static void update_lists_newcol |
( |
int |
k, |
|
|
int |
isk, |
|
|
int |
iptr, |
|
|
int * |
ifirst, |
|
|
int * |
list |
|
) |
| |
|
static |