Actual source code: petscksp.h
petsc-3.7.1 2016-05-15
Report Typos and Errors

      1: !
      2: !
      3: !  Include file for Fortran use of the KSP package in PETSc
      4: !
     5:  #include petsc/finclude/petsckspdef.h

      7: !
      8: !  CG Types
      9: !
     10:       PetscEnum KSP_CG_SYMMETRIC
     11:       PetscEnum KSP_CG_HERMITIAN
     12:       parameter (KSP_CG_SYMMETRIC=0,KSP_CG_HERMITIAN=1)

     14:       PetscEnum KSP_FCD_TRUNC_TYPE_STANDARD
     15:       PetscEnum KSP_FCD_TRUNC_TYPE_NOTAY
     16:       parameter (KSP_FCD_TRUNC_TYPE_STANDARD=0)
     17:       parameter (KSP_FCD_TRUNC_TYPE_NOTAY=1)

     19:       PetscEnum KSP_CONVERGED_RTOL
     20:       PetscEnum KSP_CONVERGED_ATOL
     21:       PetscEnum KSP_CONVERGED_ITS
     22:       PetscEnum KSP_DIVERGED_NULL
     23:       PetscEnum KSP_DIVERGED_ITS
     24:       PetscEnum KSP_DIVERGED_DTOL
     25:       PetscEnum KSP_DIVERGED_BREAKDOWN
     26:       PetscEnum KSP_CONVERGED_ITERATING
     27:       PetscEnum KSP_CONVERGED_CG_NEG_CURVE
     28:       PetscEnum KSP_CONVERGED_CG_CONSTRAINED
     29:       PetscEnum KSP_CONVERGED_STEP_LENGTH
     30:       PetscEnum KSP_CONVERGED_HAPPY_BREAKDOWN
     31:       PetscEnum KSP_DIVERGED_BREAKDOWN_BICG
     32:       PetscEnum KSP_DIVERGED_NONSYMMETRIC
     33:       PetscEnum KSP_DIVERGED_INDEFINITE_PC
     34:       PetscEnum KSP_DIVERGED_NANORINF
     35:       PetscEnum KSP_DIVERGED_INDEFINITE_MAT
     36:       PetscEnum KSP_DIVERGED_PCSETUP_FAILED

     38:       parameter (KSP_CONVERGED_RTOL            = 2)
     39:       parameter (KSP_CONVERGED_ATOL            = 3)
     40:       parameter (KSP_CONVERGED_ITS             = 4)
     41:       parameter (KSP_CONVERGED_CG_NEG_CURVE    = 5)
     42:       parameter (KSP_CONVERGED_CG_CONSTRAINED  = 6)
     43:       parameter (KSP_CONVERGED_STEP_LENGTH     = 7)
     44:       parameter (KSP_CONVERGED_HAPPY_BREAKDOWN = 8)

     46:       parameter (KSP_DIVERGED_NULL           = -2)
     47:       parameter (KSP_DIVERGED_ITS            = -3)
     48:       parameter (KSP_DIVERGED_DTOL           = -4)
     49:       parameter (KSP_DIVERGED_BREAKDOWN      = -5)
     50:       parameter (KSP_DIVERGED_BREAKDOWN_BICG = -6)
     51:       parameter (KSP_DIVERGED_NONSYMMETRIC   = -7)
     52:       parameter (KSP_DIVERGED_INDEFINITE_PC  = -8)
     53:       parameter (KSP_DIVERGED_NANORINF       = -9)
     54:       parameter (KSP_DIVERGED_INDEFINITE_MAT = -10)
     55:       parameter (KSP_DIVERGED_PCSETUP_FAILED = -11)

     57:       parameter (KSP_CONVERGED_ITERATING = 0)
     58: !
     59: !  Possible arguments to KSPSetNormType()
     60: !
     61:       PetscEnum KSP_NORM_NONE
     62:       PetscEnum KSP_NORM_PRECONDITIONED
     63:       PetscEnum KSP_NORM_UNPRECONDITIONED
     64:       PetscEnum KSP_NORM_NATURAL

     66:       parameter (KSP_NORM_NONE=0)
     67:       parameter (KSP_NORM_PRECONDITIONED=1)
     68:       parameter (KSP_NORM_UNPRECONDITIONED=2)
     69:       parameter (KSP_NORM_NATURAL=3)
     70: !
     71: !   Possible arguments to KSPMonitorSet()
     72: !
     73:       external KSPCONVERGEDDEFAULT
     74:       external KSPMONITORDEFAULT
     75:       external KSPMONITORTRUERESIDUALNORM
     76:       external KSPMONITORLGRESIDUALNORM
     77:       external KSPMONITORLGTRUERESIDUALNORM
     78:       external KSPMONITORSOLUTION
     79:       external KSPMONITORSINGULARVALUE
     80:       external KSPGMRESMONITORKRYLOV
     81: !
     82: !   Possible arguments to KSPGMRESSetRefinementType()
     83: !
     84:       PetscEnum KSP_GMRES_CGS_REFINE_NEVER
     85:       PetscEnum KSP_GMRES_CGS_REFINE_IFNEEDED
     86:       PetscEnum KSP_GMRES_CGS_REFINE_ALWAYS
     87: !
     88:       parameter (KSP_GMRES_CGS_REFINE_NEVER = 0)
     89:       parameter (KSP_GMRES_CGS_REFINE_IFNEEDED = 1)
     90:       parameter (KSP_GMRES_CGS_REFINE_ALWAYS = 2)
     91: !
     92: !  End of Fortran include file for the KSP package in PETSc
     93: !