Date: 2016-09-29T11:13:20+00:00

Actual source code: slepcnep.h
slepc-3.7.3 2016-09-29
Report Typos and Errors

      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-2016, 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_REFINE_SCHEME_SCHUR
     38:       PetscEnum NEP_REFINE_SCHEME_MBE
     39:       PetscEnum NEP_REFINE_SCHEME_EXPLICIT

     41:       parameter (NEP_REFINE_SCHEME_SCHUR    =  1)
     42:       parameter (NEP_REFINE_SCHEME_MBE      =  2)
     43:       parameter (NEP_REFINE_SCHEME_EXPLICIT =  3)

     45:       PetscEnum NEP_CONV_ABS
     46:       PetscEnum NEP_CONV_REL
     47:       PetscEnum NEP_CONV_NORM
     48:       PetscEnum NEP_CONV_USER

     50:       parameter (NEP_CONV_ABS               =  0)
     51:       parameter (NEP_CONV_REL               =  1)
     52:       parameter (NEP_CONV_NORM              =  2)
     53:       parameter (NEP_CONV_USER              =  3)

     55:       PetscEnum NEP_STOP_BASIC
     56:       PetscEnum NEP_STOP_USER

     58:       parameter (NEP_STOP_BASIC             =  0)
     59:       parameter (NEP_STOP_USER              =  1)

     61:       PetscEnum NEP_CONVERGED_TOL
     62:       PetscEnum NEP_CONVERGED_USER
     63:       PetscEnum NEP_DIVERGED_ITS
     64:       PetscEnum NEP_DIVERGED_BREAKDOWN
     65:       PetscEnum NEP_DIVERGED_LINEAR_SOLVE
     66:       PetscEnum NEP_CONVERGED_ITERATING

     68:       parameter (NEP_CONVERGED_TOL            =  1)
     69:       parameter (NEP_CONVERGED_USER           =  2)
     70:       parameter (NEP_DIVERGED_ITS             = -1)
     71:       parameter (NEP_DIVERGED_BREAKDOWN       = -2)
     72:       parameter (NEP_DIVERGED_LINEAR_SOLVE    = -4)
     73:       parameter (NEP_CONVERGED_ITERATING      =  0)

     75:       PetscEnum NEP_LARGEST_MAGNITUDE
     76:       PetscEnum NEP_SMALLEST_MAGNITUDE
     77:       PetscEnum NEP_LARGEST_REAL
     78:       PetscEnum NEP_SMALLEST_REAL
     79:       PetscEnum NEP_LARGEST_IMAGINARY
     80:       PetscEnum NEP_SMALLEST_IMAGINARY
     81:       PetscEnum NEP_TARGET_MAGNITUDE
     82:       PetscEnum NEP_TARGET_REAL
     83:       PetscEnum NEP_TARGET_IMAGINARY
     84:       PetscEnum NEP_ALL
     85:       PetscEnum NEP_WHICH_USER

     87:       parameter (NEP_LARGEST_MAGNITUDE      =  1)
     88:       parameter (NEP_SMALLEST_MAGNITUDE     =  2)
     89:       parameter (NEP_LARGEST_REAL           =  3)
     90:       parameter (NEP_SMALLEST_REAL          =  4)
     91:       parameter (NEP_LARGEST_IMAGINARY      =  5)
     92:       parameter (NEP_SMALLEST_IMAGINARY     =  6)
     93:       parameter (NEP_TARGET_MAGNITUDE       =  7)
     94:       parameter (NEP_TARGET_REAL            =  8)
     95:       parameter (NEP_TARGET_IMAGINARY       =  9)
     96:       parameter (NEP_ALL                    = 10)
     97:       parameter (NEP_WHICH_USER             = 11)

     99:       PetscEnum NEP_ERROR_ABSOLUTE
    100:       PetscEnum NEP_ERROR_RELATIVE
    101:       PetscEnum NEP_ERROR_BACKWARD

    103:       parameter (NEP_ERROR_ABSOLUTE         =  0)
    104:       parameter (NEP_ERROR_RELATIVE         =  1)
    105:       parameter (NEP_ERROR_BACKWARD         =  2)

    107: !
    108: !   Possible arguments to NEPMonitorSet()
    109: !
    110:       external NEPMONITORALL
    111:       external NEPMONITORLG
    112:       external NEPMONITORLGALL
    113:       external NEPMONITORCONVERGED
    114:       external NEPMONITORFIRST

    116: !
    117: !  End of Fortran include file for the NEP package in SLEPc
    118: !