Actual source code: petsctsdef.h
petsc-3.4.2 2013-07-02

      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 TSARKIMEXType character*(80)
     54: #define TSARKIMEX1BEE   '1bee'
     55: #define TSARKIMEXA2     'a2'
     56: #define TSARKIMEXL2     'l2'
     57: #define TSARKIMEXARS122 'ars122'
     58: #define TSARKIMEX2C     '2c'
     59: #define TSARKIMEX2D     '2d'
     60: #define TSARKIMEX2E     '2e'
     61: #define TSARKIMEXPRSSP2 'prssp2'
     62: #define TSARKIMEX3      '3'
     63: #define TSARKIMEXBPR3   'bpr3'
     64: #define TSARKIMEXARS443 'ars443'
     65: #define TSARKIMEX4      '4'
     66: #define TSARKIMEX5      '5'

     68: #define TSROSWType character*(80)
     69: #define TSROSW2M          '2m'
     70: #define TSROSW2P          '2p'
     71: #define TSROSWRA3PW       'ra3pw'
     72: #define TSROSWRA34PW2     'ra34pw2'
     73: #define TSROSWRODAS3      'rodas3'
     74: #define TSROSWSANDU3      'sandu3'
     75: #define TSROSWASSP3P3S1C  'assp3p3s1c'
     76: #define TSROSWLASSP3P4S2C 'lassp3p4s2c'
     77: #define TSROSWLLSSP3P3S2C 'llssp3p3s2c'
     78: #define TSROSWARK3        'ark3'
     79: #define TSROSWTHETA1      'theta1'
     80: #define TSROSWTHETA2      'theta2'
     81: #define TSROSWGRK4T       'grk4t'
     82: #define TSROSWSHAMP4      'shamp4'
     83: #define TSROSWVELDD4      'veldd4'
     84: #define TSROSW4L          '4l'

     86: #define TSEIMEXType character*(80)
     87: #define TSEIMEXS2     's2'
     88: #define TSEIMEXS3     's3'
     89: #define TSEIMEXS4     's4'

     91: #endif