Ignore:
Timestamp:
07/31/15 19:17:42 (9 years ago)
Author:
dubos
Message:

Cleanup DCMIP3

File:
1 edited

Legend:

Unmodified
Added
Removed
  • codes/icosagcm/trunk/src/etat0.f90

    r344 r345  
    1616    USE mpipara, ONLY : is_mpi_root 
    1717    USE disvert_mod 
    18     ! New interface 
     18    ! Generic interface 
    1919    USE etat0_dcmip1_mod, ONLY : getin_etat0_dcmip1=>getin_etat0 
    2020    USE etat0_dcmip2_mod, ONLY : getin_etat0_dcmip2=>getin_etat0 
     
    2222    USE etat0_williamson_mod, ONLY : getin_etat0_williamson=>getin_etat0 
    2323    USE etat0_temperature_mod, ONLY: getin_etat0_temperature=>getin_etat0 
    24     ! Old interface 
     24    ! Ad hoc interfaces 
    2525    USE etat0_academic_mod, ONLY : etat0_academic=>etat0   
    26     USE etat0_dcmip3_mod, ONLY : etat0_dcmip3=>etat0   
    2726    USE etat0_dcmip4_mod, ONLY : etat0_dcmip4=>etat0   
    2827    USE etat0_heldsz_mod, ONLY : etat0_heldsz=>etat0   
     
    5352    CALL getin("etat0",etat0_type) 
    5453     
    55     !------------------- New interface --------------------- 
     54    !------------------- Generic interface --------------------- 
    5655    collocated=.TRUE. 
    5756    SELECT CASE (TRIM(etat0_type)) 
     
    6564    CASE ('dcmip2_mountain','dcmip2_schaer_noshear','dcmip2_schaer_shear') 
    6665       CALL getin_etat0_dcmip2 
     66    CASE ('dcmip3') 
    6767    CASE ('dcmip5') 
    6868        CALL getin_etat0_dcmip5 
     
    7474    END SELECT 
    7575 
    76     !------------------- Old interface -------------------- 
     76    !------------------- Ad hoc interfaces -------------------- 
    7777    SELECT CASE (TRIM(etat0_type)) 
    7878    CASE ('start_file') 
     
    8686       CALL etat0_venus(f_ps, f_phis, f_theta_rhodz, f_u, f_q) 
    8787       PRINT *, "Venus (Lebonnois et al., 2012) test case" 
    88     CASE ('dcmip3') 
    89        CALL etat0_dcmip3(f_ps,f_phis,f_theta_rhodz,f_u, f_q) 
    9088    CASE ('dcmip4') 
    9189        IF(nqtot<2) THEN 
     
    171169    USE etat0_dcmip1_mod, ONLY : compute_dcmip1 => compute_etat0 
    172170    USE etat0_dcmip2_mod, ONLY : compute_dcmip2 => compute_etat0 
     171    USE etat0_dcmip3_mod, ONLY : compute_dcmip3 => compute_etat0 
    173172    USE etat0_dcmip5_mod, ONLY : compute_dcmip5 => compute_etat0 
    174173    USE etat0_williamson_mod, ONLY : compute_w91_6 => compute_etat0 
     
    211210       CALL compute_dcmip2(iim*jjm,lon_i,lat_i, phis, ps, temp_i, ulon_i, ulat_i) 
    212211       CALL compute_dcmip2(3*iim*jjm,lon_e,lat_e, phis_e, ps_e, temp_e, ulon_e, ulat_e)       
     212    CASE('dcmip3') 
     213       CALL compute_dcmip3(iim*jjm,lon_i,lat_i, phis, ps, temp_i, ulon_i, ulat_i, q) 
     214       CALL compute_dcmip3(3*iim*jjm,lon_e,lat_e, phis_e, ps_e, temp_e, ulon_e, ulat_e, q_e) 
    213215    CASE('dcmip5') 
    214216       CALL compute_dcmip5(iim*jjm,lon_i,lat_i, phis, ps, temp_i, ulon_i, ulat_i, q) 
Note: See TracChangeset for help on using the changeset viewer.