3#ifndef DUNE_ISTL_SUPERLUFUNCTIONS_HH
4#define DUNE_ISTL_SUPERLUFUNCTIONS_HH
8#define int_t SUPERLU_INT_TYPE
9#include "supermatrix.h"
13#if __has_include("slu_sdefs.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 GlobalLU_t*, mem_usage_t *, SuperLUStat_t *,
int *);
23 sCreate_Dense_Matrix(SuperMatrix *,
int,
int,
float *,
int,
24 Stype_t, Dtype_t, Mtype_t);
26 sCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int,
float *,
27 int *,
int *, Stype_t, Dtype_t, Mtype_t);
28 extern int sQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
30 extern void sPrint_CompCol_Matrix(
char *, SuperMatrix *);
34#if __has_include("slu_ddefs.h")
37 dgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
38 char *,
double *,
double *, SuperMatrix *, SuperMatrix *,
39 void *,
int, SuperMatrix *, SuperMatrix *,
40 double *,
double *,
double *,
double *,
41 GlobalLU_t*, mem_usage_t *, SuperLUStat_t *,
int *);
44 dCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int,
double *,
45 int *,
int *, Stype_t, Dtype_t, Mtype_t);
48 dCreate_Dense_Matrix(SuperMatrix *,
int,
int,
double *,
int,
49 Stype_t, Dtype_t, Mtype_t);
51 extern int dQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
53 extern void dPrint_CompCol_Matrix(
char *, SuperMatrix *);
57#if __has_include("slu_cdefs.h")
58#include "slu_scomplex.h"
62 cgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
63 char *,
float *,
float *, SuperMatrix *, SuperMatrix *,
64 void *,
int, SuperMatrix *, SuperMatrix *,
65 float *,
float *,
float *,
float *,
66 GlobalLU_t*, mem_usage_t *, SuperLUStat_t *,
int *);
70 cCreate_Dense_Matrix(SuperMatrix *,
int,
int, ::complex *,
int,
71 Stype_t, Dtype_t, Mtype_t);
75 cCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int, ::complex *,
76 int *,
int *, Stype_t, Dtype_t, Mtype_t);
78 extern int cQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
80 extern void cPrint_CompCol_Matrix(
char *, SuperMatrix *);
84#if __has_include("slu_zdefs.h")
85#include "slu_dcomplex.h"
88 zgssvx(superlu_options_t *, SuperMatrix *,
int *,
int *,
int *,
89 char *,
double *,
double *, SuperMatrix *, SuperMatrix *,
90 void *,
int, SuperMatrix *, SuperMatrix *,
91 double *,
double *,
double *,
double *,
92 GlobalLU_t*, mem_usage_t *, SuperLUStat_t *,
int *);
96 zCreate_CompCol_Matrix(SuperMatrix *,
int,
int,
int, doublecomplex *,
97 int *,
int *, Stype_t, Dtype_t, Mtype_t);
100 zCreate_Dense_Matrix(SuperMatrix *,
int,
int, doublecomplex *,
int,
101 Stype_t, Dtype_t, Mtype_t);
103 extern int zQuerySpace (SuperMatrix *, SuperMatrix *, mem_usage_t *);
105 extern void zPrint_CompCol_Matrix(
char *, SuperMatrix *);