Changeset 387 for codes/icosagcm/trunk/src/caldyn_gcm.f90
- Timestamp:
- 05/28/16 00:32:21 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/caldyn_gcm.f90
r362 r387 133 133 134 134 REAL(rstd),POINTER :: ps(:), dps(:) 135 REAL(rstd),POINTER :: mass(:,:), theta_rhodz(:,: ), dtheta_rhodz(:,:)135 REAL(rstd),POINTER :: mass(:,:), theta_rhodz(:,:,:), dtheta_rhodz(:,:,:) 136 136 REAL(rstd),POINTER :: u(:,:), du(:,:), hflux(:,:), wflux(:,:) 137 137 REAL(rstd),POINTER :: qu(:,:) … … 194 194 qu=f_qu(ind) 195 195 qv=f_qv(ind) 196 CALL compute_pvort(ps,u,theta_rhodz , mass,theta,qu,qv) ! COM00 COM01 COM02196 CALL compute_pvort(ps,u,theta_rhodz(:,:,1), mass,theta,qu,qv) ! COM00 COM01 COM02 197 197 ENDDO 198 198 ! CALL checksum(f_mass) … … 208 208 ps=f_ps(ind) 209 209 u=f_u(ind) 210 theta_rhodz=f_theta_rhodz(ind)211 210 mass=f_mass(ind) 212 211 theta = f_theta(ind) … … 219 218 dtheta_rhodz=f_dtheta_rhodz(ind) 220 219 du=f_du(ind) 221 CALL compute_caldyn_horiz(u,mass,qu,theta,pk,geopot, hflux,convm,dtheta_rhodz ,du)220 CALL compute_caldyn_horiz(u,mass,qu,theta,pk,geopot, hflux,convm,dtheta_rhodz(:,:,1),du) 222 221 IF(caldyn_eta==eta_mass) THEN 223 222 wflux=f_wflux(ind) 224 223 wwuu=f_wwuu(ind) 225 224 dps=f_dps(ind) 226 CALL compute_caldyn_vert(u,theta,mass,convm, wflux,wwuu, dps, dtheta_rhodz , du)225 CALL compute_caldyn_vert(u,theta,mass,convm, wflux,wwuu, dps, dtheta_rhodz(:,:,1), du) 227 226 END IF 228 227 ENDDO … … 245 244 qu=f_qu(ind) 246 245 qv=f_qv(ind) 247 CALL compute_pvort(ps,u,theta_rhodz , mass,theta,qu,qv)246 CALL compute_pvort(ps,u,theta_rhodz(:,:,1), mass,theta,qu,qv) 248 247 pk = f_pk(ind) 249 248 geopot = f_geopot(ind) … … 253 252 dtheta_rhodz=f_dtheta_rhodz(ind) 254 253 du=f_du(ind) 255 CALL compute_caldyn_horiz(u,mass,qu,theta,pk,geopot, hflux,convm,dtheta_rhodz ,du)254 CALL compute_caldyn_horiz(u,mass,qu,theta,pk,geopot, hflux,convm,dtheta_rhodz(:,:,1),du) 256 255 IF(caldyn_eta==eta_mass) THEN 257 256 wflux=f_wflux(ind)
Note: See TracChangeset
for help on using the changeset viewer.