/[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.10 by jahn, Wed Dec 4 21:21:32 2013 UTC
# Line 39  C     /--------------------------------- Line 39  C     /---------------------------------
39  C     |  initialise common block biochemical parameters               |  C     |  initialise common block biochemical parameters               |
40  C     \--------------------------------------------------------------/  C     \--------------------------------------------------------------/
41    
42          _BEGIN_MASTER(myThid)
43    
44        WRITE(msgBuf,'(A)')        WRITE(msgBuf,'(A)')
45       &'// ======================================================='       &'// ======================================================='
46        CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,        CALL PRINT_MESSAGE( msgBuf, standardMessageUnit,
# Line 106  c depth for denitrification to start Line 108  c depth for denitrification to start
108    
109  c critical oxygen for O2/NO3 remineralization  c critical oxygen for O2/NO3 remineralization
110        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)
111  c ratio of no3 to p in denitrification process  c ratio of n to p in denitrification process
112        denit_np = 120.0 _d 0        denit_np = 120.0 _d 0
113    c ratio no3 used relative to all n in denitrification process
114          denit_no3 = 104.0 _d 0
115    c critical nitrate below which no denit (or remin) happens
116          no3crit = 1. _d -2
117  c  c
118  c oxidation rates for ammonium and nitrite  c oxidation rates for ammonium and nitrite
119  c i.e. Knita ...    NH4 -> NO2  c i.e. Knita ...    NH4 -> NO2
# Line 218  c ammonia and nitrite inhibition Line 223  c ammonia and nitrite inhibition
223  c set si half sat  c set si half sat
224         val_ksatsi=1. _d 0         val_ksatsi=1. _d 0
225  c set nutrient ratios for phyto  c set nutrient ratios for phyto
226    #ifdef ONLY_P_CYCLE
227           val_R_SiP_diatom=0.0 _d 0
228           val_R_NP=0.0 _d 0
229           val_RFeP=0.0 _d -3
230           val_R_NP_diaz=0.0 _d  0
231           val_RFeP_diaz=0.0 _d 0 * val_RFeP
232           val_R_PC=0.0 _d 0
233           val_R_PICPOC=0.0 _d 0
234    #else
235         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
236         val_R_NP=16.0 _d 0         val_R_NP=16.0 _d 0
237         val_RFeP=1.0 _d -3         val_RFeP=1.0 _d -3
# Line 225  c set nutrient ratios for phyto Line 239  c set nutrient ratios for phyto
239         val_RFeP_diaz=30.0 _d 0 * val_RFeP         val_RFeP_diaz=30.0 _d 0 * val_RFeP
240         val_R_PC=120.0 _d 0         val_R_PC=120.0 _d 0
241         val_R_PICPOC=0.8 _d 0         val_R_PICPOC=0.8 _d 0
242    #endif
243    c
244  #ifdef OLD_GRAZE  #ifdef OLD_GRAZE
245  c grazing hlaf saturation  c grazing hlaf saturation
246         kgrazesat = 0.1 _d 0         kgrazesat = 0.1 _d 0
# Line 307  c sinking rate for particulate matter (m Line 323  c sinking rate for particulate matter (m
323           Pa2Atm      = 1.01325 _d 5           Pa2Atm      = 1.01325 _d 5
324  #endif  #endif
325    
326    #ifdef ALLOW_CDOM
327             fraccdom=2. _d 0 / 100. _d 0
328             cdomdegrd= 1. _d 0 / (200 _d 0 *pday)
329             cdombleach = 1. _d 0 / (15 _d 0 *pday)
330             PARcdom  = 20. _d 0
331             rnp_cdom = 16. _d 0
332             rfep_cdom = 1. _d -3
333             rcp_cdom  = 120. _d 0
334             cdomcoeff = .1 _d -1  / 1.d -4
335    #endif
336    
337  C make sure we have reserved enough space in Ptracers  C make sure we have reserved enough space in Ptracers
338        IF ( nCompZooMax .LT. 4 ) THEN        IF ( nCompZooMax .LT. 4 ) THEN
339    #ifndef ONLY_P_CYCLE
340          WRITE(msgBuf,'(A,A,I3)')          WRITE(msgBuf,'(A,A,I3)')
341       &    'MONOD_INIT_FIXED: ERROR: 4 zooplankton components, but ',       &    'MONOD_INIT_FIXED: ERROR: 4 zooplankton components, but ',
342       &    'nCompZooMax = ', nCompZooMax       &    'nCompZooMax = ', nCompZooMax
343          CALL PRINT_ERROR( msgBuf , 1)          CALL PRINT_ERROR( msgBuf , 1)
344          STOP 'ABNORMAL END: S/R MONOD_INIT_FIXED'          STOP 'ABNORMAL END: S/R MONOD_INIT_FIXED'
345    #endif
346        ENDIF        ENDIF
347        DO nz = 1,nzmax        DO nz = 1,nzmax
348          iZooP (nz)  = iZoo +                   (nz-1)*strideTypeZoo          iZooP (nz)  = iZoo +                   (nz-1)*strideTypeZoo
349    #ifdef ONLY_P_CYCLE
350            iZooN (nz)  = nptot
351            iZooFe(nz)  = nptot
352            iZooSi(nz)  = nptot
353    #else
354          iZooN (nz)  = iZoo + 1*strideCompZoo + (nz-1)*strideTypeZoo          iZooN (nz)  = iZoo + 1*strideCompZoo + (nz-1)*strideTypeZoo
355          iZooFe(nz)  = iZoo + 2*strideCompZoo + (nz-1)*strideTypeZoo          iZooFe(nz)  = iZoo + 2*strideCompZoo + (nz-1)*strideTypeZoo
356          iZooSi(nz)  = iZoo + 3*strideCompZoo + (nz-1)*strideTypeZoo          iZooSi(nz)  = iZoo + 3*strideCompZoo + (nz-1)*strideTypeZoo
357    #endif
358        ENDDO        ENDDO
359  #ifdef ALLOW_CARBON  #ifdef ALLOW_CARBON
360         DO nz = 1,nzmax         DO nz = 1,nzmax
# Line 364  COJ set up diagnostics Line 399  COJ set up diagnostics
399  #endif /* ALLOW_DIAGNOSTICS */  #endif /* ALLOW_DIAGNOSTICS */
400  COJ  COJ
401    
402          _END_MASTER(myThid)
403    
404          RETURN
405          RETURN        END
         END  
406  C============================================================================  C============================================================================
407  #endif  #endif
408  #endif  #endif

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

  ViewVC Help
Powered by ViewVC 1.1.22