Actual source code: slepcsvd.h
slepc-3.17.1 2022-04-11
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_PRIMME_HYBRID = 1
47: PetscEnum, parameter :: SVD_PRIMME_NORMALEQUATIONS = 2
48: PetscEnum, parameter :: SVD_PRIMME_AUGMENTED = 3
50: !
51: ! Possible arguments to SVDMonitorSet()
52: !
53: external SVDMONITORFIRST
54: external SVDMONITORALL
55: external SVDMONITORCONVERGED
57: external SVDMonitorConvergedDestroy