My Project
 All Classes Files Functions Variables Macros
printflag.F
Go to the documentation of this file.
1 !
2 ! $Header$
3 !
4  SUBROUTINE printflag( tabcntr0, radpas,
5  , ok_journe,ok_instan,ok_region )
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,new_oliq0,ok_orodr0
15  LOGICAL ok_orolf0,ok_limitvr0
16  LOGICAL ok_journe,ok_instan,ok_region
17  INTEGER radpas , radpas0
18 c
19 #include "clesphys.h"
20 c
21 c
22  print 100
23  print *,
24 ' ******************************************************* ,************'
25  print *,
26 ' ******** Choix des principales cles de la physique , *********'
27  print *,
28 ' ******************************************************* ,************'
29  print 100
30  print 10, cycle_diurne, soil_model
31  print 100
32 
33  IF ( iflag_con.EQ. 1 ) THEN
34  print *,
35 ' ***** Shema convection LMD , ******'
36  ELSE IF ( iflag_con.EQ. 2 ) THEN
37  print *,
38 ' ***** Shema convection Tiedtke , ******'
39  ELSE IF ( iflag_con.GE. 3 ) THEN
40  print *,
41 ' ***** Shema convection Emanuel , ******'
42  ENDIF
43  print 100
44 
45  print 11, new_oliq, ok_orodr, ok_orolf
46  print 100
47 
48  print 7, ok_limitvrai
49  print 100
50 
51  print 12, nbapp_rad
52  print 100
53 
54  print 8, radpas
55  print 100
56 
57  print 4,ok_journe,ok_instan,ok_region
58  print 100
59  print 100
60 c
61 c
62  cycle_diurn0 = .false.
63  soil_model0 = .false.
64  new_oliq0 = .false.
65  ok_orodr0 = .false.
66  ok_orolf0 = .false.
67  ok_limitvr0 = .false.
68 
69  IF( tabcntr0( 7 ).EQ. 1. ) cycle_diurn0 = .true.
70  IF( tabcntr0( 8 ).EQ. 1. ) soil_model0 = .true.
71  IF( tabcntr0( 9 ).EQ. 1. ) new_oliq0 = .true.
72  IF( tabcntr0(10 ).EQ. 1. ) ok_orodr0 = .true.
73  IF( tabcntr0(11 ).EQ. 1. ) ok_orolf0 = .true.
74  IF( tabcntr0(12 ).EQ. 1. ) ok_limitvr0 = .true.
75 
76  print *,
77 ' $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$ ,$$$$$$$$$$$$$'
78  print 100
79 c
80  IF( int( tabcntr0( 5 ) ) .NE. iflag_con ) THEN
81  print 20, int(tabcntr0(5)), iflag_con
82  print 100
83  ENDIF
84 
85  IF( int( tabcntr0( 6 ) ) .NE. nbapp_rad ) THEN
86  print 21, int(tabcntr0(6)), nbapp_rad
87 ! radpas0 = NINT( 86400./tabcntr0(1)/INT( tabcntr0(6) ) )
88  print 100
89 ! PRINT 22, radpas0, radpas
90  print 100
91  ENDIF
92 
93  IF( cycle_diurn0.AND..NOT.cycle_diurne.OR..NOT.cycle_diurn0.AND.
94  , cycle_diurne ) THEN
95  print 13, cycle_diurn0, cycle_diurne
96  print 100
97  ENDIF
98 
99  IF( soil_model0.AND..NOT.soil_model.OR..NOT.soil_model0.AND.
100  , soil_model ) THEN
101  print 14, soil_model0, soil_model
102  print 100
103  ENDIF
104 
105  IF( new_oliq0.AND..NOT.new_oliq.OR..NOT.new_oliq0.AND.
106  , new_oliq ) THEN
107  print 16, new_oliq0, new_oliq
108  print 100
109  ENDIF
110 
111  IF( ok_orodr0.AND..NOT.ok_orodr.OR..NOT.ok_orodr0.AND.
112  , ok_orodr ) THEN
113  print 15, ok_orodr0, ok_orodr
114  print 100
115  ENDIF
116 
117  IF( ok_orolf0.AND..NOT.ok_orolf.OR..NOT.ok_orolf0.AND.
118  , ok_orolf ) THEN
119  print 17, ok_orolf0, ok_orolf
120  print 100
121  ENDIF
122 
123  IF( ok_limitvr0.AND..NOT.ok_limitvrai.OR..NOT.ok_limitvr0.
124  , and.ok_limitvrai ) THEN
125  print 18, ok_limitvr0, ok_limitvrai
126  print 100
127  ENDIF
128 
129  print 100
130  print *,
131 ' ******************************************************* ,************'
132  print 100
133 
134  4 FORMAT(2x,5("*"),' ok_journe= ',l3,3x,',ok_instan = ',
135  , l3,3x,',ok_region = ',l3,3x,5("*") )
136 
137  7 FORMAT(2x,5("*"),15x,' ok_limitvrai = ',l3,16x,5("*") )
138 
139  8 FORMAT(2x,'***** radpas = ' ,
140  , i4,6x,' *****')
141 
142  10 FORMAT(2x,5("*"),' Cycle_diurne = ',l3,4x,', Soil_model = ',
143  , l3,12x,6("*") )
144 
145 
146  11 FORMAT(2x,5("*"),' new_oliq = ',l3,3x,', Ok_orodr = ',
147  , l3,3x,', Ok_orolf = ',l3,3x,5("*") )
148 
149 
150  12 FORMAT(2x,'***** Nb d appels /jour des routines de rayonn. = ' ,
151  , i4,6x,' *****')
152 
153  13 FORMAT(2x,'$$$$$$$$ Attention !! cycle_diurne different sur',
154  , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3)
155 
156  14 FORMAT(2x,'$$$$$$$$ Attention !! soil_model different sur',
157  , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3)
158 
159  15 FORMAT(2x,'$$$$$$$$ Attention !! ok_orodr different sur',
160  , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3)
161 
162  16 FORMAT(2x,'$$$$$$$$ Attention !! new_oliq different sur',
163  , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3)
164 
165  17 FORMAT(2x,'$$$$$$$$ Attention !! ok_orolf different sur',
166  , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3)
167 
168  18 FORMAT(2x,'$$$$$$$$ Attention !! ok_limitvrai different sur',
169  , /1x,10x,' startphy = ',l3,2x,' et run.def = ',l3)
170 
171  20 FORMAT(/2x,'$$$$$$$$ Attention !! iflag_con different sur',
172  , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 )
173 
174  21 FORMAT(2x,'$$$$$$$$ Attention !! nbapp_rad different sur',
175  , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 )
176 
177  22 FORMAT(2x,'$$$$$$$$ Attention !! radpas different sur',
178  , /1x,10x,' startphy = ',i3,2x,' et run.def = ',i3 )
179 
180  100 FORMAT(/)
181 
182  RETURN
183  END