Changeset 382


Ignore:
Timestamp:
05/25/16 10:02:22 (8 years ago)
Author:
ymipsl
Message:

Add etat0 for DCMIP2016 baroclinic wave testcase.

YM

Location:
codes/icosagcm/trunk/src
Files:
1 added
1 edited

Legend:

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

    r377 r382  
    2424    USE etat0_williamson_mod, ONLY : getin_etat0_williamson=>getin_etat0 
    2525    USE etat0_temperature_mod, ONLY: getin_etat0_temperature=>getin_etat0 
     26    USE etat0_dcmip2016_baroclinic_wave_mod, ONLY : getin_etat0_dcmip2016_baroclinic_wave=>getin_etat0 
    2627    ! Ad hoc interfaces 
    2728    USE etat0_academic_mod, ONLY : etat0_academic=>etat0   
     
    7778       autoinit_mass=.FALSE. 
    7879       CALL getin_etat0_williamson 
     80    CASE ('dcmip2016_baroclinic_wave') 
     81        CALL getin_etat0_dcmip2016_baroclinic_wave 
    7982    CASE DEFAULT 
    8083       collocated=.FALSE. 
     
    183186    USE etat0_williamson_mod, ONLY : compute_w91_6 => compute_etat0 
    184187    USE etat0_temperature_mod, ONLY: compute_etat0_temperature => compute_etat0 
     188    USE etat0_dcmip2016_baroclinic_wave_mod, ONLY : compute_dcmip2016_baroclinic_wave => compute_etat0 
    185189    IMPLICIT NONE 
    186190    REAL(rstd),INTENT(INOUT) :: ps(iim*jjm) 
     
    252256       CALL compute_w91_6(3*iim*jjm,lon_e,lat_e, phis_e, mass_e(:,1), temp_e(:,1), ulon_e(:,1), ulat_e(:,1)) 
    253257       autoinit_mass = .FALSE. ! do not overwrite mass 
     258    CASE('dcmip2016_baroclinic_wave') 
     259       CALL compute_dcmip2016_baroclinic_wave(iim*jjm,lon_i,lat_i, phis, ps, temp_i, ulon_i, ulat_i, q) 
     260       CALL compute_dcmip2016_baroclinic_wave(3*iim*jjm,lon_e,lat_e, phis_e, ps_e, temp_e, ulon_e, ulat_e, q_e) 
    254261    END SELECT 
    255262 
Note: See TracChangeset for help on using the changeset viewer.