Actual source code: slepcsvd.h
slepc-3.17.2 2022-08-09
1: !
2: ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
3: ! SLEPc - Scalable Library for Eigenvalue Problem Computations
4: ! Copyright (c) 2002-, Universitat Politecnica de Valencia, Spain
5: !
6: ! This file is part of SLEPc.
7: ! SLEPc is distributed under a 2-clause BSD license (see LICENSE).
8: ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
9: !
10: ! Used by slepcsvdmod.F90 to create Fortran module file
11: !
12: #include "slepc/finclude/slepcsvd.h"
14: type tSVD
15: PetscFortranAddr:: v PETSC_FORTRAN_TYPE_INITIALIZE
16: end type tSVD
18: SVD, parameter :: SLEPC_NULL_SVD = tSVD(0)
20: PetscEnum, parameter :: SVD_CONVERGED_TOL = 1
21: PetscEnum, parameter :: SVD_CONVERGED_USER = 2
22: PetscEnum, parameter :: SVD_CONVERGED_MAXIT = 3
23: PetscEnum, parameter :: SVD_DIVERGED_ITS = -1
24: PetscEnum, parameter :: SVD_DIVERGED_BREAKDOWN = -2
25: PetscEnum, parameter :: SVD_CONVERGED_ITERATING = 0
27: PetscEnum, parameter :: SVD_STANDARD = 1
28: PetscEnum, parameter :: SVD_GENERALIZED = 2
30: PetscEnum, parameter :: SVD_LARGEST = 0
31: PetscEnum, parameter :: SVD_SMALLEST = 1
33: PetscEnum, parameter :: SVD_ERROR_ABSOLUTE = 0
34: PetscEnum, parameter :: SVD_ERROR_RELATIVE = 1
35: PetscEnum, parameter :: SVD_ERROR_NORM = 2
37: PetscEnum, parameter :: SVD_CONV_ABS = 0
38: PetscEnum, parameter :: SVD_CONV_REL = 1
39: PetscEnum, parameter :: SVD_CONV_NORM = 2
40: PetscEnum, parameter :: SVD_CONV_MAXIT = 3
41: PetscEnum, parameter :: SVD_CONV_USER = 4
43: PetscEnum, parameter :: SVD_STOP_BASIC = 0
44: PetscEnum, parameter :: SVD_STOP_USER = 1
46: PetscEnum, parameter :: SVD_TRLANCZOS_GBIDIAG_SINGLE = 0
47: PetscEnum, parameter :: SVD_TRLANCZOS_GBIDIAG_UPPER = 1
48: PetscEnum, parameter :: SVD_TRLANCZOS_GBIDIAG_LOWER = 2
50: PetscEnum, parameter :: SVD_PRIMME_HYBRID = 1
51: PetscEnum, parameter :: SVD_PRIMME_NORMALEQUATIONS = 2
52: PetscEnum, parameter :: SVD_PRIMME_AUGMENTED = 3
54: !
55: ! Possible arguments to SVDMonitorSet()
56: !
57: external SVDMONITORFIRST
58: external SVDMONITORALL
59: external SVDMONITORCONVERGED
61: external SVDMonitorConvergedDestroy
63: #if defined(_WIN32) && defined(PETSC_USE_SHARED_LIBRARIES)
64: !DEC$ ATTRIBUTES DLLEXPORT::SLEPC_NULL_SVD
65: #endif