Actual source code: slepcnep.h
slepc-3.6.1 2015-09-03
1: !
2: ! Include file for Fortran use of the NEP object in SLEPc
3: !
4: !
5: ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
6: ! SLEPc - Scalable Library for Eigenvalue Problem Computations
7: ! Copyright (c) 2002-2015, Universitat Politecnica de Valencia, Spain
8: !
9: ! This file is part of SLEPc.
10: !
11: ! SLEPc is free software: you can redistribute it and/or modify it under the
12: ! terms of version 3 of the GNU Lesser General Public License as published by
13: ! the Free Software Foundation.
14: !
15: ! SLEPc is distributed in the hope that it will be useful, but WITHOUT ANY
16: ! WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
17: ! FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for
18: ! more details.
19: !
20: ! You should have received a copy of the GNU Lesser General Public License
21: ! along with SLEPc. If not, see <http://www.gnu.org/licenses/>.
22: ! - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
23: !
24: #include slepc/finclude/slepcnepdef.h
26: ! Convergence flags.
27: ! They should match the flags in $SLEPC_DIR/include/slepcnep.h
29: PetscEnum NEP_REFINE_NONE
30: PetscEnum NEP_REFINE_SIMPLE
31: PetscEnum NEP_REFINE_MULTIPLE
33: parameter (NEP_REFINE_NONE = 0)
34: parameter (NEP_REFINE_SIMPLE = 1)
35: parameter (NEP_REFINE_MULTIPLE = 2)
37: PetscEnum NEP_CONVERGED_FNORM_ABS
38: PetscEnum NEP_CONVERGED_FNORM_RELATIVE
39: PetscEnum NEP_CONVERGED_SNORM_RELATIVE
40: PetscEnum NEP_DIVERGED_LINEAR_SOLVE
41: PetscEnum NEP_DIVERGED_FUNCTION_COUNT
42: PetscEnum NEP_DIVERGED_MAX_IT
43: PetscEnum NEP_DIVERGED_BREAKDOWN
44: PetscEnum NEP_DIVERGED_FNORM_NAN
45: PetscEnum NEP_CONVERGED_ITERATING
47: parameter (NEP_CONVERGED_FNORM_ABS = 2)
48: parameter (NEP_CONVERGED_FNORM_RELATIVE = 3)
49: parameter (NEP_CONVERGED_SNORM_RELATIVE = 4)
50: parameter (NEP_DIVERGED_LINEAR_SOLVE = -1)
51: parameter (NEP_DIVERGED_FUNCTION_COUNT = -2)
52: parameter (NEP_DIVERGED_MAX_IT = -3)
53: parameter (NEP_DIVERGED_BREAKDOWN = -4)
54: parameter (NEP_DIVERGED_FNORM_NAN = -5)
55: parameter (NEP_CONVERGED_ITERATING = 0)
57: PetscEnum NEP_LARGEST_MAGNITUDE
58: PetscEnum NEP_SMALLEST_MAGNITUDE
59: PetscEnum NEP_LARGEST_REAL
60: PetscEnum NEP_SMALLEST_REAL
61: PetscEnum NEP_LARGEST_IMAGINARY
62: PetscEnum NEP_SMALLEST_IMAGINARY
63: PetscEnum NEP_TARGET_MAGNITUDE
64: PetscEnum NEP_TARGET_REAL
65: PetscEnum NEP_TARGET_IMAGINARY
67: parameter (NEP_LARGEST_MAGNITUDE = 1)
68: parameter (NEP_SMALLEST_MAGNITUDE = 2)
69: parameter (NEP_LARGEST_REAL = 3)
70: parameter (NEP_SMALLEST_REAL = 4)
71: parameter (NEP_LARGEST_IMAGINARY = 5)
72: parameter (NEP_SMALLEST_IMAGINARY = 6)
73: parameter (NEP_TARGET_MAGNITUDE = 7)
74: parameter (NEP_TARGET_REAL = 8)
75: parameter (NEP_TARGET_IMAGINARY = 9)
77: PetscEnum NEP_ERROR_ABSOLUTE
78: PetscEnum NEP_ERROR_RELATIVE
80: parameter (NEP_ERROR_ABSOLUTE = 0)
81: parameter (NEP_ERROR_RELATIVE = 1)
83: !
84: ! Possible arguments to NEPMonitorSet()
85: !
86: external NEPMONITORALL
87: external NEPMONITORLG
88: external NEPMONITORLGALL
89: external NEPMONITORCONVERGED
90: external NEPMONITORFIRST
92: !
93: ! End of Fortran include file for the NEP package in SLEPc
94: !