Actual source code: petscksp.h

petsc-master 2020-01-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)
  6: #define 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 KSPGROPPCG 'groppcg'
 28: #define KSPPIPECG 'pipecg'
 29: #define KSPPIPECGRR 'pipecgrr'
 30: #define KSPPIPELCG 'pipelcg'
 31: #define KSPCGNE 'cgne'
 32: #define KSPNASH 'nash'
 33: #define KSPSTCG 'stcg'
 34: #define KSPGLTR 'gltr'
 35: #define KSPFCG 'fcg'
 36: #define KSPPIPEFCG 'pipefcg'
 37: #define KSPGMRES 'gmres'
 38: #define KSPPIPEFGMRES 'pipefgmres'
 39: #define KSPFGMRES 'fgmres'
 40: #define KSPLGMRES 'lgmres'
 41: #define KSPDGMRES 'dgmres'
 42: #define KSPPGMRES 'pgmres'
 43: #define KSPTCQMR 'tcqmr'
 44: #define KSPBCGS 'bcgs'
 45: #define KSPIBCGS 'ibcgs'
 46: #define KSPFBCGS  'fbcgs'
 47: #define KSPFBCGSR 'fbcgsr'
 48: #define KSPBCGSL 'bcgsl'
 49: #define KSPPIPEBCGS 'pipebcgs'
 50: #define KSPCGS 'cgs'
 51: #define KSPTFQMR 'tfqmr'
 52: #define KSPCR 'cr'
 53: #define KSPPIPECR 'pipecr'
 54: #define KSPLSQR 'lsqr'
 55: #define KSPPREONLY 'preonly'
 56: #define KSPQCG 'qcg'
 57: #define KSPBICG 'bicg'
 58: #define KSPMINRES 'minres'
 59: #define KSPSYMMLQ 'symmlq'
 60: #define KSPLCD 'lcd'
 61: #define KSPPYTHON 'python'
 62: #define KSPGCR 'gcr'
 63: #define KSPPIPEGCR 'pipegcr'
 64: #define KSPTSIRM 'tsirm'
 65: #define KSPCGLS 'cgls'
 66: #define KSPFETIDP 'fetidp'
 67: #define KSPHPDDM 'hpddm'
 68: !
 69: !  Various Initial guesses for Krylov subspace methods
 70: !
 71: #define KSPGUESSFISCHER 'fischer'
 72: #define KSPGUESSPOD 'pod'
 73: #endif