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( tabcntr0, radpas, |
---|
5 | , ok_journe,ok_instan ) |
---|
6 | c |
---|
7 | |
---|
8 | c |
---|
9 | c Auteur : P. Le Van |
---|
10 | |
---|
11 | IMPLICIT NONE |
---|
12 | |
---|
13 | REAL tabcntr0( 100 ) |
---|
14 | LOGICAL cycle_diurn0,soil_model0,ok_orodr0 |
---|
15 | LOGICAL ok_orolf0,ok_gw_nonoro0 |
---|
16 | LOGICAL ok_journe,ok_instan |
---|
17 | INTEGER radpas , radpas0 |
---|
18 | c |
---|
19 | #include "clesphys.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 4,ok_journe,ok_instan |
---|
44 | PRINT 100 |
---|
45 | PRINT 100 |
---|
46 | c |
---|
47 | c |
---|
48 | cycle_diurn0 = .FALSE. |
---|
49 | soil_model0 = .FALSE. |
---|
50 | ok_orodr0 = .FALSE. |
---|
51 | ok_orolf0 = .FALSE. |
---|
52 | ok_gw_nonoro0 = .FALSE. |
---|
53 | |
---|
54 | IF( tabcntr0( 7 ).EQ. 1. ) cycle_diurn0 = .TRUE. |
---|
55 | IF( tabcntr0( 8 ).EQ. 1. ) soil_model0 = .TRUE. |
---|
56 | IF( tabcntr0(10 ).EQ. 1. ) ok_orodr0 = .TRUE. |
---|
57 | IF( tabcntr0(11 ).EQ. 1. ) ok_orolf0 = .TRUE. |
---|
58 | IF( tabcntr0(12 ).EQ. 1. ) ok_gw_nonoro0 = .TRUE. |
---|
59 | |
---|
60 | PRINT *,' $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ |
---|
61 | ,$$$$$$$$$$$$$' |
---|
62 | PRINT 100 |
---|
63 | c |
---|
64 | |
---|
65 | IF( INT( tabcntr0( 6 ) ) .NE. nbapp_rad ) THEN |
---|
66 | PRINT 21, INT(tabcntr0(6)), nbapp_rad |
---|
67 | radpas0 = NINT( RDAY/tabcntr0(1)/INT( tabcntr0(6) ) ) |
---|
68 | PRINT 100 |
---|
69 | PRINT 22, radpas0, radpas |
---|
70 | PRINT 100 |
---|
71 | ENDIF |
---|
72 | |
---|
73 | IF( cycle_diurn0.AND..NOT.cycle_diurne.OR..NOT.cycle_diurn0.AND. |
---|
74 | , cycle_diurne ) THEN |
---|
75 | PRINT 13, cycle_diurn0, cycle_diurne |
---|
76 | PRINT 100 |
---|
77 | ENDIF |
---|
78 | |
---|
79 | IF( soil_model0.AND..NOT.soil_model.OR..NOT.soil_model0.AND. |
---|
80 | , soil_model ) THEN |
---|
81 | PRINT 14, soil_model0, soil_model |
---|
82 | PRINT 100 |
---|
83 | ENDIF |
---|
84 | |
---|
85 | IF( ok_orodr0.AND..NOT.ok_orodr.OR..NOT.ok_orodr0.AND. |
---|
86 | , ok_orodr ) THEN |
---|
87 | PRINT 15, ok_orodr0, ok_orodr |
---|
88 | PRINT 100 |
---|
89 | ENDIF |
---|
90 | |
---|
91 | IF( ok_orolf0.AND..NOT.ok_orolf.OR..NOT.ok_orolf0.AND. |
---|
92 | , ok_orolf ) THEN |
---|
93 | PRINT 17, ok_orolf0, ok_orolf |
---|
94 | PRINT 100 |
---|
95 | ENDIF |
---|
96 | |
---|
97 | IF( ok_gw_nonoro0.AND..NOT.ok_gw_nonoro.OR..NOT.ok_gw_nonoro0. |
---|
98 | , AND.ok_gw_nonoro ) THEN |
---|
99 | PRINT 18, ok_gw_nonoro0, ok_gw_nonoro |
---|
100 | PRINT 100 |
---|
101 | ENDIF |
---|
102 | |
---|
103 | PRINT 100 |
---|
104 | PRINT *,' ******************************************************* |
---|
105 | ,************' |
---|
106 | PRINT 100 |
---|
107 | |
---|
108 | 4 FORMAT(2x,5(1H*),' ok_journe = ',l3,6x,' , ok_instan = ', |
---|
109 | , l3,14x,5(1H*) ) |
---|
110 | |
---|
111 | |
---|
112 | 7 FORMAT(2x,5(1H*),15x,' ok_gw_nonoro = ',l3,16x,5(1h*) ) |
---|
113 | |
---|
114 | 8 FORMAT(2x,'***** radpas = ' , |
---|
115 | , i4,6x,' *****') |
---|
116 | |
---|
117 | 10 FORMAT(2x,5(1H*),' Cycle_diurne = ',l3,4x,', Soil_model = ', |
---|
118 | , l3,12x,6(1H*) ) |
---|
119 | |
---|
120 | |
---|
121 | 11 FORMAT(2x,5(1H*),', Ok_orodr = ',l3,3x,', Ok_orolf = ',l3,3x, |
---|
122 | , ' ok_gw_nonoro = ',l3,3x,5(1H*) ) |
---|
123 | |
---|
124 | |
---|
125 | 12 FORMAT(2x,'***** Nb d appels /jour des routines de rayonn. = ' , |
---|
126 | , i4,6x,' *****') |
---|
127 | |
---|
128 | 13 FORMAT(2x,'$$$$$$$$ Attention !! cycle_diurne different sur', |
---|
129 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
130 | |
---|
131 | 14 FORMAT(2x,'$$$$$$$$ Attention !! soil_model different sur', |
---|
132 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
133 | |
---|
134 | 15 FORMAT(2x,'$$$$$$$$ Attention !! ok_orodr different sur', |
---|
135 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
136 | |
---|
137 | 17 FORMAT(2x,'$$$$$$$$ Attention !! ok_orolf different sur', |
---|
138 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
139 | |
---|
140 | 18 FORMAT(2x,'$$$$$$$$ Attention !! ok_gw_nonoro different sur', |
---|
141 | , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3) |
---|
142 | |
---|
143 | 20 FORMAT(/2x,'$$$$$$$$ Attention !! iflag_con different sur', |
---|
144 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
145 | |
---|
146 | 21 FORMAT(2x,'$$$$$$$$ Attention !! nbapp_rad different sur', |
---|
147 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
148 | |
---|
149 | 22 FORMAT(2x,'$$$$$$$$ Attention !! radpas different sur', |
---|
150 | , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 ) |
---|
151 | |
---|
152 | 100 FORMAT(/) |
---|
153 | |
---|
154 | RETURN |
---|
155 | END |
---|