Date: 2022-03-31T04:49:11+00:00

Actual source code: petscksp.h

      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: #define MatLMVMSymBroydenScaleType PetscEnum
     22: #define KSPHPDDMType PetscEnum

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