-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathdc_paral_eigsolver.h
61 lines (50 loc) · 2.27 KB
/
dc_paral_eigsolver.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#ifndef DC_PARAL_EIGSOLVER_H
#define DC_PARAL_EIGSOLVER_H
/**
* @brief A parallel dsygvd routine with an automatic workspace setup.
*
* The only parallel generalized eigensolver in ScaLAPACK is pdsygvx_
* which uses the standard eigen-problem routine pdsyev. This routine
* calls a workspace query and automatically sets up the memory for
* the workspace.
*/
void automem_pdsygvd_(
int *ibtype, char *jobz, char *uplo, int *n, double *a, int *ia,
int *ja, int *desca, double *b, int *ib, int *jb, int *descb,
double *w, double *z, int *iz, int *jz, int *descz, int *info);
/**
* @brief Call the pdsyevd_ routine with an automatic workspace setup.
*
* The original pdsyevd_ routine asks uses to provide the size of the
* workspace. This routine calls a workspace query and automatically sets
* up the memory for the workspace, and then call the pdsyevd_ routine to
* do the calculation.
*/
void automem_pdsyevd_ (
char *jobz, char *uplo, int *n, double *a, int *ia, int *ja, int *desca,
double *w, double *z, int *iz, int *jz, int *descz, int *info);
/**
* @brief A parallel dsygvd routine with an automatic workspace setup.
*
* The only parallel generalized eigensolver in ScaLAPACK is pdsygvx_
* which uses the standard eigen-problem routine pdsyevx. This routine
* instead uses the non "expert" standard solver pdsyev. This routine
* calls a workspace query and automatically sets up the memory for
* the workspace.
*/
void automem_pdsygv_(
int *ibtype, char *jobz, char *uplo, int *n, double *a, int *ia,
int *ja, int *desca, double *b, int *ib, int *jb, int *descb,
double *w, double *z, int *iz, int *jz, int *descz, int *info);
/**
* @brief Call the pdsyevd_ routine with an automatic workspace setup.
*
* The original pdsyevd_ routine asks uses to provide the size of the
* workspace. This routine calls a workspace query and automatically sets
* up the memory for the workspace, and then call the pdsyevd_ routine to
* do the calculation.
*/
void automem_pdsyev_ (
char *jobz, char *uplo, int *n, double *a, int *ia, int *ja, int *desca,
double *w, double *z, int *iz, int *jz, int *descz, int *info);
#endif // DC_PARAL_EIGSOLVER_H