- Timestamp:
- 2017-08-17T13:39:18+02:00 (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_GO6_package/NEMOGCM/NEMO/TOP_SRC/trcini.F90
r8441 r8442 24 24 USE trcini_pisces ! PISCES initialisation 25 25 USE trcini_c14b ! C14 bomb initialisation 26 USE trcini_age ! AGE initialisation 26 27 USE trcini_my_trc ! MY_TRC initialisation 28 USE trcini_idtra ! idealize tracer initialisation 27 29 USE trcini_medusa ! MEDUSA initialisation 28 USE trcini_idtra ! idealize tracer initialisation29 USE trcini_age ! AGE initialisation30 30 USE trcdta ! initialisation from files 31 31 USE daymod ! calendar manager … … 79 79 & CALL ctl_warn(' Coupling with passive tracers and used of diurnal cycle. & 80 80 & Computation of a daily mean shortwave for some biogeochemical models) ') 81 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 82 !!!!! CHECK For MEDUSA 83 !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! 81 84 82 IF( nn_cla == 1 ) & 85 83 & CALL ctl_stop( ' Cross Land Advection not yet implemented with passive tracer ; nn_cla must be 0' ) … … 102 100 103 101 IF( lk_pisces ) CALL trc_ini_pisces ! PISCES bio-model 104 IF( lk_medusa ) CALL trc_ini_medusa ! MEDUSA tracers105 IF( lk_idtra ) CALL trc_ini_idtra ! Idealize tracers106 102 IF( lk_cfc ) CALL trc_ini_cfc ! CFC tracers 107 103 IF( lk_c14b ) CALL trc_ini_c14b ! C14 bomb tracer 108 104 IF( lk_age ) CALL trc_ini_age ! AGE tracer 109 105 IF( lk_my_trc ) CALL trc_ini_my_trc ! MY_TRC tracers 106 IF( lk_idtra ) CALL trc_ini_idtra ! Idealize tracers 107 IF( lk_medusa ) CALL trc_ini_medusa ! MEDUSA tracers 110 108 111 109 CALL trc_ice_ini ! Tracers in sea ice 112 113 # if defined key_debug_medusa114 IF (lwp) write (numout,*) '------------------------------'115 IF (lwp) write (numout,*) 'Jpalm - debug'116 IF (lwp) write (numout,*) ' in trc_init'117 IF (lwp) write (numout,*) ' sms init OK'118 IF (lwp) write (numout,*) ' next: open tracer.stat'119 IF (lwp) write (numout,*) ' '120 CALL flush(numout)121 # endif122 110 123 111 IF( ln_ctl ) THEN … … 133 121 ENDIF 134 122 135 # if defined key_debug_medusa136 IF (lwp) write (numout,*) '------------------------------'137 IF (lwp) write (numout,*) 'Jpalm - debug'138 IF (lwp) write (numout,*) ' in trc_init'139 IF (lwp) write (numout,*) 'open tracer.stat -- OK'140 IF (lwp) write (numout,*) ' '141 CALL flush(numout)142 # endif143 144 145 123 IF( ln_trcdta ) THEN 146 #if defined key_medusa147 IF(lwp) WRITE(numout,*) 'AXY: calling trc_dta_init'148 IF(lwp) CALL flush(numout)149 #endif150 124 CALL trc_dta_init(jptra) 151 125 ENDIF … … 153 127 IF( ln_rsttr ) THEN 154 128 ! 155 #if defined key_medusa156 IF(lwp) WRITE(numout,*) 'AXY: calling trc_rst_read'157 IF(lwp) CALL flush(numout)158 #endif159 129 CALL trc_rst_read ! restart from a file 160 130 ! 161 131 ELSE 162 !163 # if defined key_debug_medusa164 IF (lwp) write (numout,*) '------------------------------'165 IF (lwp) write (numout,*) 'Jpalm - debug'166 IF (lwp) write (numout,*) ' Init from file -- will call trc_dta'167 IF (lwp) write (numout,*) ' '168 CALL flush(numout)169 # endif170 132 ! 171 133 IF( ln_trcdta .AND. nb_trcdta > 0 ) THEN ! Initialisation of tracer from a file that may also be used for damping … … 188 150 ENDIF 189 151 ! 190 # if defined key_debug_medusa191 IF (lwp) write (numout,*) '------------------------------'192 IF (lwp) write (numout,*) 'Jpalm - debug'193 IF (lwp) write (numout,*) ' in trc_init'194 IF (lwp) write (numout,*) ' before trb = trn'195 IF (lwp) write (numout,*) ' '196 CALL flush(numout)197 # endif198 !199 152 trb(:,:,:,:) = trn(:,:,:,:) 200 153 ! 201 # if defined key_debug_medusa202 IF (lwp) write (numout,*) '------------------------------'203 IF (lwp) write (numout,*) 'Jpalm - debug'204 IF (lwp) write (numout,*) ' in trc_init'205 IF (lwp) write (numout,*) ' trb = trn -- OK'206 IF (lwp) write (numout,*) ' '207 CALL flush(numout)208 # endif209 !210 154 ENDIF 211 155 212 156 tra(:,:,:,:) = 0._wp 213 157 ! 214 # if defined key_debug_medusa215 IF (lwp) write (numout,*) '------------------------------'216 IF (lwp) write (numout,*) 'Jpalm - debug'217 IF (lwp) write (numout,*) ' in trc_init'218 IF (lwp) write (numout,*) ' partial step -- OK'219 IF (lwp) write (numout,*) ' '220 CALL flush(numout)221 # endif222 !223 158 IF( nn_dttrc /= 1 ) CALL trc_sub_ini ! Initialize variables for substepping passive tracers 224 159 ! 225 # if defined key_debug_medusa 226 IF (lwp) write (numout,*) '------------------------------' 227 IF (lwp) write (numout,*) 'Jpalm - debug' 228 IF (lwp) write (numout,*) ' in trc_init' 229 IF (lwp) write (numout,*) ' before initiate tracer contents' 230 IF (lwp) write (numout,*) ' ' 231 CALL flush(numout) 232 # endif 233 ! 160 234 161 trai(:) = 0._wp ! initial content of all tracers 235 162 DO jn = 1, jptra
Note: See TracChangeset
for help on using the changeset viewer.