Ignore:
Timestamp:
08/17/11 16:06:08 (22 months ago)
Author:
micael
Message:
  • Renamed some constants to have a more consistent naming scheme.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wave_equations_integrator.F90

    r594 r608  
    7272                        SCALAR_REL  = EQ3 
    7373 
    74   integer, parameter :: M_RK2   = 1, & 
    75                         M_RK4   = 2, & 
    76                         M_RKF4  = 3, & 
    77                         M_RKCK4 = 4, & 
    78                         M_RKPD8 = 5 
     74  integer, parameter :: ODE_RK2   = 1, & 
     75                        ODE_RK4   = 2, & 
     76                        ODE_RKF4  = 3, & 
     77                        ODE_RKCK4 = 4, & 
     78                        ODE_RKPD8 = 5 
    7979 
    8080 
     
    9898            SCHRODINGER_FINF, & 
    9999            DIRAC_FINF, & 
    100             M_RK2, & 
    101             M_RK4, & 
    102             M_RKF4, & 
    103             M_RKCK4, & 
    104             M_RKPD8 
     100            ODE_RK2, & 
     101            ODE_RK4, & 
     102            ODE_RKF4, & 
     103            ODE_RKCK4, & 
     104            ODE_RKPD8 
    105105 
    106106contains 
     
    130130    call oct_parse_int('SteppingFunction', 5, stepping_func) 
    131131    select case (stepping_func) 
    132     case (M_RK2) 
     132    case (ODE_RK2) 
    133133      message(1) = "  Stepping function: Embedded 2nd order Runge-Kutta" 
    134134      message(2) = "                     with 3rd order error estimate" 
    135135      call write_info(2,20) 
    136     case (M_RK4) 
     136    case (ODE_RK4) 
    137137      message(1) = "  Stepping function: 4th order (classical) Runge-Kutta method" 
    138138      call write_info(1,20) 
    139     case (M_RKF4) 
     139    case (ODE_RKF4) 
    140140      message(1) = "  Stepping function: Embedded 4th order Runge-Kutta-Fehlberg " 
    141141      message(2) = "                     method with 5th order error estimate" 
    142142      call write_info(2,20) 
    143     case (M_RKCK4) 
     143    case (ODE_RKCK4) 
    144144      message(1) = "  Stepping function: Embedded 4th order Runge-Kutta Cash-Karp" 
    145145      message(2) = "                     method with 5th order error estimate" 
    146146      call write_info(2,20) 
    147     case (M_RKPD8) 
     147    case (ODE_RKPD8) 
    148148      message(1) = "  Stepping function: Embedded 8th order Runge-Kutta Prince-Dormand" 
    149149      message(2) = "                     method with 9th order error estimate" 
Note: See TracChangeset for help on using the changeset viewer.