[6453] | 1 | MODULE p5zbio |
---|
| 2 | !!====================================================================== |
---|
| 3 | !! *** MODULE p5zbio *** |
---|
| 4 | !! TOP : PISCES bio-model |
---|
| 5 | !!====================================================================== |
---|
| 6 | !! History : 1.0 ! 2004 (O. Aumont) Original code |
---|
| 7 | !! 2.0 ! 2007-12 (C. Ethe, G. Madec) F90 |
---|
| 8 | !! 3.6 ! 2015-05 (O. Aumont) PISCES quota |
---|
| 9 | !!---------------------------------------------------------------------- |
---|
| 10 | #if defined key_pisces_quota |
---|
| 11 | !!---------------------------------------------------------------------- |
---|
| 12 | !! 'key_pisces_quota' PISCES bio-model with variable stoichiometry |
---|
| 13 | !!---------------------------------------------------------------------- |
---|
| 14 | !! p5z_bio : computes the interactions between the different |
---|
| 15 | !! compartments of PISCES |
---|
| 16 | !!---------------------------------------------------------------------- |
---|
| 17 | USE oce_trc ! shared variables between ocean and passive tracers |
---|
| 18 | USE trc ! passive tracers common variables |
---|
| 19 | USE sms_pisces ! PISCES Source Minus Sink variables |
---|
| 20 | USE p5zsink ! vertical flux of particulate matter due to sinking |
---|
| 21 | USE p4zopt ! optical model |
---|
| 22 | USE p5zlim ! Co-limitations of differents nutrients |
---|
| 23 | USE p5zprod ! Growth rate of the 2 phyto groups |
---|
| 24 | USE p5zmort ! Mortality terms for phytoplankton |
---|
| 25 | USE p5zmicro ! Sources and sinks of microzooplankton |
---|
| 26 | USE p5zmeso ! Sources and sinks of mesozooplankton |
---|
| 27 | USE p5zrem ! Remineralisation of organic/inorganic matter |
---|
| 28 | USE p5zpoc ! Remineralisation of organic particles |
---|
| 29 | USE p5zagg ! Aggregation of particles |
---|
[7190] | 30 | USE p4zfechem ! Iron chemistry |
---|
[6453] | 31 | USE p4zligand ! Remineralization of ligands |
---|
| 32 | USE prtctl_trc ! print control for debugging |
---|
| 33 | USE iom ! I/O manager |
---|
| 34 | |
---|
| 35 | IMPLICIT NONE |
---|
| 36 | PRIVATE |
---|
| 37 | |
---|
| 38 | PUBLIC p5z_bio |
---|
| 39 | |
---|
| 40 | !!* Substitution |
---|
| 41 | # include "top_substitute.h90" |
---|
| 42 | !!---------------------------------------------------------------------- |
---|
| 43 | !! NEMO/TOP 3.3 , NEMO Consortium (2010) |
---|
| 44 | !! $Id: p4zbio.F90 3160 2011-11-20 14:27:18Z cetlod $ |
---|
| 45 | !! Software governed by the CeCILL licence (NEMOGCM/NEMO_CeCILL.txt) |
---|
| 46 | !!---------------------------------------------------------------------- |
---|
| 47 | |
---|
| 48 | CONTAINS |
---|
| 49 | |
---|
| 50 | SUBROUTINE p5z_bio ( kt, knt ) |
---|
| 51 | !!--------------------------------------------------------------------- |
---|
| 52 | !! *** ROUTINE p5z_bio *** |
---|
| 53 | !! |
---|
| 54 | !! ** Purpose : Ecosystem model in the whole ocean: computes the |
---|
| 55 | !! different interactions between the different compartments |
---|
| 56 | !! of PISCES |
---|
| 57 | !! |
---|
| 58 | !! ** Method : - ??? |
---|
| 59 | !!--------------------------------------------------------------------- |
---|
| 60 | INTEGER, INTENT(in) :: kt, knt |
---|
| 61 | INTEGER :: ji, jj, jk, jn |
---|
| 62 | CHARACTER (len=25) :: charout |
---|
| 63 | |
---|
| 64 | !!--------------------------------------------------------------------- |
---|
| 65 | ! |
---|
| 66 | IF( nn_timing == 1 ) CALL timing_start('p5z_bio') |
---|
| 67 | ! |
---|
| 68 | ! ASSIGN THE SHEAR RATE THAT IS USED FOR AGGREGATION |
---|
| 69 | ! OF PHYTOPLANKTON AND DETRITUS |
---|
| 70 | |
---|
| 71 | xdiss(:,:,:) = 1. |
---|
| 72 | !!gm the use of nmld should be better here? |
---|
| 73 | DO jk = 2, jpkm1 |
---|
| 74 | DO jj = 1, jpj |
---|
| 75 | DO ji = 1, jpi |
---|
| 76 | IF( fsdepw(ji,jj,jk+1) > hmld(ji,jj) ) xdiss(ji,jj,jk) = 0.01 |
---|
| 77 | END DO |
---|
| 78 | END DO |
---|
| 79 | END DO |
---|
| 80 | |
---|
| 81 | CALL p4z_opt ( kt, knt ) ! Optic: PAR in the water column |
---|
| 82 | CALL p5z_sink ( kt, knt ) ! vertical flux of particulate organic matter |
---|
| 83 | CALL p4z_fechem(kt, knt ) ! Iron chemistry/scavenging |
---|
| 84 | CALL p5z_lim ( kt, knt ) ! co-limitations by the various nutrients |
---|
| 85 | CALL p5z_prod ( kt, knt ) ! phytoplankton growth rate over the global ocean. |
---|
| 86 | ! ! (for each element : C, Si, Fe, Chl ) |
---|
| 87 | CALL p5z_mort ( kt ) ! phytoplankton mortality |
---|
| 88 | ! ! zooplankton sources/sinks routines |
---|
| 89 | CALL p5z_micro( kt, knt ) ! microzooplankton |
---|
| 90 | CALL p5z_meso ( kt, knt ) ! mesozooplankton |
---|
| 91 | CALL p5z_agg ( kt, knt ) ! Aggregation of particles |
---|
| 92 | CALL p5z_rem ( kt, knt ) ! remineralization terms of organic matter+scavenging of Fe |
---|
| 93 | CALL p5z_poc ( kt, knt ) ! Remineralisation of organic particles |
---|
| 94 | CALL p4z_ligand( kt, knt) ! Remineralization of ligands |
---|
| 95 | ! ! test if tracers concentrations fall below 0. |
---|
| 96 | ! |
---|
| 97 | IF( nn_timing == 1 ) CALL timing_stop('p5z_bio') |
---|
| 98 | ! |
---|
| 99 | END SUBROUTINE p5z_bio |
---|
| 100 | |
---|
| 101 | #else |
---|
| 102 | !!====================================================================== |
---|
| 103 | !! Dummy module : No PISCES bio-model |
---|
| 104 | !!====================================================================== |
---|
| 105 | CONTAINS |
---|
| 106 | SUBROUTINE p5z_bio ! Empty routine |
---|
| 107 | END SUBROUTINE p5z_bio |
---|
| 108 | #endif |
---|
| 109 | |
---|
| 110 | !!====================================================================== |
---|
| 111 | END MODULE p5zbio |
---|
| 112 | |
---|