Changeset 3294 for trunk/NEMOGCM/NEMO/TOP_SRC/trcwri.F90
- Timestamp:
- 2012-01-28T17:44:18+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMOGCM/NEMO/TOP_SRC/trcwri.F90
r2567 r3294 1 1 MODULE trcwri 2 !!====================================================================== =============2 !!====================================================================== 3 3 !! *** MODULE trcwri *** 4 4 !! TOP : Output of passive tracers 5 !!====================================================================== ==============5 !!====================================================================== 6 6 !! History : 1.0 ! 2009-05 (C. Ethe) Original code 7 7 !!---------------------------------------------------------------------- 8 #if defined key_top && 8 #if defined key_top && defined key_iomput 9 9 !!---------------------------------------------------------------------- 10 !! 'key_top' && 'key_iomput'TOP models10 !! 'key_top' TOP models 11 11 !!---------------------------------------------------------------------- 12 12 !! trc_wri_trc : outputs of concentration fields 13 13 !!---------------------------------------------------------------------- 14 USE dom_oce 15 USE oce_trc 16 USE trc 17 USE iom 18 USE dianam 14 USE dom_oce ! ocean space and time domain variables 15 USE oce_trc ! shared variables between ocean and passive tracers 16 USE trc ! passive tracers common variables 17 USE iom ! I/O manager 18 USE dianam ! Output file name 19 19 20 20 IMPLICIT NONE … … 36 36 INTEGER, INTENT( in ) :: kt 37 37 !!--------------------------------------------------------------------- 38 38 ! 39 IF( nn_timing == 1 ) CALL timing_start('trc_wri') 39 40 ! 40 41 CALL iom_setkt ( kt + nn_dttrc - 1 ) ! set the passive tracer time step 41 42 CALL trc_wri_trc( kt ) ! outputs for tracer concentration 42 43 CALL iom_setkt ( kt ) ! set the model time step 44 ! 45 IF( nn_timing == 1 ) CALL timing_stop('trc_wri') 43 46 ! 44 47 END SUBROUTINE trc_wri … … 50 53 !! ** Purpose : output passive tracers fields 51 54 !!--------------------------------------------------------------------- 52 INTEGER, INTENT( in ) :: kt ! ocean time-step53 INTEGER :: jn54 CHARACTER (len=20) :: cltra55 CHARACTER (len=40) :: clhstnam55 INTEGER, INTENT( in ) :: kt ! ocean time-step 56 INTEGER :: jn 57 CHARACTER (len=20) :: cltra 58 CHARACTER (len=40) :: clhstnam 56 59 INTEGER :: inum = 11 ! temporary logical unit 57 60 !!--------------------------------------------------------------------- 58 61 59 IF( lk_offline .AND. kt == nit 000 .AND. lwp ) THEN ! WRITE root name in date.file for use by postpro62 IF( lk_offline .AND. kt == nittrc000 .AND. lwp ) THEN ! WRITE root name in date.file for use by postpro 60 63 CALL dia_nam( clhstnam, nn_writetrc,' ' ) 61 64 CALL ctl_opn( inum, 'date.file', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, numout, lwp, narea )
Note: See TracChangeset
for help on using the changeset viewer.