- Timestamp:
- 2017-01-13T12:53:52+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90
r7549 r7554 127 127 128 128 ! trends computation initialisation 129 IF( l_trdtra ) THEN ! store now fields before applying the Asselin filter129 IF( l_trdtra ) THEN 130 130 CALL wrk_alloc( jpi, jpj, jpk, ztrdt, ztrds ) 131 ! Asselin filter trend 132 ztrdt(:,:,:) = tsn(:,:,:,jp_tem) 133 ztrds(:,:,:) = tsn(:,:,:,jp_sal) 131 ztrdt(:,:,jk) = 0._wp 132 ztrds(:,:,jk) = 0._wp 134 133 IF( ln_traldf_iso ) THEN ! diagnose the "pure" Kz diffusive trend 135 134 CALL trd_tra( kt, 'TRA', jp_tem, jptra_zdfp, ztrdt ) … … 137 136 ENDIF 138 137 ! total trend for the non-time-filtered variables. 139 ztrdt(:,:,:) = 0._wp140 ztrds(:,:,:) = 0._wp141 138 DO jk = 1, jpkm1 142 139 zfact = 1.0 / rdttra(jk) … … 146 143 CALL trd_tra( kt, 'TRA', jp_tem, jptra_tot, ztrdt ) 147 144 CALL trd_tra( kt, 'TRA', jp_sal, jptra_tot, ztrds ) 145 ! Store now fields before applying the Asselin filter 146 ! in order to calculate Asselin filter trend later. 147 ztrdt(:,:,:) = tsn(:,:,:,jp_tem) 148 ztrds(:,:,:) = tsn(:,:,:,jp_sal) 148 149 ENDIF 149 150
Note: See TracChangeset
for help on using the changeset viewer.