Changeset 12352
- Timestamp:
- 2020-01-29T13:24:59+01:00 (5 years ago)
- Location:
- branches/UKMO/AMM15_v3_6_STABLE_package_collate/NEMOGCM/NEMO/TOP_SRC
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/UKMO/AMM15_v3_6_STABLE_package_collate/NEMOGCM/NEMO/TOP_SRC/FABM/trcini_fabm.F90
r11545 r12352 125 125 jp_fabm_pgrow = fabm_diag_index( 'p_grow_sum_result' ) 126 126 jp_fabm_ploss = fabm_diag_index( 'p_loss_sum_result' ) 127 128 MLD_MAX(:,:) = 0.0129 PGROW_AVG(:,:) = 0.0130 PLOSS_AVG(:,:) = 0.0131 PHYT_AVG(:,:) = 0.0132 127 133 128 IF (lwp) THEN … … 437 432 ENDDO 438 433 ENDIF 434 435 ! Initialise variables required for Hemmings et al. (2008) 436 ! nitrogen balancing for chlorophyll data assimilation 437 MLD_MAX(:,:) = 0.0 438 PGROW_AVG(:,:) = 0.0 439 PLOSS_AVG(:,:) = 0.0 440 PHYT_AVG(:,:) = 0.0 439 441 440 442 END SUBROUTINE trc_ini_fabm -
branches/UKMO/AMM15_v3_6_STABLE_package_collate/NEMOGCM/NEMO/TOP_SRC/FABM/vertical_movement_fabm.F90
r10156 r12352 104 104 c_no(2:k_floor)=abs(w_if(2:k_floor,jn))*z2dt/ & 105 105 ( 0.5_wp*(fse3t(ji,jj,2:k_floor) + & 106 fse3t(ji,j i,1:k_floor-1)) )106 fse3t(ji,jj,1:k_floor-1)) ) 107 107 cmax_no=MAXVAL(c_no(2:k_floor)) 108 108 -
branches/UKMO/AMM15_v3_6_STABLE_package_collate/NEMOGCM/NEMO/TOP_SRC/trcbdy.F90
r10270 r12352 109 109 ii = idx%nbi(ib,igrd) 110 110 ij = idx%nbj(ib,igrd) 111 zwgt = idx%nbw(ib,igrd) 111 zwgt = idx%nbw(ib,igrd) * rdttrc(ik) / 86400.d0 ! damping with a timescale of day 112 112 tra(ii,ij,ik,jn) = ( tra(ii,ij,ik,jn) + zwgt * ( ( dta%trc(ib,ik) * dta%rn_fac) & 113 113 & - tra(ii,ij,ik,jn) ) ) * tmask(ii,ij,ik) 114 114 END DO 115 115 END DO 116 ! tra is overwritten at the boundary so damping doesn't work here - need neumann in addition 117 ! to duplicate the internal value at the boundary 118 CALL bdy_trc_nmn( jn, idx, dta, kt ) 119 120 116 121 ! 117 122 IF( kt .eq. nit000 ) CLOSE( unit = 102 )
Note: See TracChangeset
for help on using the changeset viewer.