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.
p4zprg.F in tags/nemo_v1_04/NEMO/TOP_SRC/SMS – NEMO

source: tags/nemo_v1_04/NEMO/TOP_SRC/SMS/p4zprg.F @ 280

Last change on this file since 280 was 274, checked in by opalod, 19 years ago

nemo_v1_update_005:RB: update headers for the TOP component.

  • Property svn:eol-style set to native
  • Property svn:executable set to *
  • Property svn:keywords set to Author Date Id Revision
File size: 2.7 KB
Line 
1CCC$Header$
2CCC  TOP 1.0 , LOCEAN-IPSL (2005)
3C This software is governed by CeCILL licence see modipsl/doc/NEMO_CeCILL.txt
4C ---------------------------------------------------------------------------
5CDIR$ LIST
6       SUBROUTINE p4zprg(kt)
7CCC---------------------------------------------------------------------
8CCC
9CCC           ROUTINE p4zprg : PISCES MODEL
10CCC           *****************************
11CCC
12CCC  PURPOSE :
13CCC  ---------
14CCC     Call Biological sources and sinks subroutines
15CCC
16CC   INPUT :
17CC   -----
18CC      argument
19CC              ktask           : task identificator
20CC              kt              : time step
21CC      common
22CC              all the common defined in opa
23CC
24CC
25CC   OUTPUT :                   : no
26CC   ------
27CC
28CC   WORKSPACE :
29CC   ---------
30CC
31CC   EXTERNAL :
32CC   --------
33CC      p4zche, p4zint, p4zlys, p4zbio, p4zsed, p4zflx
34CC
35CC   MODIFICATIONS:
36CC   --------------
37CC      original  : O. AUMONT (2004)
38CC----------------------------------------------------------------------
39CC parameters and commons
40CC ======================
41CDIR$ NOLIST
42      USE trp_trc
43      USE sms
44CC
45      USE oce_trc
46      USE lbclnk
47      USE lib_mpp
48CC
49      IMPLICIT NONE
50CDIR$ LIST
51CC----------------------------------------------------------------------
52CC local declarations
53CC ==================
54      INTEGER kt
55      INTEGER jnt, jn
56
57#if defined key_passivetrc && defined key_trc_pisces
58C
59C this part is without macrotasking coding
60C
61C
62C Compute chemical variables
63C --------------------------
64C
65
66          CALL p4zche
67C......................................................................
68C
69C Interpolate chemical variables
70C ------------------------------
71C
72          CALL p4zint(kt)
73C
74C......................................................................
75C
76C Compute CaCO3 saturation
77C ------------------------
78C
79          CALL p4zlys
80C......................................................................
81C
82C Compute soft tissue production (POC)
83C ------------------------------------
84
85       do jnt=1,nrdttrc
86C
87          CALL p4zbio
88C
89C......................................................................
90C
91C Compute soft tissue remineralisation
92C ------------------------------------
93C
94         CALL p4zsed
95C
96          trb=trn
97        end DO
98
99
100C
101C......................................................................
102C
103C Compute surface fluxes
104C ----------------------
105C
106      CALL p4zflx
107
108      DO jn=1 , jptra
109        CALL lbc_lnk(trn(:,:,:,jn), 'T', 1. )
110        CALL lbc_lnk(trb(:,:,:,jn), 'T', 1. )
111        CALL lbc_lnk(tra(:,:,:,jn), 'T', 1. )
112      END DO
113C
114C......................................................................
115C
116#endif
117C
118      RETURN
119      END
Note: See TracBrowser for help on using the repository browser.