Changeset 3451
- Timestamp:
- 2012-08-11T20:08:15+02:00 (12 years ago)
- Location:
- branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zsbc.F90
r3446 r3451 224 224 sn_ndepo = FLD_N( 'ndeposition', -12 , 'ndep' , .false. , .true. , 'yearly' , '' , '' ) 225 225 sn_ironsed = FLD_N( 'ironsed' , -12 , 'bathy' , .false. , .true. , 'yearly' , '' , '' ) 226 sn_hydrofe = FLD_N( 'hydrofe' , -12 , ' epsdb' , .false. , .true. , 'yearly' , '' , '' )226 sn_hydrofe = FLD_N( 'hydrofe' , -12 , 'hydro' , .false. , .true. , 'yearly' , '' , '' ) 227 227 228 228 REWIND( numnatp ) ! read numnatp … … 483 483 CALL iom_close( numhydro ) 484 484 ! 485 hydrofe(:,:,:) = hydrofe(:,:,:) * hratio / cvol(:,:,:) * ryyss / fse3t(:,:,:) 485 hydrofe(:,:,:) = ( hydrofe(:,:,:) * hratio ) / ( cvol(:,:,:) * ryyss + rtrn ) / fse3t(:,:,:) 486 ! 486 487 ENDIF 487 488 ! -
branches/2012/dev_r3438_LOCEAN15_PISLOB/NEMOGCM/NEMO/TOP_SRC/PISCES/P4Z/p4zsms.F90
r3443 r3451 41 41 INTEGER :: numalk !: logical unit for talk budget 42 42 INTEGER :: numsil !: logical unit for Si budget 43 INTEGER :: numfer !: logical unit for Fer budget 43 44 44 45 !!---------------------------------------------------------------------- … … 346 347 INTEGER, INTENT( in ) :: kt ! ocean time-step index 347 348 !! 348 REAL(wp) :: zalkbudget, zno3budget, zsilbudget 349 REAL(wp) :: zalkbudget, zno3budget, zsilbudget, zferbudget 349 350 ! 350 351 NAMELIST/nampismass/ ln_check_mass … … 361 362 ENDIF 362 363 363 IF( ln_check_mass .AND. lwp) THEN ! Open budget file of NO3, ALK, Si 364 IF( ln_check_mass .AND. lwp) THEN ! Open budget file of NO3, ALK, Si, Fer 364 365 CALL ctl_opn( numno3, 'no3.budget' , 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE., narea ) 365 366 CALL ctl_opn( numsil, 'sil.budget' , 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE., narea ) 366 367 CALL ctl_opn( numalk, 'talk.budget', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE., narea ) 368 CALL ctl_opn( numfer, 'iron.budget', 'REPLACE', 'FORMATTED', 'SEQUENTIAL', -1, 6, .FALSE., narea ) 367 369 ENDIF 368 370 ENDIF 369 371 370 IF( ln_check_mass ) THEN ! Compute the budget of NO3, ALK, Si 372 IF( ln_check_mass ) THEN ! Compute the budget of NO3, ALK, Si, Fer 371 373 zno3budget = glob_sum( ( trn(:,:,:,jpno3) + trn(:,:,:,jpnh4) & 372 374 & + trn(:,:,:,jpphy) + trn(:,:,:,jpdia) & … … 381 383 & + trn(:,:,:,jptal) & 382 384 & + trn(:,:,:,jpcal) * 2. ) * cvol(:,:,:) ) 385 ! 386 zferbudget = glob_sum( ( trn(:,:,:,jpfer) + trn(:,:,:,jpnfe) & 387 & + trn(:,:,:,jpdfe) + trn(:,:,:,jpbfe) & 388 & + trn(:,:,:,jpsfe) + & 389 & + trn(:,:,:,jpzoo) & 390 & + trn(:,:,:,jpmes) * ferat3 ) * cvol(:,:,:) ) 383 391 384 392 IF( lwp ) THEN … … 386 394 WRITE(numsil,9500) kt, zsilbudget / areatot 387 395 WRITE(numalk,9500) kt, zalkbudget / areatot 396 WRITE(numfer,9500) kt, zferbudget / areatot 388 397 ENDIF 389 398 ENDIF
Note: See TracChangeset
for help on using the changeset viewer.