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.
h3cprg.F in trunk/NEMO/TOP_SRC/SMS – NEMO

source: trunk/NEMO/TOP_SRC/SMS/h3cprg.F @ 186

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

CL + CE : NEMO TRC_SRC start

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 2.8 KB
Line 
1CCC $Header$
2CDIR$ LIST
3       SUBROUTINE h3cprg(kt)
4CCC---------------------------------------------------------------------
5CCC
6CCC                       ROUTINE h3cprg
7CCC                     *****************
8CCC
9CCC  PURPOSE :
10CCC  ---------
11CCC     Call Biological sources and sinks subroutines
12CCC
13CC   METHOD :
14CC   -------
15CC     
16CC
17CC   INPUT :
18CC   -----
19CC      argument
20CC              ktask           : task identificator
21CC              kt              : time step
22CC      common
23CC              all the common defined in opa
24CC
25CC
26CC   OUTPUT :                   : no
27CC   ------
28CC
29CC   WORKSPACE :
30CC   ---------
31CC
32CC   EXTERNAL :
33CC   --------
34CC      for HAMOCC3:
35CC      h3cche, h3cint, h3clys, h3cbio, h3crem, h3cflx
36CC      for O. Aumont P3ZD:
37CC      h3cche, h3cint, p3zbio, h3cexp, p3zrem, h3cflx, 
38CC
39CC   MODIFICATIONS:
40CC   --------------
41CC      original  : E. Maier-Reimer (GBC 1993)
42CC      additions : O. Aumont (1998)
43CC      additions : C. Le Quere (1999)
44CC      additions : O. Aumont (2001)
45CC      additions : O. Aumont , EK (05/2001): add h3cadj 
46CC----------------------------------------------------------------------
47CC parameters and commons
48CC ======================
49CDIR$ NOLIST
50      USE trp_trc
51      USE sms
52      IMPLICIT NONE
53CDIR$ LIST
54CC----------------------------------------------------------------------
55CC local declarations
56CC ==================
57      INTEGER kt
58#if defined key_passivetrc && defined key_trc_hamocc3
59      INTEGER ji,jj,jk,jn
60C
61C
62C
63C Compute tracers adjustments
64C ---------------------------
65C
66          CALL h3cadj
67C
68C Compute chemical variables
69C --------------------------
70C
71          CALL h3cche
72C......................................................................
73C
74C Interpolate chemical variables
75C ------------------------------
76C
77         CALL h3cint(kt)
78
79C
80C......................................................................
81C
82C Compute CaCO3 saturation
83C ------------------------
84C
85          CALL h3clys
86C
87C......................................................................
88C
89C Compute soft tissue production (POC)
90C ------------------------------------
91C
92#if defined key_trc_p3zd
93          CALL p3zbio
94#else
95          CALL h3cbio
96#endif
97          CALL h3cexp
98          CALL trcexp
99
100C
101C......................................................................
102C
103C Compute soft tissue remineralisation
104C ------------------------------------
105C
106#if defined key_trc_p3zd
107          CALL p3zrem
108          trb(:,:,:,:)=trn(:,:,:,:)
109#else
110          CALL h3crem
111#endif
112C
113C......................................................................
114C
115C Compute surface fluxes
116C ----------------------
117C
118          CALL h3cflx
119      ENDIF
120C......................................................................
121C
122#endif
123C
124      RETURN
125      END
126
Note: See TracBrowser for help on using the repository browser.