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