Actual source code: petscpc.h
petsc-3.10.5 2019-03-28
Report Typos and Errors

      1: !
      2: !
      3: !  Include file for Fortran use of the PC (preconditioner) package in PETSc
      4: !
      5: #if !defined (__PETSCPCDEF_H)

      8: #include "petsc/finclude/petscmat.h"
      9: #include "petsc/finclude/petscdm.h"

     11: #define PC type(tPC)

     13: #define PCSide PetscEnum
     14: #define PCJacobiType PetscEnum
     15: #define PCASMType PetscEnum
     16: #define PCGASMType PetscEnum
     17: #define PCCompositeType PetscEnum
     18: #define PCRichardsonConvergedReason PetscEnum
     19: #define PCType character*(80)
     20: #define PCFieldSplitSchurPreType PetscEnum
     21: #define PCPARMSGlobalType PetscEnum
     22: #define PCPARMSLocalType PetscEnum
     23: #define PCFieldSplitSchurFactType PetscEnum
     24: #define CoarseProblemType PetscEnum
     25: #define PCGAMGType character*(80)
     26: !
     27: ! GAMG types
     28: !
     29: #define PCGAMGAGG 'agg'
     30: #define PCGAMGGEO  'geo'
     31: !
     32: !  Various preconditioners
     33: !
     34: #define PCNONE 'none'
     35: #define PCJACOBI 'jacobi'
     36: #define PCSOR 'sor'
     37: #define PCLU 'lu'
     38: #define PCSHELL 'shell'
     39: #define PCBJACOBI 'bjacobi'
     40: #define PCMG 'mg'
     41: #define PCEISENSTAT 'eisenstat'
     42: #define PCILU 'ilu'
     43: #define PCICC 'icc'
     44: #define PCASM 'asm'
     45: #define PCGASM 'gasm'
     46: #define PCKSP 'ksp'
     47: #define PCCOMPOSITE 'composite'
     48: #define PCREDUNDANT 'redundant'
     49: #define PCSPAI 'spai'
     50: #define PCNN 'nn'
     51: #define PCCHOLESKY 'cholesky'
     52: #define PCPBJACOBI 'pbjacobi'
     53: #define PCVPBJACOBI 'vpbjacobi'
     54: #define PCMAT 'mat'
     55: #define PCHYPRE 'hypre'
     56: #define PCPARMS 'parms'
     57: #define PCFIELDSPLIT 'fieldsplit'
     58: #define PCTFS 'tfs'
     59: #define PCML 'ml'
     60: #define PCGALERKIN 'galerkin'
     61: #define PCEXOTIC 'exotic'
     62: #define PCSUPPORTGRAPH 'supportgraph'
     63: #define PCCP 'cp'
     64: #define PCBFBT 'bfbt'
     65: #define PCLSC 'lsc'
     66: #define PCPYTHON 'python'
     67: #define PCPFMG 'pfmg'
     68: #define PCSYSPFMG 'syspfmg'
     69: #define PCREDISTRIBUTE 'redistribute'
     70: #define PCSVD 'svd'
     71: #define PCGAMG 'gamg'
     72: #define PCBDDC 'bddc'
     73: #define PCPATCH 'patch'

     75: #define PCMGType PetscEnum
     76: #define PCMGCycleType PetscEnum
     77: #define PCMGGalerkinType PetscEnum
     78: #define PCExoticType PetscEnum
     79: #define PCFailedReason PetscEnum
     80: #endif