| Line 21... |
Line 21... |
|
|
#define SVDType const char*
|
#define SVDType const char*
|
#define SVDEIGENSOLVER "eigensolver"
|
#define SVDEIGENSOLVER "eigensolver"
|
#define SVDLAPACK "lapack"
|
#define SVDLAPACK "lapack"
|
#define SVDLANCZOS "lanczos"
|
#define SVDLANCZOS "lanczos"
|
|
#define SVDTRLANCZOS "trlanczos"
|
|
|
typedef enum { SVD_TRANSPOSE_EXPLICIT, SVD_TRANSPOSE_IMPLICIT } SVDTransposeMode;
|
typedef enum { SVD_TRANSPOSE_EXPLICIT, SVD_TRANSPOSE_IMPLICIT } SVDTransposeMode;
|
|
|
typedef enum { SVD_LARGEST, SVD_SMALLEST } SVDWhich;
|
typedef enum { SVD_LARGEST, SVD_SMALLEST } SVDWhich;
|
|
|
| Line 65... |
Line 66... |
void*,PetscErrorCode (*monitordestroy)(void*));
|
void*,PetscErrorCode (*monitordestroy)(void*));
|
EXTERN PetscErrorCode SVDClearMonitor(SVD);
|
EXTERN PetscErrorCode SVDClearMonitor(SVD);
|
EXTERN PetscErrorCode SVDGetMonitorContext(SVD,void **);
|
EXTERN PetscErrorCode SVDGetMonitorContext(SVD,void **);
|
EXTERN PetscErrorCode SVDDefaultMonitor(SVD,int,int,PetscReal*,PetscReal*,int,void*);
|
EXTERN PetscErrorCode SVDDefaultMonitor(SVD,int,int,PetscReal*,PetscReal*,int,void*);
|
EXTERN PetscErrorCode SVDLGMonitor(SVD,int,int,PetscReal*,PetscReal*,int,void*);
|
EXTERN PetscErrorCode SVDLGMonitor(SVD,int,int,PetscReal*,PetscReal*,int,void*);
|
|
|
|
EXTERN PetscErrorCode SVDDense(int,int,PetscScalar*,PetscReal*,PetscScalar*,PetscScalar*);
|
|
|
typedef enum { SVDEIGENSOLVER_ATA, SVDEIGENSOLVER_AAT,
|
typedef enum { SVDEIGENSOLVER_ATA, SVDEIGENSOLVER_AAT,
|
SVDEIGENSOLVER_CYCLIC } SVDEigensolverMode;
|
SVDEIGENSOLVER_CYCLIC } SVDEigensolverMode;
|
|
|
EXTERN PetscErrorCode SVDEigensolverSetMode(SVD,SVDEigensolverMode);
|
EXTERN PetscErrorCode SVDEigensolverSetMode(SVD,SVDEigensolverMode);
|
EXTERN PetscErrorCode SVDEigensolverGetMode(SVD,SVDEigensolverMode*);
|
EXTERN PetscErrorCode SVDEigensolverGetMode(SVD,SVDEigensolverMode*);
|
EXTERN PetscErrorCode SVDEigensolverSetEPS(SVD,EPS);
|
EXTERN PetscErrorCode SVDEigensolverSetEPS(SVD,EPS);
|
EXTERN PetscErrorCode SVDEigensolverGetEPS(SVD,EPS*);
|
EXTERN PetscErrorCode SVDEigensolverGetEPS(SVD,EPS*);
|
|
|
|
EXTERN PetscErrorCode SVDLanczosSetOneSideReorthogonalization(SVD,PetscTruth);
|
|
|
|
EXTERN PetscErrorCode SVDTRLanczosSetOneSideReorthogonalization(SVD,PetscTruth);
|
|
|
#endif
|
#endif
|
|
|
|
|