Actual source code: petsckspdef.h

petsc-3.5.4 2015-05-23
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 finclude/petscpcdef.h

 10: #if !defined(PETSC_USE_FORTRAN_DATATYPES)
 11: #define KSP PetscFortranAddr
 12: #define KSPFischerGuess PetscFortranAddr
 13: #endif

 15: #define KSPType character*(80)
 16: #define KSPCGType 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 KSPNASH 'nash'
 29: #define KSPSTCG 'stcg'
 30: #define KSPGLTR 'gltr'
 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 KSPSPECEST 'specest'
 55: #endif