Changeset 2351 for LMDZ5/trunk/libf/phydev
- Timestamp:
- Aug 25, 2015, 5:14:59 PM (9 years ago)
- Location:
- LMDZ5/trunk/libf/phydev
- Files:
-
- 2 deleted
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/trunk/libf/phydev/phyaqua_mod.F90
r1994 r2351 8 8 CONTAINS 9 9 10 SUBROUTINE iniaqua(nlon, latfi, lonfi,iflag_phys)10 SUBROUTINE iniaqua(nlon, iflag_phys) 11 11 12 12 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! … … 17 17 USE phys_state_var_mod, ONLY: rlat, rlon, phys_state_var_init 18 18 USE mod_phys_lmdz_para, ONLY: klon_omp 19 USE comgeomphy, ONLY: rlond, rlatd19 USE geometry_mod, ONLY: longitude_deg, latitude_deg 20 20 IMPLICIT NONE 21 21 22 22 INTEGER,INTENT(IN) :: nlon,iflag_phys 23 REAL,INTENT(IN) :: lonfi(nlon),latfi(nlon)24 23 25 24 ! local variables … … 31 30 CALL phys_state_var_init() 32 31 33 rlat(1:klon_omp)= rlatd(1:klon_omp)*180./pi34 rlon(1:klon_omp)= rlond(1:klon_omp)*180./pi32 rlat(1:klon_omp)=latitude_deg(1:klon_omp) 33 rlon(1:klon_omp)=longitude_deg(1:klon_omp) 35 34 36 35 -
LMDZ5/trunk/libf/phydev/physiq.F90
r2326 r2351 5 5 & debut,lafin,jD_cur, jH_cur,pdtphys, & 6 6 & paprs,pplay,pphi,pphis,presnivs, & 7 & u,v, t,qx, &7 & u,v,rot,t,qx, & 8 8 & flxmass_w, & 9 9 & d_u, d_v, d_t, d_qx, d_ps & … … 12 12 USE dimphy, only : klon,klev 13 13 USE infotrac_phy, only : nqtot 14 USE comgeomphy, only : rlatd14 USE geometry_mod, only : latitude 15 15 USE comcstphy, only : rg 16 16 USE iophy, only : histbeg_phy,histwrite_phy … … 53 53 real,intent(out) :: d_ps(klon) ! physics tendency on surface pressure 54 54 real,intent(in) :: dudyn(nbp_lon+1,nbp_lat,klev) ! Not used 55 REAL, intent(in):: rot(klon, klev) ! Not used 56 ! relative vorticity, in s-1, needed for frontal waves 55 57 56 58 integer,save :: itau=0 ! counter to count number of calls to physics … … 157 159 ! newtonian relaxation towards temp_newton() 158 160 do k=1,klev 159 temp_newton(1:klon,k)=280.+cos( rlatd(1:klon))*40.-pphi(1:klon,k)/rg*6.e-3161 temp_newton(1:klon,k)=280.+cos(latitude(1:klon))*40.-pphi(1:klon,k)/rg*6.e-3 160 162 d_t(1:klon,k)=(temp_newton(1:klon,k)-t(1:klon,k))/1.e5 161 163 enddo
Note: See TracChangeset
for help on using the changeset viewer.