- Timestamp:
- 2015-09-28T16:42:34+02:00 (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2015/dev_r5721_CNRS9_NOC3_LDF/NEMOGCM/NEMO/TOP_SRC/TRP/trctrp.F90
r5758 r5766 15 15 USE oce_trc ! ocean dynamics and active tracers variables 16 16 USE trc ! ocean passive tracers variables 17 USE trcnam_trp ! passive tracers transport namelist variables18 17 USE trabbl ! bottom boundary layer (trc_bbl routine) 19 18 USE trcbbl ! bottom boundary layer (trc_bbl routine) 20 USE zdfkpp ! KPP non-local tracer fluxes (trc_kpp routine)21 19 USE trcdmp ! internal damping (trc_dmp routine) 22 20 USE trcldf ! lateral mixing (trc_ldf routine) … … 38 36 PUBLIC trc_trp ! called by trc_stp 39 37 40 !! * Substitutions41 # include "top_substitute.h90"42 38 !!---------------------------------------------------------------------- 43 39 !! NEMO/TOP 3.3 , NEMO Consortium (2010) … … 69 65 IF( ln_trcdmp_clo ) CALL trc_dmp_clo( kt ) ! internal damping trends on closed seas only 70 66 CALL trc_adv ( kt ) ! horizontal & vertical advection 67 ! ! Partial top/bottom cell: GRADh( trb ) 68 IF( ln_zps ) THEN 69 IF( ln_isfcav ) THEN ; CALL zps_hde_isf( kt, jptra, trb, pgtu=gtru, pgtv=gtrv, pgtui=gtrui, pgtvi=gtrvi ) ! both top & bottom 70 ELSE ; CALL zps_hde ( kt, jptra, trb, gtru, gtrv ) ! only bottom 71 ENDIF 72 ENDIF 73 ! 71 74 CALL trc_ldf ( kt ) ! lateral mixing 72 75 #if defined key_agrif … … 78 81 79 82 #if defined key_agrif 80 IF( .NOT.Agrif_Root())CALL Agrif_Update_Trc( kt ) ! Update tracer at AGRIF zoom boundaries : children only83 IF( .NOT.Agrif_Root()) CALL Agrif_Update_Trc( kt ) ! Update tracer at AGRIF zoom boundaries : children only 81 84 #endif 82 83 ! ! Partial top/bottom cell: GRADh( trn )84 IF( ln_isfcav .AND. ln_zps ) THEN ; CALL zps_hde_isf( kt, jptra, trn, gtru, gtrv, gtrui, gtrvi ) ! both top & bottom85 ELSEIF( ln_zps ) THEN ; CALL zps_hde ( kt, jptra, trn, gtru, gtrv ) ! only bottom86 ENDIF87 !!gm IF( ln_zps ) THEN88 ! & CALL zps_hde ( kt, jptra, trn, gtru, gtrv ) ! Partial steps: now horizontal gradient of passive89 ! IF( ln_isfcav) &90 ! & CALL zps_hde_isf( kt, jptra, trn, pgtu=gtru, pgtv=gtrv, pgtui=gtrui, pgtvi=gtrvi ) ! Partial steps: now horizontal gradient of passive91 !!gm ENDIF92 85 ! 93 86 ELSE ! 1D vertical configuration 94 87 CALL trc_sbc( kt ) ! surface boundary condition 95 IF( .NOT. lk_offline .AND. lk_zdfkpp ) &96 & CALL trc_kpp( kt ) ! KPP non-local tracer fluxes97 88 CALL trc_zdf( kt ) ! vertical mixing and after tracer fields 98 89 CALL trc_nxt( kt ) ! tracer fields at next time step
Note: See TracChangeset
for help on using the changeset viewer.