Changeset 268


Ignore:
Timestamp:
08/26/14 14:28:37 (10 years ago)
Author:
millour
Message:

Add possibility to initialize atmospheric temperatures with a profile read from a text file (one value per line, starting from first atmospheric level, up to the top of the atmosphere).
EM

Location:
codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/src
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/branches/SATURN_DYNAMICO/ICOSAGCM/src/etat0.f90

    r260 r268  
    1818    USE etat0_dcmip5_mod, ONLY : getin_etat0_dcmip5=>getin_etat0 
    1919    USE etat0_williamson_mod, ONLY : getin_etat0_williamson=>getin_etat0 
     20    USE etat0_temperature_mod, ONLY: getin_etat0_temperature=>getin_etat0 
    2021    ! Old interface 
    2122    USE etat0_academic_mod, ONLY : etat0_academic=>etat0   
     
    5657    CASE ('isothermal') 
    5758       CALL getin_etat0_isothermal 
     59       CALL etat0_collocated(f_phis,f_ps,f_mass,f_theta_rhodz,f_u, f_q) 
     60    CASE ('temperature_profile') 
     61       CALL getin_etat0_temperature 
    5862       CALL etat0_collocated(f_phis,f_ps,f_mass,f_theta_rhodz,f_u, f_q) 
    5963    CASE ('jablonowsky06') 
     
    150154    USE etat0_dcmip5_mod, ONLY : compute_dcmip5 => compute_etat0 
    151155    USE etat0_williamson_mod, ONLY : compute_w91_6 => compute_etat0 
     156    USE etat0_temperature_mod, ONLY: compute_etat0_temperature => compute_etat0 
    152157    IMPLICIT NONE 
    153158    REAL(rstd),INTENT(INOUT) :: ps(iim*jjm) 
     
    192197       CALL compute_etat0_isothermal(iim*jjm, phis, ps, temp_i, ulon_i, ulat_i, q) 
    193198       CALL compute_etat0_isothermal(3*iim*jjm, phis_e, ps_e, temp_e, ulon_e, ulat_e, q_e) 
     199    CASE ('temperature_profile') 
     200       CALL compute_etat0_temperature(iim*jjm, phis, ps, temp_i, ulon_i, ulat_i, q) 
     201       CALL compute_etat0_temperature(3*iim*jjm, phis_e, ps_e, temp_e, ulon_e, ulat_e, q_e) 
    194202    CASE('jablonowsky06') 
    195203       CALL compute_jablonowsky06(iim*jjm,lon_i,lat_i, phis, ps, temp_i, ulon_i, ulat_i) 
Note: See TracChangeset for help on using the changeset viewer.