source: trunk/LMDZ.TITAN/libf/phytitan/printflag.F @ 537

Last change on this file since 537 was 102, checked in by slebonnois, 14 years ago

SL : corrections et modifications dans phytitan correspondant a celles
faites apres compilation Venus. Titan pas encore compile.

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