Changeset 1459
- Timestamp:
- 2009-05-23T10:53:26+02:00 (15 years ago)
- Location:
- trunk/NEMO/TOP_SRC
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/NEMO/TOP_SRC/C14b/trcsms_c14b.F90
r1329 r1459 19 19 USE trdmld_trc_oce 20 20 USE trdmld_trc 21 USE iom 21 22 22 23 IMPLICIT NONE … … 125 126 zpv , & !: piston velocity 126 127 zdemi, ztra 128 #if defined key_trc_dia3d && defined key_iomput 129 REAL(wp), DIMENSION(jpi,jpj,jpk) :: zw3d 130 #endif 127 131 !!---------------------------------------------------------------------- 128 132 … … 266 270 qint_c14(ji,jj) = qint_c14(ji,jj) + qtr_c14(ji,jj) * rdt 267 271 268 # if defined key_trc_diaadd 272 # if defined key_trc_diaadd && ! defined key_iomput 269 273 ! Save 2D diagnostics 270 274 trc2d(ji,jj,jp_c14b0_2d ) = qtr_c14 (ji,jj) … … 284 288 #endif 285 289 tra(ji,jj,jk,jpc14) = tra(ji,jj,jk,jpc14) - ztra / rdt 286 287 # if defined key_trc_dia3d 290 #if defined key_trc_dia3d 288 291 ! Save 3D diagnostics 292 # if ! defined key_iomput 289 293 trc3d(ji,jj,jk,jp_c14b0_3d ) = ztra ! radioactive decay 294 # else 295 zw3d(ji,jj,jk) = ztra ! radioactive decay 290 296 # endif 297 #endif 291 298 END DO 292 299 END DO 293 300 END DO 294 301 302 #if defined key_trc_diaadd && defined key_iomput 303 CALL iom_put( "qtrC14b" , qtr_c14 ) 304 CALL iom_put( "qintC14b" , qint_c14 ) 305 #endif 306 #if defined key_trc_dia3d && defined key_iomput 307 CALL iom_put( "fdecay" , zw3d ) 308 #endif 295 309 IF( l_trdtrc ) THEN 296 310 CALL trd_mod_trc( tra(:,:,:,jpc14), jpc14, jptrc_trd_sms, kt ) ! save trends -
trunk/NEMO/TOP_SRC/CFC/trcsms_cfc.F90
r1329 r1459 20 20 USE trdmld_trc_oce 21 21 USE trdmld_trc 22 USE iom 22 23 23 24 IMPLICIT NONE … … 165 166 ! cumulation of surface flux at each time step 166 167 qint_cfc(ji,jj,jl) = qint_cfc(ji,jj,jl) + qtr_cfc(ji,jj,jl) * rdt 167 168 # if defined key_trc_diaadd169 ! Save diagnostics , just for CFC11170 js = 1171 trc2d(ji,jj,jp_cfc0_2d ) = qtr_cfc (ji,jj,js)172 trc2d(ji,jj,jp_cfc0_2d + 1) = qint_cfc(ji,jj,js)173 # endif174 168 ! !----------------! 175 169 END DO ! end i-j loop ! … … 179 173 ! !----------------! 180 174 175 #if defined key_trc_diaadd 176 ! Save diagnostics , just for CFC11 177 # if ! defined key_iomput 178 trc2d(:,:,jp_cfc0_2d ) = qtr_cfc (:,:,1) 179 trc2d(:,:,jp_cfc0_2d + 1) = qint_cfc(:,:,1) 180 # else 181 CALL iom_put( "qtrCFC11" , qtr_cfc (:,:,1) ) 182 CALL iom_put( "qintCFC11" , qint_cfc(:,:,1) ) 183 # endif 184 #endif 185 181 186 IF( l_trdtrc ) THEN 182 187 DO jn = jp_cfc0, jp_cfc1
Note: See TracChangeset
for help on using the changeset viewer.