- Timestamp:
- 2012-11-27T15:42:24+01:00 (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_MERGE_2012/NEMOGCM/NEMO/TOP_SRC/trcrst.F90
r3294 r3680 27 27 USE trcnam_trp 28 28 USE iom 29 USE trcrst_cfc ! CFC30 USE trcrst_lobster ! LOBSTER restart31 USE trcrst_pisces ! PISCES restart32 USE trcrst_c14b ! C14 bomb restart33 USE trcrst_my_trc ! MY_TRC restart34 29 USE daymod 35 30 IMPLICIT NONE … … 40 35 PUBLIC trc_rst_wri ! called by ??? 41 36 PUBLIC trc_rst_cal 42 43 INTEGER, PUBLIC :: numrtr, numrtw !: logical unit for trc restart (read and write)44 37 45 38 !! * Substitutions … … 115 108 CALL iom_get( numrtr, jpdom_autoglo, 'TRB'//ctrcnm(jn), trb(:,:,:,jn) ) 116 109 END DO 117 118 IF( lk_lobster ) CALL trc_rst_read_lobster( numrtr ) ! LOBSTER bio-model119 IF( lk_pisces ) CALL trc_rst_read_pisces ( numrtr ) ! PISCES bio-model120 IF( lk_cfc ) CALL trc_rst_read_cfc ( numrtr ) ! CFC tracers121 IF( lk_c14b ) CALL trc_rst_read_c14b ( numrtr ) ! C14 bomb tracer122 IF( lk_my_trc ) CALL trc_rst_read_my_trc ( numrtr ) ! MY_TRC tracers123 124 CALL iom_close( numrtr )125 110 ! 126 111 END SUBROUTINE trc_rst_read … … 138 123 !!---------------------------------------------------------------------- 139 124 ! 140 CALL trc_rst_cal( kt, 'WRITE' ) ! calendar141 125 CALL iom_rstput( kt, nitrst, numrtw, 'rdttrc1', rdttrc(1) ) ! surface passive tracer time step 142 126 ! prognostic variables … … 149 133 CALL iom_rstput( kt, nitrst, numrtw, 'TRB'//ctrcnm(jn), trb(:,:,:,jn) ) 150 134 END DO 151 152 IF( lk_lobster ) CALL trc_rst_wri_lobster( kt, nitrst, numrtw ) ! LOBSTER bio-model 153 IF( lk_pisces ) CALL trc_rst_wri_pisces ( kt, nitrst, numrtw ) ! PISCES bio-model 154 IF( lk_cfc ) CALL trc_rst_wri_cfc ( kt, nitrst, numrtw ) ! CFC tracers 155 IF( lk_c14b ) CALL trc_rst_wri_c14b ( kt, nitrst, numrtw ) ! C14 bomb tracer 156 IF( lk_my_trc ) CALL trc_rst_wri_my_trc ( kt, nitrst, numrtw ) ! MY_TRC tracers 157 135 ! 158 136 IF( kt == nitrst ) THEN 159 137 CALL trc_rst_stat ! statistics
Note: See TracChangeset
for help on using the changeset viewer.