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 trunk/NEMO/TOP_SRC/SMS – NEMO

source: trunk/NEMO/TOP_SRC/SMS/p4zprg.F @ 262

Last change on this file since 262 was 260, checked in by opalod, 19 years ago

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