3#ifndef DUNE_ISTL_SUPERLUFUNCTIONS_HH
4#define DUNE_ISTL_SUPERLUFUNCTIONS_HH
8#define int_t SUPERLU_INT_TYPE
9#include "supermatrix.h"
16 sgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
17 char *,
float *,
float *, SuperMatrix *, SuperMatrix *,
18 void *,
int, SuperMatrix *, SuperMatrix *,
19 float *,
float *,
float *,
float *,
20#
if SUPERLU_MIN_VERSION_5
23 mem_usage_t *, SuperLUStat_t *,
int *);
26 sCreate_Dense_Matrix(SuperMatrix *,
int,
int,
float *,
int,
27 Stype_t, Dtype_t, Mtype_t);
29 sCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int,
float *,
30 int *,
int *, Stype_t, Dtype_t, Mtype_t);
31 extern int sQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
33 extern void sPrint_CompCol_Matrix(
char *, SuperMatrix *);
40 dgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
41 char *,
double *,
double *, SuperMatrix *, SuperMatrix *,
42 void *,
int, SuperMatrix *, SuperMatrix *,
43 double *,
double *,
double *,
double *,
44#
if SUPERLU_MIN_VERSION_5
47 mem_usage_t *, SuperLUStat_t *,
int *);
50 dCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int,
double *,
51 int *,
int *, Stype_t, Dtype_t, Mtype_t);
54 dCreate_Dense_Matrix(SuperMatrix *,
int,
int,
double *,
int,
55 Stype_t, Dtype_t, Mtype_t);
57 extern int dQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
59 extern void dPrint_CompCol_Matrix(
char *, SuperMatrix *);
64#include "slu_scomplex.h"
68 cgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
69 char *,
float *,
float *, SuperMatrix *, SuperMatrix *,
70 void *,
int, SuperMatrix *, SuperMatrix *,
71 float *,
float *,
float *,
float *,
72#
if SUPERLU_MIN_VERSION_5
75 mem_usage_t *, SuperLUStat_t *,
int *);
79 cCreate_Dense_Matrix(SuperMatrix *,
int,
int, ::complex *,
int,
80 Stype_t, Dtype_t, Mtype_t);
84 cCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int, ::complex *,
85 int *,
int *, Stype_t, Dtype_t, Mtype_t);
87 extern int cQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
89 extern void cPrint_CompCol_Matrix(
char *, SuperMatrix *);
94#include "slu_dcomplex.h"
97 zgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
98 char *,
double *,
double *, SuperMatrix *, SuperMatrix *,
99 void *,
int, SuperMatrix *, SuperMatrix *,
100 double *,
double *,
double *,
double *,
101#
if SUPERLU_MIN_VERSION_5
104 mem_usage_t *, SuperLUStat_t *,
int *);
108 zCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int, doublecomplex *,
109 int *,
int *, Stype_t, Dtype_t, Mtype_t);
112 zCreate_Dense_Matrix(SuperMatrix *,
int,
int, doublecomplex *,
int,
113 Stype_t, Dtype_t, Mtype_t);
115 extern int zQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
117 extern void zPrint_CompCol_Matrix(
char *, SuperMatrix *);