Changeset 10806 for NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/step.F90
- Timestamp:
- 2019-03-27T17:55:22+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r10721_KERNEL-02_Storkey_Coward_IMMERSE_first_steps/src/OCE/step.F90
r10802 r10806 178 178 !!jc: fs simplification 179 179 180 u a(:,:,:) = 0._wp ! set dynamics trends to zero181 v a(:,:,:) = 0._wp180 uu(:,:,:,Nrhs) = 0._wp ! set dynamics trends to zero 181 vv(:,:,:,Nrhs) = 0._wp 182 182 183 183 IF( lk_asminc .AND. ln_asmiau .AND. ln_dyninc ) & … … 190 190 CALL dyn_adv ( kstp, Nm1, Nnn, uu(:,:,:,Nrhs), vv(:,:,:,Nrhs) ) ! advection (vector or flux form) 191 191 CALL dyn_vor ( kstp, Nnn, uu(:,:,:,Nrhs), vv(:,:,:,Nrhs) ) ! vorticity term including Coriolis 192 CALL dyn_ldf ( kstp ) ! lateral mixing192 CALL dyn_ldf ( kstp, Nm1, Nnn, uu(:,:,:,Nrhs), vv(:,:,:,Nrhs) ) ! lateral mixing 193 193 IF( ln_zdfosm ) CALL dyn_osm ( kstp ) ! OSMOSIS non-local velocity fluxes 194 194 CALL dyn_hpg ( kstp ) ! horizontal gradient of Hydrostatic pressure … … 233 233 ! Active tracers 234 234 !<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<< 235 ts a(:,:,:,:) = 0._wp ! set tracer trends to zero235 ts(:,:,:,:,Nrhs) = 0._wp ! set tracer trends to zero 236 236 237 237 IF( lk_asminc .AND. ln_asmiau .AND. & 238 238 & ln_trainc ) CALL tra_asm_inc ( kstp ) ! apply tracer assimilation increment 239 CALL tra_sbc ( kstp ) ! surface boundary condition240 IF( ln_traqsr ) CALL tra_qsr ( kstp ) ! penetrative solar radiation qsr241 IF( ln_trabbc ) CALL tra_bbc ( kstp ) ! bottom heat flux242 IF( ln_trabbl ) CALL tra_bbl ( kstp ) ! advective (and/or diffusive) bottom boundary layer scheme243 IF( ln_tradmp ) CALL tra_dmp ( kstp ) ! internal damping trends239 CALL tra_sbc ( kstp, Nnn, ts(:,:,:,:,Nrhs) ) ! surface boundary condition 240 IF( ln_traqsr ) CALL tra_qsr ( kstp, Nnn, Nnn_2lev, ts(:,:,:,:,Nrhs) ) ! penetrative solar radiation qsr 241 IF( ln_trabbc ) CALL tra_bbc ( kstp, Nnn, ts(:,:,:,:,Nrhs) ) ! bottom heat flux 242 IF( ln_trabbl ) CALL tra_bbl ( kstp, Nm1, Nnn, Nnn_2lev, ts(:,:,:,:,Nrhs) ) ! advective (and/or diffusive) bottom boundary layer scheme 243 IF( ln_tradmp ) CALL tra_dmp ( kstp, Nm1, Nnn_2lev, ts(:,:,:,:,Nrhs) ) ! internal damping trends 244 244 IF( ln_bdy ) CALL bdy_tra_dmp ( kstp ) ! bdy damping trends 245 245 #if defined key_agrif … … 247 247 & CALL Agrif_Sponge_tra ! tracers sponge 248 248 #endif 249 CALL tra_adv ( kstp, Nm1, Nnn, Np1, ts(:,:,:,:,Nrhs) ) ! horizontal & vertical advection249 CALL tra_adv ( kstp, Nm1, Nnn, Np1, Nnn_2lev, ts(:,:,:,:,Nrhs) ) ! horizontal & vertical advection 250 250 IF( ln_zdfosm ) CALL tra_osm ( kstp ) ! OSMOSIS non-local tracer fluxes 251 251 IF( lrst_oce .AND. ln_zdfosm ) & 252 252 & CALL osm_rst( kstp, 'WRITE' )! write OSMOSIS outputs + wn (so must do here) to restarts 253 CALL tra_ldf ( kstp ) ! lateral mixing253 CALL tra_ldf ( kstp, Nm1, Nnn, Nnn_2lev, ts(:,:,:,:,Nrhs) ) ! lateral mixing 254 254 255 255 !!gm : why CALL to dia_ptr has been moved here??? (use trends info?) … … 343 343 vb => vv(:,:,:,Nm1); vn => vv(:,:,:,Nnn); va => vv(:,:,:,Np1) 344 344 wn => ww(:,:,:) 345 hdivn => hdiv(:,:,:) 346 rab_b => r_ab (:,:,:,:,Nm1_2lev); rab_n => r_ab (:,:,:,:,Nnn_2lev) 347 rn2b => r_n2 (:,:,:,Nm1_2lev) ; rn2 => r_n2 (:,:,:,Nnn_2lev) 345 348 346 349 tsb => ts(:,:,:,:,Nm1); tsn => ts(:,:,:,:,Nnn); tsa => ts(:,:,:,:,Np1) … … 360 363 gde3w_n => gde3w(:,:,:) 361 364 362 ht_n => ht(:,:)363 hu_b => hu(:,:,Nm1); hu_n => hu(:,:,Nnn); hu_a => hu(:,:,Np1)364 hv_b => hv(:,:,Nm1); hv_n => hv(:,:,Nnn); hv_a => hv(:,:,Np1)365 r1_hu_b => r1_hu(:,:,Nm1); r1_hu_n => r1_hu(:,:,Nnn); r1_hu_a => r1_hu(:,:,Np1)366 r1_hv_b => r1_hv(:,:,Nm1); r1_hv_n => r1_hv(:,:,Nnn); r1_hv_a => r1_hv(:,:,Np1)367 368 365 END SUBROUTINE update_pointers 369 366
Note: See TracChangeset
for help on using the changeset viewer.