/[MITgcm]/MITgcm_contrib/darwin2/pkg/monod/monod_init_fixed.F
ViewVC logotype

Diff of /MITgcm_contrib/darwin2/pkg/monod/monod_init_fixed.F

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

revision 1.4 by jahn, Wed Nov 9 23:34:17 2011 UTC revision 1.9 by stephd, Thu Jul 26 21:40:10 2012 UTC
# Line 106  c depth for denitrification to start Line 106  c depth for denitrification to start
106    
107  c critical oxygen for O2/NO3 remineralization  c critical oxygen for O2/NO3 remineralization
108        O2crit = 6.0 _d 0    !(Lipschultz et al 1990, DSR 37, 1513-1541)        O2crit = 6.0 _d 0    !(Lipschultz et al 1990, DSR 37, 1513-1541)
109  c ratio of no3 to p in denitrification process  c ratio of n to p in denitrification process
110        denit_np = 120.0 _d 0        denit_np = 120.0 _d 0
111    c ratio no3 used relative to all n in denitrification process
112          denit_no3 = 104.0 _d 0
113    c critical nitrate below which no denit (or remin) happens
114          no3crit = 1. _d -2
115  c  c
116  c oxidation rates for ammonium and nitrite  c oxidation rates for ammonium and nitrite
117  c i.e. Knita ...    NH4 -> NO2  c i.e. Knita ...    NH4 -> NO2
# Line 218  c ammonia and nitrite inhibition Line 221  c ammonia and nitrite inhibition
221  c set si half sat  c set si half sat
222         val_ksatsi=1. _d 0         val_ksatsi=1. _d 0
223  c set nutrient ratios for phyto  c set nutrient ratios for phyto
224    #ifdef ONLY_P_CYCLE
225           val_R_SiP_diatom=0.0 _d 0
226           val_R_NP=0.0 _d 0
227           val_RFeP=0.0 _d -3
228           val_R_NP_diaz=0.0 _d  0
229           val_RFeP_diaz=0.0 _d 0 * val_RFeP
230           val_R_PC=0.0 _d 0
231           val_R_PICPOC=0.0 _d 0
232    #else
233         val_R_SiP_diatom=16.0 _d 0  ! 32 for Fanny's runs         val_R_SiP_diatom=16.0 _d 0  ! 32 for Fanny's runs
234         val_R_NP=16.0 _d 0         val_R_NP=16.0 _d 0
235         val_RFeP=1.0 _d -3         val_RFeP=1.0 _d -3
# Line 225  c set nutrient ratios for phyto Line 237  c set nutrient ratios for phyto
237         val_RFeP_diaz=30.0 _d 0 * val_RFeP         val_RFeP_diaz=30.0 _d 0 * val_RFeP
238         val_R_PC=120.0 _d 0         val_R_PC=120.0 _d 0
239         val_R_PICPOC=0.8 _d 0         val_R_PICPOC=0.8 _d 0
240    #endif
241    c
242  #ifdef OLD_GRAZE  #ifdef OLD_GRAZE
243  c grazing hlaf saturation  c grazing hlaf saturation
244         kgrazesat = 0.1 _d 0         kgrazesat = 0.1 _d 0
# Line 307  c sinking rate for particulate matter (m Line 321  c sinking rate for particulate matter (m
321           Pa2Atm      = 1.01325 _d 5           Pa2Atm      = 1.01325 _d 5
322  #endif  #endif
323    
324    #ifdef ALLOW_CDOM
325             fraccdom=2. _d 0 / 100. _d 0
326             cdomdegrd= 1. _d 0 / (200 _d 0 *pday)
327             cdombleach = 1. _d 0 / (15 _d 0 *pday)
328             PARcdom  = 20. _d 0
329             rnp_cdom = 16. _d 0
330             rfep_cdom = 1. _d -3
331             rcp_cdom  = 120. _d 0
332             cdomcoeff = .1 _d -1  / 1.d -4
333    #endif
334    
335  C make sure we have reserved enough space in Ptracers  C make sure we have reserved enough space in Ptracers
336        IF ( nCompZooMax .LT. 4 ) THEN        IF ( nCompZooMax .LT. 4 ) THEN
337    #ifndef ONLY_P_CYCLE
338          WRITE(msgBuf,'(A,A,I3)')          WRITE(msgBuf,'(A,A,I3)')
339       &    'MONOD_INIT_FIXED: ERROR: 4 zooplankton components, but ',       &    'MONOD_INIT_FIXED: ERROR: 4 zooplankton components, but ',
340       &    'nCompZooMax = ', nCompZooMax       &    'nCompZooMax = ', nCompZooMax
341          CALL PRINT_ERROR( msgBuf , 1)          CALL PRINT_ERROR( msgBuf , 1)
342          STOP 'ABNORMAL END: S/R MONOD_INIT_FIXED'          STOP 'ABNORMAL END: S/R MONOD_INIT_FIXED'
343    #endif
344        ENDIF        ENDIF
345        DO nz = 1,nzmax        DO nz = 1,nzmax
346          iZooP (nz)  = iZoo +                   (nz-1)*strideTypeZoo          iZooP (nz)  = iZoo +                   (nz-1)*strideTypeZoo
347    #ifdef ONLY_P_CYCLE
348            iZooN (nz)  = nptot
349            iZooFe(nz)  = nptot
350            iZooSi(nz)  = nptot
351    #else
352          iZooN (nz)  = iZoo + 1*strideCompZoo + (nz-1)*strideTypeZoo          iZooN (nz)  = iZoo + 1*strideCompZoo + (nz-1)*strideTypeZoo
353          iZooFe(nz)  = iZoo + 2*strideCompZoo + (nz-1)*strideTypeZoo          iZooFe(nz)  = iZoo + 2*strideCompZoo + (nz-1)*strideTypeZoo
354          iZooSi(nz)  = iZoo + 3*strideCompZoo + (nz-1)*strideTypeZoo          iZooSi(nz)  = iZoo + 3*strideCompZoo + (nz-1)*strideTypeZoo
355    #endif
356        ENDDO        ENDDO
357  #ifdef ALLOW_CARBON  #ifdef ALLOW_CARBON
358         DO nz = 1,nzmax         DO nz = 1,nzmax

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.9

  ViewVC Help
Powered by ViewVC 1.1.22