Changeset 114


Ignore:
Timestamp:
08/08/12 17:46:28 (12 years ago)
Author:
ymipsl
Message:

correction for initial temperature on dcmip testcase 5

YM

File:
1 edited

Legend:

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

    r113 r114  
    6464  USE wind_mod 
    6565  USE theta2theta_rhodz_mod 
     66  USE exner_mod 
    6667  IMPLICIT NONE   
    6768  REAL(rstd),INTENT(OUT) :: ps(iim*jjm) 
     
    8485  REAL(rstd) :: ulat(3*iim*jjm,llm) 
    8586  REAL(rstd) :: lon,lat 
     87  REAL(rstd) :: pks(iim*jjm)  
     88  REAL(rstd) :: pk(iim*jjm,llm)  
    8689 
    8790 
     
    149152          ENDIF 
    150153          T(ij,l)=Tave+Tp  
     154          out_i(ij,l)=Tave+Tp 
    151155        ENDDO 
    152156      ENDDO 
     
    230234!          ulon(ij+u_ldown,l)=vt*d1/d 
    231235!          ulat(ij+u_ldown,l)=vt*d2/d 
    232           out_i(ij,l)=sqrt((vt*d1/d)**2+(vt*d2/d)**2) 
     236!          out_i(ij,l)=sqrt((vt*d1/d)**2+(vt*d2/d)**2) 
    233237        ENDDO 
    234238      ENDDO 
     
    236240     
    237241    CALL compute_wind_perp_from_lonlat_compound(ulon, ulat, ue) 
    238     CALL compute_temperature2theta_rhodz(T,ps,theta_rhodz,0) 
    239        
     242    CALL compute_temperature2theta_rhodz(ps,T,theta_rhodz,0) 
     243 
    240244  END SUBROUTINE compute_etat0_dcmip5 
    241245   
Note: See TracChangeset for help on using the changeset viewer.