- Timestamp:
- 2018-10-29T15:55:40+01:00 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/dev_r5518_AMM15_package/NEMOGCM/NEMO/TOP_SRC/trcini.F90
r10251 r10253 24 24 USE trcini_c14b ! C14 bomb initialisation 25 25 USE trcini_my_trc ! MY_TRC initialisation 26 ! +++>>> FABM 27 USE trcsms_fabm ! FABM initialisation 28 USE trcini_fabm ! FABM initialisation 29 ! FABM <<<FABM 26 30 USE trcdta ! initialisation from files 27 31 USE daymod ! calendar manager … … 32 36 USE sbc_oce 33 37 USE trcice ! tracers in sea ice 38 USE trcbc, only : trc_bc_init ! generalized Boundary Conditions 34 39 35 40 IMPLICIT NONE … … 69 74 IF(lwp) WRITE(numout,*) 'trc_init : initial set up of the passive tracers' 70 75 IF(lwp) WRITE(numout,*) '~~~~~~~' 76 ! +++>>> FABM 77 ! Allow FABM to update numbers of biogeochemical tracers, diagnostics (jptra etc.) 78 IF( lk_fabm ) CALL nemo_fabm_init 79 ! FABM <<<+++ 71 80 72 81 CALL top_alloc() ! allocate TOP arrays … … 101 110 IF( lk_c14b ) CALL trc_ini_c14b ! C14 bomb tracer 102 111 IF( lk_my_trc ) CALL trc_ini_my_trc ! MY_TRC tracers 112 ! +++>>> FABM 113 IF( lk_fabm ) CALL trc_ini_fabm ! FABM tracers 114 ! FABM <<<+++ 103 115 104 116 CALL trc_ice_ini ! Tracers in sea ice … … 110 122 ENDIF 111 123 124 ! Initialisation of tracers Initial Conditions 112 125 IF( ln_trcdta ) CALL trc_dta_init(jptra) 113 126 … … 144 157 ! 145 158 ENDIF 159 ! --->>> FABM 160 ! Initialisation of tracers Boundary Conditions - here so that you can use initial condition as boundary 161 !IF( lk_my_trc ) CALL trc_bc_init(jptra) 162 ! FABM <<<--- 163 ! FABM +++>>> 164 ! Initialisation of FABM diagnostics and tracer boundary conditions (so that you can use initial condition as boundary) 165 IF( lk_fabm ) THEN 166 wndm=0._wp !uninitiased field at this point 167 qsr=0._wp !uninitiased field at this point 168 CALL compute_fabm ! only needed to set-up diagnostics 169 CALL trc_bc_init(jptra) 170 ENDIF 171 ! FABM <<<+++ 146 172 147 173 tra(:,:,:,:) = 0._wp
Note: See TracChangeset
for help on using the changeset viewer.