Changeset 8333
- Timestamp:
- 2017-07-14T10:14:31+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/OPA_SRC/TRA/tranxt.F90
r8104 r8333 334 334 ENDIF 335 335 ! 336 IF( l_trdtra) THEN336 IF( ( l_trdtra .and. cdtype == 'TRA' ) .OR. ( l_trdtrc .and. cdtype == 'TRC' ) ) THEN 337 337 CALL wrk_alloc( jpi, jpj, jpk, kjpt, ztrd_atf ) 338 338 ztrd_atf(:,:,:,:) = 0.0_wp … … 395 395 pta(ji,jj,jk,jn) = ze3t_d * ( ztc_n + rbcp * ztc_d ) ! ta <-- Brown & Campana average 396 396 ENDIF 397 IF( l_trdtra) THEN397 IF( ( l_trdtra .and. cdtype == 'TRA' ) .OR. ( l_trdtrc .and. cdtype == 'TRC' ) ) THEN 398 398 ztrd_atf(ji,jj,jk,jn) = (ztc_f - ztc_n) * zfact/ze3t_n 399 399 ENDIF … … 404 404 END DO 405 405 ! 406 IF( l_trdtra ) THEN 407 CALL trd_tra( kt, 'TRA', jp_tem, jptra_atf, ztrd_atf(:,:,:,jp_tem) ) 408 CALL trd_tra( kt, 'TRA', jp_sal, jptra_atf, ztrd_atf(:,:,:,jp_sal) ) 406 IF( l_trdtra .and. cdtype == 'TRA' ) THEN 407 CALL trd_tra( kt, cdtype, jp_tem, jptra_atf, ztrd_atf(:,:,:,jp_tem) ) 408 CALL trd_tra( kt, cdtype, jp_sal, jptra_atf, ztrd_atf(:,:,:,jp_sal) ) 409 CALL wrk_dealloc( jpi, jpj, jpk, kjpt, ztrd_atf ) 410 ENDIF 411 IF( l_trdtrc .and. cdtype == 'TRC' ) THEN 412 DO jn = 1, kjpt 413 CALL trd_tra( kt, cdtype, jn, jptra_atf, ztrd_atf(:,:,:,jn) ) 414 END DO 409 415 CALL wrk_dealloc( jpi, jpj, jpk, kjpt, ztrd_atf ) 410 416 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.