Changeset 7646 for trunk/NEMOGCM/NEMO/TOP_SRC/trcstp.F90
- Timestamp:
- 2017-02-06T10:25:03+01:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/trcstp.F90
r6981 r7646 15 15 USE trctrp ! passive tracers transport 16 16 USE trcsms ! passive tracers sources and sinks 17 USE prtctl_trc ! Print control for debbuging18 USE trcdia19 17 USE trcwri 20 18 USE trcrst 21 19 USE trdtrc_oce 22 20 USE trdmxl_trc 21 USE prtctl_trc ! Print control for debbuging 23 22 USE iom 24 23 USE in_out_manager … … 62 61 IF( nn_timing == 1 ) CALL timing_start('trc_stp') 63 62 ! 63 IF( ( neuler == 0 .AND. kt == nittrc000 ) .OR. ln_top_euler ) THEN ! at nittrc000 64 r2dttrc = rdttrc ! = rdttrc (use or restarting with Euler time stepping) 65 ELSEIF( kt <= nittrc000 + nn_dttrc ) THEN ! at nittrc000 or nittrc000+1 66 r2dttrc = 2. * rdttrc ! = 2 rdttrc (leapfrog) 67 ENDIF 68 ! 64 69 IF( kt == nittrc000 .AND. lk_trdmxl_trc ) CALL trd_mxl_trc_init ! trends: Mixed-layer 65 70 ! … … 68 73 cvol(:,:,jk) = e1e2t(:,:) * e3t_n(:,:,jk) * tmask(:,:,jk) 69 74 END DO 70 IF( lk_degrad ) cvol(:,:,:) = cvol(:,:,:) * facvol(:,:,:) ! degrad option: reduction by facvol71 75 areatot = glob_sum( cvol(:,:,:) ) 72 76 ENDIF … … 87 91 CALL trc_rst_opn ( kt ) ! Open tracer restart file 88 92 IF( lrst_trc ) CALL trc_rst_cal ( kt, 'WRITE' ) ! calendar 89 IF( lk_iomput ) THEN ; CALL trc_wri ( kt ) ! output of passive tracers with iom I/O manager 90 ELSE ; CALL trc_dia ( kt ) ! output of passive tracers with old I/O manager 91 ENDIF 93 CALL trc_wri ( kt ) ! output of passive tracers with iom I/O manager 92 94 CALL trc_sms ( kt ) ! tracers: sinks and sources 93 95 CALL trc_trp ( kt ) ! transport of passive tracers
Note: See TracChangeset
for help on using the changeset viewer.