1 | ! |
---|
2 | ! $Header: /home/cvsroot/LMDZ4/libf/phylmd/printflag.F,v 1.1.1.1 2004/05/19 12:53:09 lmdzadmin Exp $ |
---|
3 | ! |
---|
4 | SUBROUTINE printflag( ok_mensuel, ok_journe, ok_instan ) |
---|
5 | c |
---|
6 | |
---|
7 | c |
---|
8 | c Auteur : P. Le Van |
---|
9 | |
---|
10 | IMPLICIT NONE |
---|
11 | |
---|
12 | LOGICAL cycle_diurn0,soil_model0,ok_orodr0 |
---|
13 | LOGICAL ok_orolf0,ok_gw_nonoro0 |
---|
14 | LOGICAL ok_mensuel, ok_journe, ok_instan |
---|
15 | INTEGER radpas0 |
---|
16 | INTEGER chimpas0 |
---|
17 | c |
---|
18 | #include "clesphys.h" |
---|
19 | #include "tabcontrol.h" |
---|
20 | #include "YOMCST.h" |
---|
21 | c |
---|
22 | c |
---|
23 | PRINT 100 |
---|
24 | PRINT *,' ******************************************************* |
---|
25 | ,************' |
---|
26 | PRINT *,' ******** Choix des principales cles de la physique |
---|
27 | , *********' |
---|
28 | PRINT *,' ******************************************************* |
---|
29 | ,************' |
---|
30 | PRINT 100 |
---|
31 | PRINT 10, cycle_diurne, soil_model |
---|
32 | PRINT 100 |
---|
33 | |
---|
34 | PRINT 11, ok_orodr, ok_orolf, ok_gw_nonoro |
---|
35 | PRINT 100 |
---|
36 | |
---|
37 | PRINT 12, nbapp_rad |
---|
38 | PRINT 100 |
---|
39 | |
---|
40 | PRINT 8, radpas |
---|
41 | PRINT 100 |
---|
42 | |
---|
43 | PRINT 23, nbapp_chim |
---|
44 | PRINT 100 |
---|
45 | |
---|
46 | PRINT 24, chimpas |
---|
47 | PRINT 100 |
---|
48 | |
---|
49 | PRINT 4,ok_mensuel, ok_journe, ok_instan |
---|
50 | PRINT 100 |
---|
51 | PRINT 100 |
---|
52 | c |
---|
53 | c |
---|
54 | cycle_diurn0 = .FALSE. |
---|
55 | soil_model0 = .FALSE. |
---|
56 | ok_orodr0 = .FALSE. |
---|
57 | ok_orolf0 = .FALSE. |
---|
58 | ok_gw_nonoro0 = .FALSE. |
---|
59 | |
---|
60 | IF( tabcntr0( 7 ).EQ. 1. ) cycle_diurn0 = .TRUE. |
---|
61 | IF( tabcntr0( 8 ).EQ. 1. ) soil_model0 = .TRUE. |
---|
62 | IF( tabcntr0(10 ).EQ. 1. ) ok_orodr0 = .TRUE. |
---|
63 | IF( tabcntr0(11 ).EQ. 1. ) ok_orolf0 = .TRUE. |
---|
64 | IF( tabcntr0(12 ).EQ. 1. ) ok_gw_nonoro0 = .TRUE. |
---|
65 | |
---|
66 | PRINT *,' $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ |
---|
67 | ,$$$$$$$$$$$$$' |
---|
68 | PRINT 100 |
---|
69 | c |
---|
70 | |
---|
71 | IF( INT( tabcntr0( 6 ) ) .NE. nbapp_rad ) THEN |
---|
72 | PRINT 21, INT(tabcntr0(6)), nbapp_rad |
---|
73 | if (INT(tabcntr0( 6 )).ne.0) then |
---|
74 | radpas0 = NINT( RDAY/tabcntr0(1)/INT( tabcntr0(6) ) ) |
---|
75 | else |
---|
76 | radpas0 = 9999 |
---|
77 | endif |
---|
78 | PRINT 100 |
---|
79 | PRINT 22, radpas0, radpas |
---|
80 | PRINT 100 |
---|
81 | ENDIF |
---|
82 | |
---|
83 | IF( INT( tabcntr0( 16 ) ) .NE. nbapp_chim ) THEN |
---|
84 | PRINT 25, INT(tabcntr0(16)), nbapp_chim |
---|
85 | if (INT(tabcntr0(16)).ne.0) then |
---|
86 | chimpas0 = NINT( RDAY/tabcntr0(1)/INT( tabcntr0(16) ) ) |
---|
87 | else |
---|
88 | chimpas0 = 9999 |
---|
89 | endif |
---|
90 | PRINT 100 |
---|
91 | PRINT 26, chimpas0, chimpas |
---|
92 | PRINT 100 |
---|
93 | ENDIF |
---|
94 | |
---|
95 | IF( cycle_diurn0.AND..NOT.cycle_diurne.OR..NOT.cycle_diurn0.AND. |
---|
96 | , cycle_diurne ) THEN |
---|
97 | PRINT 13, cycle_diurn0, cycle_diurne |
---|
98 | PRINT 100 |
---|
99 | ENDIF |
---|
100 | |
---|
101 | IF( soil_model0.AND..NOT.soil_model.OR..NOT.soil_model0.AND. |
---|
102 | , soil_model ) THEN |
---|
103 | PRINT 14, soil_model0, soil_model |
---|
104 | PRINT 100 |
---|
105 | ENDIF |
---|
106 | |
---|
107 | IF( ok_orodr0.AND..NOT.ok_orodr.OR..NOT.ok_orodr0.AND. |
---|
108 | , ok_orodr ) THEN |
---|
109 | PRINT 15, ok_orodr0, ok_orodr |
---|
110 | PRINT 100 |
---|
111 | ENDIF |
---|
112 | |
---|
113 | IF( ok_orolf0.AND..NOT.ok_orolf.OR..NOT.ok_orolf0.AND. |
---|
114 | , ok_orolf ) THEN |
---|
115 | PRINT 17, ok_orolf0, ok_orolf |
---|
116 | PRINT 100 |
---|
117 | ENDIF |
---|
118 | |
---|
119 | IF( ok_gw_nonoro0.AND..NOT.ok_gw_nonoro.OR..NOT.ok_gw_nonoro0. |
---|
120 | , AND.ok_gw_nonoro ) THEN |
---|
121 | PRINT 18, ok_gw_nonoro0, ok_gw_nonoro |
---|
122 | PRINT 100 |
---|
123 | ENDIF |
---|
124 | |
---|
125 | PRINT 100 |
---|
126 | PRINT *,' ******************************************************* |
---|
127 | ,************' |
---|
128 | PRINT 100 |
---|
129 | |
---|
130 | 4 FORMAT(2x,5(1H*),' ok_mensuel = ',l3,2x,' ok_journe = ',l3,2x,' |
---|
131 | . , ok_instan = ',l3,8x,5(1H*) ) |
---|
132 | |
---|
133 | 8 FORMAT(2x,'***** radpas = ' , |
---|
134 | , i4,6x,' *****') |
---|
135 | |
---|
136 | 10 FORMAT(2x,5(1H*),' Cycle_diurne = ',l3,4x,', Soil_model = ', |
---|
137 | , l3,12x,6(1H*) ) |
---|
138 | |
---|
139 | |
---|
140 | 11 FORMAT(2x,5(1H*),', Ok_orodr = ',l3,3x,', Ok_orolf = ',l3,3x, |
---|
141 | , ' ok_gw_nonoro = ',l3,3x,5(1H*) ) |
---|
142 | |
---|
143 | |
---|
144 | 12 FORMAT(2x,'***** Nb d appels /jour des routines de rayonn. = ' , |
---|
145 | , i4,6x,' *****') |
---|
146 | |
---|
147 | 13 FORMAT(2x,'$$$$$$$$ Attention !! cycle_diurne different sur', |
---|
148 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
149 | |
---|
150 | 14 FORMAT(2x,'$$$$$$$$ Attention !! soil_model different sur', |
---|
151 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
152 | |
---|
153 | 15 FORMAT(2x,'$$$$$$$$ Attention !! ok_orodr different sur', |
---|
154 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
155 | |
---|
156 | 17 FORMAT(2x,'$$$$$$$$ Attention !! ok_orolf different sur', |
---|
157 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
158 | |
---|
159 | 18 FORMAT(2x,'$$$$$$$$ Attention !! ok_gw_nonoro different sur', |
---|
160 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
161 | |
---|
162 | 20 FORMAT(/2x,'$$$$$$$$ Attention !! iflag_con different sur', |
---|
163 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
164 | |
---|
165 | 21 FORMAT(2x,'$$$$$$$$ Attention !! nbapp_rad different sur', |
---|
166 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
167 | |
---|
168 | 22 FORMAT(2x,'$$$$$$$$ Attention !! radpas different sur', |
---|
169 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
170 | |
---|
171 | 23 FORMAT(2x,'***** Nb d appels /jour des routines de chimie = ' , |
---|
172 | , i4,6x,' *****') |
---|
173 | |
---|
174 | 24 FORMAT(2x,'***** chimpas = ' , |
---|
175 | , i4,6x,' *****') |
---|
176 | |
---|
177 | 25 FORMAT(2x,'$$$$$$$$ Attention !! nbapp_chim different sur', |
---|
178 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
179 | |
---|
180 | 26 FORMAT(2x,'$$$$$$$$ Attention !! chimpas different sur', |
---|
181 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
182 | |
---|
183 | 100 FORMAT(/) |
---|
184 | |
---|
185 | RETURN |
---|
186 | END |
---|