Ignore:
Timestamp:
Aug 21, 2015, 11:57:36 AM (9 years ago)
Author:
Ehouarn Millour
Message:

Physics/dynamics separation:

  • move test_disvert_m to dynlonlat_phylonlat/phylmd since it is only used by ce0l and relies on dynamics.
  • put "config_inca" in tracinca_mod so physics routines can get the info from there rather than from control_mod.
  • get rid of references to "control_mod" from within the physics.

EM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • LMDZ5/trunk/libf/phylmd/regr_pr_o3_m.F90

    r1907 r2345  
    3030    use regr1_step_av_m, only: regr1_step_av
    3131    use press_coefoz_m, only: press_in_edg
    32     use control_mod, only: dayref
     32    use time_phylmdz_mod, only: day_ref
    3333
    3434    REAL, intent(in):: p3d(:, :, :) ! pressure at layer interfaces, in Pa
     
    4949
    5050    real r_mob(jjm + 1, size(press_in_edg) - 1)
    51     ! (ozone mole fraction from Mobidic at day "dayref")
     51    ! (ozone mole fraction from Mobidic at day "day_ref")
    5252    ! (r_mob(j, k) is at latitude "rlatu(j)", in pressure interval
    5353    ! "[press_in_edg(k), press_in_edg(k+1)]".)
     
    6464    call nf95_inq_varid(ncid, "r_Mob", varid)
    6565    ! Get data at the right day from the input file:
    66     ncerr = nf90_get_var(ncid, varid, r_mob, start=(/1, 1, dayref/))
     66    ncerr = nf90_get_var(ncid, varid, r_mob, start=(/1, 1, day_ref/))
    6767    call handle_err("nf90_get_var r_Mob", ncerr)
    6868    ! Latitudes are in ascending order in the input file while
Note: See TracChangeset for help on using the changeset viewer.