Changeset 385
- Timestamp:
- 05/25/16 12:07:23 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/physics_dcmip2016.f90
r381 r385 151 151 IF (testcase==moist_baroclinic .OR. testcase==cyclone .OR. testcase==supercell ) THEN 152 152 DO ij=1,ngrid 153 lastz=0 ;153 lastz=0 154 154 DO l=1,llm 155 155 ll=llm+1-l 156 rho(l) = gas_constant*Temp(ij,l l) / pmid(ij,ll)156 rho(l) = gas_constant*Temp(ij,l) / pmid(ij,ll) 157 157 z(l)=lastz+ (p(ij,l)-p(ij,l+1) /g) / rho(l) 158 158 lastz=z(l) 159 theta(l)= Tfi(ij,l )*(1+0.608*qfi(ij,ll,1)) * pk(ij,l) / cpp159 theta(l)= Tfi(ij,ll)*(1+0.608*qfi(ij,ll,1)) * pk(ij,l) / cpp 160 160 ENDDO 161 161 … … 165 165 DO l=1,llm 166 166 ll=llm+1-l 167 Tfi(ij,l ) = theta(l) *(1+0.608*qfi(ij,ll,1)) * cpp / pk(ij,l)167 Tfi(ij,ll) = theta(l) /(1+0.608*qfi(ij,ll,1)) * cpp / pk(ij,l) 168 168 ENDDO 169 169 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.