New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
Changeset 12537 for NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/trcini_pisces.F90 – NEMO

Ignore:
Timestamp:
2020-03-11T16:02:54+01:00 (4 years ago)
Author:
aumont
Message:

Comments in routines have been revised and significantly augmented

File:
1 edited

Legend:

Unmodified
Added
Removed
  • NEMO/branches/2019/dev_r11708_aumont_PISCES_QUOTA/src/TOP/PISCES/trcini_pisces.F90

    r12524 r12537  
    33   !!                         ***  MODULE trcini_pisces  *** 
    44   !! TOP :   initialisation of the PISCES biochemical model 
     5   !!         This module is for LOBSTER, PISCES and PISCES-QUOTA 
    56   !!====================================================================== 
    67   !! History :    -   !  1988-07  (E. Maier-Reiner) Original code 
     
    3738      !! 
    3839      !! ** Purpose :   Initialisation of the PISCES biochemical model 
    39       !!---------------------------------------------------------------------- 
    40       ! 
     40      !!                Allocation of the dynamic arrays 
     41      !!---------------------------------------------------------------------- 
     42      ! 
     43      ! Read the PISCES namelist 
    4144      CALL trc_nam_pisces 
    4245      ! 
     
    5457      !! ** Purpose :   Initialisation of the PISCES biochemical model 
    5558      !!---------------------------------------------------------------------- 
    56       USE p4zsms          ! Main P4Z routine 
     59      USE p4zsms          !  Main P4Z routine 
    5760      USE p4zche          !  Chemical model 
    5861      USE p4zsink         !  vertical flux of particulate matter due to sinking 
     
    111114      ierr = ierr +  p4z_lim_alloc() 
    112115      IF( ln_p4z ) THEN 
     116         ! PISCES part 
    113117         ierr = ierr +  p4z_prod_alloc() 
    114118         ierr = ierr +  p4z_meso_alloc() 
    115119      ELSE 
     120         ! PISCES-QUOTA part 
    116121         ierr = ierr +  p5z_lim_alloc() 
    117122         ierr = ierr +  p5z_prod_alloc() 
     
    128133 
    129134      ! assign an index in trc arrays for each prognostic variables 
     135      ! This is based on the information read in the namelist_top 
    130136      DO jn = 1, jptra 
    131137        cltra = ctrcnm(jn)  
     
    177183      ! Set biological ratios 
    178184      ! --------------------- 
    179       rno3    =  16._wp / 122._wp 
    180       po4r    =   1._wp / 122._wp 
    181       o2nit   =  32._wp / 122._wp 
    182       o2ut    = 133._wp / 122._wp 
    183       rdenit  =  ( ( o2ut + o2nit ) * 0.80 - rno3 - rno3 * 0.60 ) / rno3 
    184       rdenita =   3._wp /  5._wp 
     185      rno3    =  16._wp / 122._wp   ! C/N 
     186      po4r    =   1._wp / 122._wp   ! C/P 
     187      o2nit   =  32._wp / 122._wp   ! O2/C for nitrification 
     188      o2ut    = 133._wp / 122._wp   ! O2/C for ammonification 
     189      rdenit  =  ( ( o2ut + o2nit ) * 0.80 - rno3 - rno3 * 0.60 ) / rno3  ! Denitrification 
     190      rdenita =   3._wp /  5._wp    ! Denitrification 
    185191      IF( ln_p5z ) THEN 
    186          no3rat3 = no3rat3 / rno3 
    187          po4rat3 = po4rat3 / po4r 
     192         no3rat3 = no3rat3 / rno3   ! C/N ratio in zooplankton 
     193         po4rat3 = po4rat3 / po4r   ! C/P ratio in zooplankton 
    188194      ENDIF 
    189195 
     
    250256      CALL p4z_opt_init          !  Optic: PAR in the water column 
    251257      IF( ln_p4z ) THEN 
     258         ! PISCES part 
    252259         CALL p4z_lim_init       !  co-limitations by the various nutrients 
    253260         CALL p4z_prod_init      !  phytoplankton growth rate over the global ocean. 
    254261      ELSE 
     262         ! PISCES-QUOTA part 
    255263         CALL p5z_lim_init       !  co-limitations by the various nutrients 
    256264         CALL p5z_prod_init      !  phytoplankton growth rate over the global ocean. 
Note: See TracChangeset for help on using the changeset viewer.