1: ! 2: ! 3: ! Include file for Fortran use of the PC (preconditioner) package in PETSc 4: ! 5: #if !defined (__PETSCPCDEF_H) 8: #include finclude/petscmatdef.h 9: #include finclude/petscdadef.h 11: #if !defined(PETSC_USE_FORTRAN_DATATYPES) 12: #define PC PetscFortranAddr 13: #endif 14: #define PCSide PetscEnum 15: #define PCASMType PetscEnum 16: #define PCCompositeType PetscEnum 17: #define PCRichardsonConvergedReason PetscEnum 18: #define PCType character*(80) 19: #define PCFieldSplitSchurPreType PetscEnum 20: ! 21: ! Various preconditioners 22: ! 23: #define PCNONE 'none' 24: #define PCJACOBI 'jacobi' 25: #define PCSOR 'sor' 26: #define PCLU 'lu' 27: #define PCSHELL 'shell' 28: #define PCBJACOBI 'bjacobi' 29: #define PCMG 'mg' 30: #define PCEISENSTAT 'eisenstat' 31: #define PCILU 'ilu' 32: #define PCICC 'icc' 33: #define PCASM 'asm' 34: #define PCKSP 'ksp' 35: #define PCCOMPOSITE 'composite' 36: #define PCREDUNDANT 'redundant' 37: #define PCSPAI 'spai' 38: #define PCMILU 'milu' 39: #define PCNN 'nn' 40: #define PCCHOLESKY 'cholesky' 41: #define PCPBJACOBI 'pbjacobi' 42: #define PCMAT 'mat' 43: #define PCHYPRE 'hypre' 44: #define PCFIELDSPLIT 'fieldsplit' 45: #define PCTFS 'tfs' 46: #define PCML 'ml' 47: #define PCPYTHON 'python' 48: #define PCPFMG 'pfmg' 49: #define PCSYSPFMG 'syspfmg' 50: #endif