- Timestamp:
- 2011-12-05T14:55:12+01:00 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2011/dev_NEMO_MERGE_2011/NEMOGCM/NEMO/TOP_SRC/PISCES/trcini_pisces.F90
r2977 r3192 26 26 USE p4zflx ! Gas exchange 27 27 USE p4zsed ! Sedimentation 28 USE p4zlim ! Co-limitations of differents nutrients 29 USE p4zprod ! Growth rate of the 2 phyto groups 30 USE p4zmicro ! Sources and sinks of microzooplankton 31 USE p4zmeso ! Sources and sinks of mesozooplankton 32 USE p4zmort ! Mortality terms for phytoplankton 33 USE p4zlys ! Calcite saturation 34 USE p4zsed ! Sedimentation 28 35 29 36 IMPLICIT NONE … … 55 62 !!---------------------------------------------------------------------- 56 63 ! 64 INTEGER :: ji, jj, jk 65 REAL(wp) :: zcaralk, zbicarb, zco3 66 REAL(wp) :: ztmas, ztmas1 67 !!---------------------------------------------------------------------- 57 68 IF(lwp) WRITE(numout,*) 58 69 IF(lwp) WRITE(numout,*) ' trc_ini_pisces : PISCES biochemical model initialisation' … … 123 134 ENDIF 124 135 136 IF( .NOT. ln_rsttr ) THEN 137 ! Initialization of chemical variables of the carbon cycle 138 ! -------------------------------------------------------- 139 DO jk = 1, jpk 140 DO jj = 1, jpj 141 DO ji = 1, jpi 142 ztmas = tmask(ji,jj,jk) 143 ztmas1 = 1. - tmask(ji,jj,jk) 144 zcaralk = trn(ji,jj,jk,jptal) - borat(ji,jj,jk) / ( 1. + 1.E-8 / ( rtrn + akb3(ji,jj,jk) ) ) 145 zco3 = ( zcaralk - trn(ji,jj,jk,jpdic) ) * ztmas + 0.5e-3 * ztmas1 146 zbicarb = ( 2. * trn(ji,jj,jk,jpdic) - zcaralk ) 147 hi(ji,jj,jk) = ( ak23(ji,jj,jk) * zbicarb / zco3 ) * ztmas + 1.e-9 * ztmas1 148 END DO 149 END DO 150 END DO 151 ! 152 END IF 153 154 ! Time step duration for biology 155 xstep = rfact2 / rday 156 157 CALL p4z_sink_init ! vertical flux of particulate organic matter 158 CALL p4z_opt_init ! Optic: PAR in the water column 159 CALL p4z_lim_init ! co-limitations by the various nutrients 160 CALL p4z_prod_init ! phytoplankton growth rate over the global ocean. 161 CALL p4z_rem_init ! remineralisation 162 CALL p4z_mort_init ! phytoplankton mortality 163 CALL p4z_micro_init ! microzooplankton 164 CALL p4z_meso_init ! mesozooplankton 165 CALL p4z_sed_init ! sedimentation 166 CALL p4z_lys_init ! calcite saturation 167 CALL p4z_flx_init ! gas exchange 168 169 ndayflxtr = 0 170 125 171 IF(lwp) WRITE(numout,*) 'Initialization of PISCES tracers done' 126 172 IF(lwp) WRITE(numout,*) ' ' … … 135 181 !! ** Purpose : Allocate all the dynamic arrays of PISCES 136 182 !!---------------------------------------------------------------------- 137 USE p4zsink , ONLY : p4z_sink_alloc138 USE p4zopt , ONLY : p4z_opt_alloc139 USE p4zprod , ONLY : p4z_prod_alloc140 USE p4zrem , ONLY : p4z_rem_alloc141 USE p4zsed , ONLY : p4z_sed_alloc142 USE p4zflx , ONLY : p4z_flx_alloc143 183 ! 144 184 INTEGER :: ierr
Note: See TracChangeset
for help on using the changeset viewer.