Actual source code: petsctsdef.h

petsc-3.5.4 2015-05-23
Report Typos and Errors
  1: !
  2: !  Include file for Fortran use of the TS (timestepping) package in PETSc
  3: !
  4: #if !defined (__PETSCTSDEF_H)

 7:  #include finclude/petscsnesdef.h

  9: #if !defined(PETSC_USE_FORTRAN_DATATYPES)
 10: #define TS PetscFortranAddr
 11: #define TSAdapt PetscFortranAddr
 12: #endif
 13: #define TSType character*(80)
 14: #define TSAdaptType character*(80)
 15: #define TSEquationType PetscEnum
 16: #define TSConvergedReason PetscEnum
 17: #define TSExactFinalTimeOption PetscEnum
 18: #define TSSundialsType PetscEnum
 19: #define TSProblemType PetscEnum
 20: #define TSSundialsGramSchmidtType PetscEnum
 21: #define TSSundialsLmmType PetscEnum

 23: #define TSEULER           'euler'
 24: #define TSBEULER          'beuler'
 25: #define TSPSEUDO          'pseudo'
 26: #define TSCN              'cn'
 27: #define TSSUNDIALS        'sundials'
 28: #define TSRK              'rk'
 29: #define TSPYTHON          'python'
 30: #define TSTHETA           'theta'
 31: #define TSALPHA           'alpha'
 32: #define TSGL              'gl'
 33: #define TSSSP             'ssp'
 34: #define TSARKIMEX         'arkimex'
 35: #define TSROSW            'rosw'
 36: #define TSEIMEX           'eimex'

 38: #define TSSSPType character*(80)
 39: #define TSSSPRKS2  'rks2'
 40: #define TSSSPRKS3  'rks3'
 41: #define TSSSPRK104 'rk104'

 43: #define TSGLAdaptType character*(80)
 44: #define TSGLADAPT_NONE 'none'
 45: #define TSGLADAPT_SIZE 'size'
 46: #define TSGLADAPT_BOTH 'both'

 48: #define TSAdaptType character*(80)
 49: #define TSADAPTBASIC 'basic'
 50: #define TSADAPTNONE  'none'
 51: #define TSADAPTCFL   'cfl'

 53: #define TSRKType character*(80)
 54: #define TSRK1FE   '1fe'
 55: #define TSRK2A    '2a'
 56: #define TSRK3     '3'
 57: #define TSRK3BS   '3bs'
 58: #define TSRK4     '4'
 59: #define TSRK5F    '5f'
 60: #define TSRK5DP   '5dp'

 62: #define TSARKIMEXType character*(80)
 63: #define TSARKIMEX1BEE   '1bee'
 64: #define TSARKIMEXA2     'a2'
 65: #define TSARKIMEXL2     'l2'
 66: #define TSARKIMEXARS122 'ars122'
 67: #define TSARKIMEX2C     '2c'
 68: #define TSARKIMEX2D     '2d'
 69: #define TSARKIMEX2E     '2e'
 70: #define TSARKIMEXPRSSP2 'prssp2'
 71: #define TSARKIMEX3      '3'
 72: #define TSARKIMEXBPR3   'bpr3'
 73: #define TSARKIMEXARS443 'ars443'
 74: #define TSARKIMEX4      '4'
 75: #define TSARKIMEX5      '5'

 77: #define TSROSWType character*(80)
 78: #define TSROSW2M          '2m'
 79: #define TSROSW2P          '2p'
 80: #define TSROSWRA3PW       'ra3pw'
 81: #define TSROSWRA34PW2     'ra34pw2'
 82: #define TSROSWRODAS3      'rodas3'
 83: #define TSROSWSANDU3      'sandu3'
 84: #define TSROSWASSP3P3S1C  'assp3p3s1c'
 85: #define TSROSWLASSP3P4S2C 'lassp3p4s2c'
 86: #define TSROSWLLSSP3P3S2C 'llssp3p3s2c'
 87: #define TSROSWARK3        'ark3'
 88: #define TSROSWTHETA1      'theta1'
 89: #define TSROSWTHETA2      'theta2'
 90: #define TSROSWGRK4T       'grk4t'
 91: #define TSROSWSHAMP4      'shamp4'
 92: #define TSROSWVELDD4      'veldd4'
 93: #define TSROSW4L          '4l'

 95: #define TSEIMEXType character*(80)
 96: #define TSEIMEXS2     's2'
 97: #define TSEIMEXS3     's3'
 98: #define TSEIMEXS4     's4'

100: #endif