Actual source code: petscksp.h

petsc-3.11.3 2019-06-26
Report Typos and Errors
  1: !
  2: !
  3: !  Include file for Fortran use of the KSP package in PETSc
  4: !
  5: #if !defined (__PETSCKSPDEF_H)

  8: #include "petsc/finclude/petscpc.h"

 10: #define KSP type(tKSP)
 11: #define KSPGuess type(tKSPGuess)

 13: #define KSPType character*(80)
 14: #define KSPGuessType character*(80)
 15: #define KSPCGType PetscEnum
 16: #define KSPFCDTruncationType PetscEnum
 17: #define KSPConvergedReason PetscEnum
 18: #define KSPNormType PetscEnum
 19: #define KSPGMRESCGSRefinementType PetscEnum
 20: #define MatSchurComplementAinvType PetscEnum
 21: !
 22: !  Various Krylov subspace methods
 23: !
 24: #define KSPRICHARDSON 'richardson'
 25: #define KSPCHEBYSHEV 'chebyshev'
 26: #define KSPCG 'cg'
 27: #define KSPCGNE 'cgne'
 28: #define KSPSTCG 'stcg'
 29: #define KSPGLTR 'gltr'
 30: #define KSPFCG 'fcg'
 31: #define KSPGMRES 'gmres'
 32: #define KSPFGMRES 'fgmres'
 33: #define KSPLGMRES 'lgmres'
 34: #define KSPDGMRES 'dgmres'
 35: #define KSPPGMRES 'pgmres'
 36: #define KSPTCQMR 'tcqmr'
 37: #define KSPBCGS 'bcgs'
 38: #define KSPIBCGS 'ibcgs'
 39: #define KSPFBCGS  'fbcgs'
 40: #define KSPFBCGSR 'fbcgsr'
 41: #define KSPBCGSL 'bcgsl'
 42: #define KSPCGS 'cgs'
 43: #define KSPTFQMR 'tfqmr'
 44: #define KSPCR 'cr'
 45: #define KSPLSQR 'lsqr'
 46: #define KSPPREONLY 'preonly'
 47: #define KSPQCG 'qcg'
 48: #define KSPBICG 'bicg'
 49: #define KSPMINRES 'minres'
 50: #define KSPSYMMLQ 'symmlq'
 51: #define KSPLCD 'lcd'
 52: #define KSPPYTHON 'python'
 53: #define KSPGCR 'gcr'
 54: #define KSPTSIRM 'tsirm'
 55: #define KSPCGLS 'cgls'
 56: #define KSPFETIDP 'fetidp'
 57: !
 58: !  Various Initial guesses for Krylov subspace methods
 59: !
 60: #define KSPGUESSFISCHER 'fischer'
 61: #define KSPGUESSPOD 'pod'
 62: #endif