Changeset 953 for codes/icosagcm/trunk/src/dynamics/caldyn_hevi.F90
- Timestamp:
- 07/15/19 12:29:31 (5 years ago)
- File:
-
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/trunk/src/dynamics/caldyn_hevi.F90
r933 r953 26 26 USE output_field_mod 27 27 USE checksum_mod 28 USE abort_mod 28 29 IMPLICIT NONE 29 30 LOGICAL,INTENT(IN) :: write_out … … 86 87 CALL wait_message(req_ps) ! COM00 87 88 ELSE 89 CALL abort_acc("HEVI_scheme/!eta_mass") 88 90 CALL send_message(f_mass,req_mass) ! COM00 89 91 CALL wait_message(req_mass) ! COM00 … … 93 95 94 96 IF(.NOT.hydrostatic) THEN 97 CALL abort_acc("HEVI_scheme/!hydrostatic") 95 98 CALL send_message(f_geopot,req_geopot) ! COM03 96 99 CALL wait_message(req_geopot) ! COM03 … … 112 115 du=f_du_fast(ind) 113 116 IF(hydrostatic) THEN 114 du(:,:)=0. 117 !$acc kernels present(du) async 118 du(:,:)=0.0d0 119 !$acc end kernels 115 120 CALL compute_geopot(mass,theta, ps,pk,geopot) 116 121 ELSE 122 CALL abort_acc("HEVI_scheme/!hydrostatic") 117 123 phis = f_phis(ind) 118 124 W = f_W(ind) … … 161 167 CALL compute_caldyn_slow_hydro(u,mass,hflux,du, .TRUE.) 162 168 ELSE 169 CALL abort_acc("HEVI_scheme/!hydrostatic") 163 170 W = f_W(ind) 164 171 dW = f_dW_slow(ind) … … 170 177 CALL compute_caldyn_slow_NH(u,mass,geopot,W, F_el,gradPhi2,w_il, hflux,du,dPhi,dW) 171 178 END IF 172 CALL compute_caldyn_Coriolis(hflux,theta,qu, convm,dtheta_rhodz,du) 179 CALL compute_caldyn_Coriolis(hflux,theta,qu,convm,dtheta_rhodz,du) 180 173 181 IF(caldyn_eta==eta_mass) THEN 174 182 wflux=f_wflux(ind) … … 177 185 CALL compute_caldyn_vert(u,theta,mass,convm, wflux,wwuu, dps, dtheta_rhodz, du) 178 186 IF(.NOT.hydrostatic) THEN 187 CALL abort_acc("HEVI_scheme/!hydrostatic") 179 188 W_etadot=f_Wetadot(ind) 180 189 CALL compute_caldyn_vert_NH(mass,geopot,W,wflux, W_etadot, du,dPhi,dW)
Note: See TracChangeset
for help on using the changeset viewer.