Changeset 561 for codes/icosagcm/trunk/src/dynamics/caldyn_hevi.f90
- Timestamp:
- 09/25/17 14:20:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/dynamics/caldyn_hevi.f90
r548 r561 59 59 REAL(rstd),POINTER :: convm(:,:) 60 60 REAL(rstd),POINTER :: wwuu(:,:) 61 61 REAL(rstd),POINTER :: F_el(:,:), gradPhi2(:,:), w_il(:,:) , W_etadot(:,:), pres(:,:), m_il(:,:) 62 62 INTEGER :: ind 63 63 LOGICAL,SAVE :: first=.TRUE. … … 118 118 dW = f_dW_fast(ind) 119 119 dPhi = f_dPhi_fast(ind) 120 CALL compute_caldyn_solver(tau,mass,theta,pk,geopot,W,dPhi,dW,du) ! computes d(Phi,W,du)_fast and updates Phi,W 120 ! reuse buffers 121 m_il = f_wil(ind) 122 pres = f_gradPhi2(ind) 123 CALL compute_caldyn_solver(tau,mass,theta,pk,geopot,W, m_il,pres, dPhi,dW,du) ! computes d(Phi,W,du)_fast and updates Phi,W 121 124 END IF 122 125 u=f_u(ind) … … 161 164 geopot = f_geopot(ind) 162 165 dPhi = f_dPhi_slow(ind) 163 CALL compute_caldyn_slow_NH(u,mass,geopot,W, hflux,du,dPhi,dW) 166 F_el = f_Fel(ind) 167 gradPhi2 = f_gradPhi2(ind) 168 w_il = f_wil(ind) 169 CALL compute_caldyn_slow_NH(u,mass,geopot,W, F_el,gradPhi2,w_il, hflux,du,dPhi,dW) 164 170 END IF 165 171 CALL compute_caldyn_Coriolis(hflux,theta,qu, convm,dtheta_rhodz,du) … … 170 176 CALL compute_caldyn_vert(u,theta,mass,convm, wflux,wwuu, dps, dtheta_rhodz, du) 171 177 IF(.NOT.hydrostatic) THEN 172 CALL compute_caldyn_vert_NH(mass,geopot,W,wflux, du,dPhi,dW) 178 W_etadot=f_Wetadot(ind) 179 CALL compute_caldyn_vert_NH(mass,geopot,W,wflux, W_etadot, du,dPhi,dW) 173 180 END IF 174 181 END IF
Note: See TracChangeset
for help on using the changeset viewer.