Changeset 1175 for trunk/NEMO/TOP_SRC/TRP/trczdf_exp.F90
- Timestamp:
- 2008-09-11T18:26:34+02:00 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/TOP_SRC/TRP/trczdf_exp.F90
r1152 r1175 4 4 !! Ocean passive tracers: vertical component of the tracer mixing trend using 5 5 !! an explicit time-stepping (time spllitting scheme) 6 !!============================================================================== 6 !!====================================================================== 7 !! History : 6.0 ! 90-10 (B. Blanke) Original code 8 !! 7.0 ! 91-11 (G. Madec) 9 !! ! 92-06 (M. Imbard) correction on tracer trend loops 10 !! ! 96-01 (G. Madec) statement function for e3 11 !! ! 97-05 (G. Madec) vertical component of isopycnal 12 !! ! 97-07 (G. Madec) geopotential diffusion in s-coord 13 !! ! 98-03 (L. Bopp MA Foujols) passive tracer generalisation 14 !! ! 00-05 (MA Foujols) add lbc for tracer trends 15 !! ! 00-06 (O Aumont) correct isopycnal scheme suppress 16 !! ! avt multiple correction 17 !! ! 00-08 (G. Madec) double diffusive mixing 18 !! 8.5 ! 02-08 (G. Madec) F90: Free form and module 19 !! 9.0 ! 04-03 (C. Ethe ) adapted for passive tracers 20 !! ! 07-02 (C. Deltel) Diagnose ML trends for passive tracers 21 !!---------------------------------------------------------------------- 7 22 #if defined key_top 8 23 !!---------------------------------------------------------------------- … … 17 32 USE trctrp_lec ! passive tracers transport 18 33 USE prtctl_trc ! Print control for debbuging 34 USE trdmld_trc 35 USE trdmld_trc_oce 19 36 20 37 IMPLICIT NONE … … 56 73 !! 57 74 !! ** Action : - Update tra with the before vertical diffusion trend 58 !! - Save the trends in trtrd ('key_trc_diatrd')75 !! - Save the trends ('key_trdmld_trc') 59 76 !! 60 !! History :61 !! 6.0 ! 90-10 (B. Blanke) Original code62 !! 7.0 ! 91-11 (G. Madec)63 !! ! 92-06 (M. Imbard) correction on tracer trend loops64 !! ! 96-01 (G. Madec) statement function for e365 !! ! 97-05 (G. Madec) vertical component of isopycnal66 !! ! 97-07 (G. Madec) geopotential diffusion in s-coord67 !! ! 98-03 (L. Bopp MA Foujols) passive tracer generalisation68 !! ! 00-05 (MA Foujols) add lbc for tracer trends69 !! ! 00-06 (O Aumont) correct isopycnal scheme suppress70 !! ! avt multiple correction71 !! ! 00-08 (G. Madec) double diffusive mixing72 !! 8.5 ! 02-08 (G. Madec) F90: Free form and module73 !! 9.0 ! 04-03 (C. Ethe ) adapted for passive tracers74 77 !!--------------------------------------------------------------------- 78 USE oce_trc, ONLY : ztrtrd => ua ! use ua as 3D workspace 75 79 !! * Arguments 76 80 INTEGER, INTENT( in ) :: kt ! ocean time-step index … … 93 97 ENDIF 94 98 99 IF( l_trdtrc ) THEN 100 STOP 'trczdf_exp: this was never validated, please comment this line to proceed...' 101 ENDIF 102 95 103 ! 0. Local constant initialization 96 104 ! -------------------------------- … … 110 118 111 119 DO jn = 1, jptra 112 120 ! 121 IF( l_trdtrc ) ztrtrd(:,:,:) = tra(:,:,:,jn) ! save trends 113 122 ! ! =============== 114 123 DO jj = 2, jpjm1 ! Vertical slab … … 163 172 END DO ! End of slab 164 173 ! ! =============== 165 END DO 174 IF( l_trdtrc ) THEN 175 ztrtrd(:,:,:) = tra(:,:,:,jn) - ztrtrd(:,:,:) 176 IF (luttrd(jn)) CALL trd_mod_trc( ztrtrd, jn, jptrc_trd_zdf, kt ) 177 END IF 178 179 ! ! =========== 180 END DO ! tracer loop 181 ! ! =========== 166 182 167 183 IF(ln_ctl) THEN ! print mean trends (used for debugging)
Note: See TracChangeset
for help on using the changeset viewer.