Changeset 558 for codes/icosagcm/devel/src/dynamics/caldyn_kernels_base.F90
- Timestamp:
- 09/21/17 18:18:47 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
codes/icosagcm/devel/src/dynamics/caldyn_kernels_base.F90
r538 r558 14 14 15 15 ! temporary shared variables for caldyn 16 TYPE(t_field),POINTER,PUBLIC :: f_pk(:),f_wwuu(:),f_planetvel(:) 16 TYPE(t_field),POINTER,PUBLIC :: f_pk(:),f_wwuu(:),f_planetvel(:), & 17 f_Fel(:), f_gradPhi2(:), f_wil(:), f_Wetadot(:) 17 18 18 19 INTEGER, PUBLIC :: caldyn_conserv … … 295 296 END SUBROUTINE compute_caldyn_vert 296 297 297 SUBROUTINE compute_caldyn_vert_NH(mass,geopot,W,wflux, du,dPhi,dW)298 SUBROUTINE compute_caldyn_vert_NH(mass,geopot,W,wflux, W_etadot, du,dPhi,dW) 298 299 REAL(rstd),INTENT(IN) :: mass(iim*jjm,llm) 299 300 REAL(rstd),INTENT(IN) :: geopot(iim*jjm,llm+1) … … 303 304 REAL(rstd),INTENT(INOUT) :: dPhi(iim*jjm,llm+1) 304 305 REAL(rstd),INTENT(INOUT) :: dW(iim*jjm,llm+1) 306 REAL(rstd) :: W_etadot(iim*jjm,llm) ! vertical flux of vertical momentum 305 307 ! local arrays 306 308 REAL(rstd) :: eta_dot(iim*jjm, llm) ! eta_dot in full layers 307 309 REAL(rstd) :: wcov(iim*jjm,llm) ! covariant vertical momentum in full layers 308 REAL(rstd) :: W_etadot(iim*jjm,llm) ! vertical flux of vertical momentum309 310 ! indices and temporary values 310 311 INTEGER :: ij, l … … 314 315 315 316 #ifdef CPP_DYSL 316 ! #if 0317 !$OMP BARRIER 317 318 #include "../kernels/caldyn_vert_NH.k90" 319 !$OMP BARRIER 318 320 #else 319 321 #define ETA_DOT(ij) eta_dot(ij,1)
Note: See TracChangeset
for help on using the changeset viewer.