- Timestamp:
- 2019-12-11T17:15:54+01:00 (4 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
NEMO/branches/2019/dev_r11943_MERGE_2019/src/TOP/trcini.F90
r11949 r12193 24 24 USE lib_mpp ! distribued memory computing library 25 25 USE trcice ! tracers in sea ice 26 USE trcbc, only : trc_bc_ini ! generalized Boundary Conditions 27 USE trcstp ! for time level indices (to be initialised) 26 USE trcbc ! generalized Boundary Conditions 28 27 29 28 IMPLICIT NONE … … 177 176 ln_trc_obc(jn) = sn_tracer(jn)%llobc 178 177 END DO 178 ! 179 IF( .NOT.ln_trcbc ) THEN 180 DO jn = 1, jp_bgc 181 ln_trc_sbc(jn) = .FALSE. 182 ln_trc_cbc(jn) = .FALSE. 183 ln_trc_obc(jn) = .FALSE. 184 END DO 185 ENDIF 186 187 lltrcbc = ( COUNT(ln_trc_sbc) + COUNT(ln_trc_obc) + COUNT(ln_trc_cbc) ) > 0 179 188 ! 180 189 IF( ln_pisces ) CALL trc_ini_pisces( Kmm ) ! PISCES model … … 193 202 END DO 194 203 ENDIF 204 IF( lwp .AND. ln_trcbc .AND. lltrcbc ) THEN 205 WRITE(numout,*) 206 WRITE(numout,*) ' Applying tracer boundary conditions ' 207 ENDIF 208 195 209 9001 FORMAT(3x,i3,1x,a10,3x,l2,3x,l2,3x,l2,3x,l2) 196 210 ! … … 238 252 IF( ln_trcdta ) CALL trc_dta_ini( jptra ) ! set initial tracers values 239 253 ! 240 IF( ln_my_trc ) CALL trc_bc_ini ( jptra, Kmm ) ! set tracers Boundary Conditions 254 IF( ln_trcbc .AND. lltrcbc ) THEN 255 CALL trc_bc_ini ( jptra, Kmm ) ! set tracers Boundary Conditions 256 CALL trc_bc ( nit000, Kmm, tr, Kaa ) ! tracers: surface and lateral Boundary Conditions 257 ENDIF 241 258 ! 242 259 !
Note: See TracChangeset
for help on using the changeset viewer.