- Timestamp:
- 2013-12-17T17:33:09+01:00 (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2013/dev_MERGE_2013/NEMOGCM/NEMO/OPA_SRC/step.F90
r4328 r4338 72 72 INTEGER :: jk ! dummy loop indice 73 73 INTEGER :: indic ! error indicator if < 0 74 INTEGER :: kcall ! optional integer argument (dom_vvl_sf_nxt) 74 75 !! --------------------------------------------------------------------- 75 76 … … 106 107 CALL ssh_nxt ( kstp ) ! after ssh (includes call to div_cur) 107 108 IF( lk_dynspg_ts ) THEN 109 IF( lk_vvl ) CALL dom_vvl_sf_nxt( kstp ) ! after vertical scale factors 108 110 CALL wzv ( kstp ) ! now cross-level velocity 109 111 ! In case the time splitting case, update almost all momentum trends here: 110 112 ! Note that the computation of vertical velocity above, hence "after" sea level 111 113 ! is necessary to compute momentum advection for the rhs of barotropic loop: 112 CALL eos ( tsn, rhd, rhop, fsdept_n(:,:,:) ) 113 IF( ln_zps ) CALL zps_hde( kstp, jpts, tsn, gtsu, gtsv, & ! zps: now hor. derivative114 & rhd, gru , grv ) ! of t, s, rd at the last ocean level114 CALL eos ( tsn, rhd, rhop, fsdept_n(:,:,:) ) ! now in situ density for hpg computation 115 IF( ln_zps ) CALL zps_hde( kstp, jpts, tsn, gtsu, gtsv, & ! zps: now hor. derivative 116 & rhd, gru , grv ) ! of t, s, rd at the last ocean level 115 117 116 118 ua(:,:,:) = 0.e0 ! set dynamics trends to zero … … 135 137 CALL div_cur( kstp ) ! Horizontal divergence & Relative vorticity (2nd call in time-split case) 136 138 ENDIF 137 IF( lk_vvl ) CALL dom_vvl_sf_nxt( kstp ) ! after vertical scale factors139 IF( lk_vvl ) CALL dom_vvl_sf_nxt( kstp, kcall=2 ) ! after vertical scale factors 138 140 CALL wzv ( kstp ) ! now cross-level velocity 139 141
Note: See TracChangeset
for help on using the changeset viewer.