source: trunk/libf/phytitan/printflag.F @ 21

Last change on this file since 21 was 3, checked in by slebonnois, 14 years ago

Creation de repertoires:

  • chantiers : pour communiquer sur nos projets de modifs
  • documentation : pour stocker les docs

Ajout de:

  • libf/phytitan : physique de Titan
  • libf/chimtitan: chimie de Titan
  • libf/phyvenus : physique de Venus
File size: 6.0 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,new_oliq0,ok_orodr0
15       LOGICAL ok_orolf0,ok_limitvr0
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
35c      PRINT 11, new_oliq, ok_orodr, ok_orolf   
36c      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        new_oliq0     = .FALSE.
58        ok_orodr0     = .FALSE.
59        ok_orolf0     = .FALSE.
60        ok_limitvr0   = .FALSE.
61
62        IF( tabcntr0( 7 ).EQ. 1. )   cycle_diurn0 = .TRUE.
63        IF( tabcntr0( 8 ).EQ. 1. )    soil_model0 = .TRUE.
64        IF( tabcntr0( 9 ).EQ. 1. )      new_oliq0 = .TRUE.
65        IF( tabcntr0(10 ).EQ. 1. )      ok_orodr0 = .TRUE.
66        IF( tabcntr0(11 ).EQ. 1. )      ok_orolf0 = .TRUE.
67        IF( tabcntr0(12 ).EQ. 1. )    ok_limitvr0 = .TRUE.
68
69        PRINT *,' $$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$
70     ,$$$$$$$$$$$$$'
71        PRINT 100
72c
73
74       IF( INT( tabcntr0( 6 ) ) .NE. nbapp_rad  )   THEN
75        PRINT 21,  INT(tabcntr0(6)), nbapp_rad
76        if (INT(tabcntr0( 6 )).ne.0) then
77          radpas0  = NINT( RDAY/tabcntr0(1)/INT( tabcntr0(6) ) )
78        else
79          radpas0 = 9999
80        endif
81        PRINT 100
82        PRINT 22, radpas0, radpas
83        PRINT 100
84       ENDIF
85
86       IF( INT( tabcntr0( 16 ) ) .NE. nbapp_chim  )   THEN
87        PRINT 25,  INT(tabcntr0(16)), nbapp_chim
88        if (INT(tabcntr0(16)).ne.0) then
89         chimpas0  = NINT( RDAY/tabcntr0(1)/INT( tabcntr0(16) ) )
90        else
91         chimpas0 = 9999
92        endif
93        PRINT 100
94        PRINT 26, chimpas0, chimpas
95        PRINT 100
96       ENDIF
97
98       IF( cycle_diurn0.AND..NOT.cycle_diurne.OR..NOT.cycle_diurn0.AND.
99     ,        cycle_diurne )     THEN
100        PRINT 13, cycle_diurn0, cycle_diurne
101        PRINT 100
102       ENDIF
103
104       IF( soil_model0.AND..NOT.soil_model.OR..NOT.soil_model0.AND.
105     ,        soil_model )     THEN
106        PRINT 14, soil_model0, soil_model
107        PRINT 100
108       ENDIF
109
110       IF( new_oliq0.AND..NOT.new_oliq.OR..NOT.new_oliq0.AND.
111     ,        new_oliq )     THEN
112        PRINT 16, new_oliq0, new_oliq
113        PRINT 100
114       ENDIF
115
116       IF( ok_orodr0.AND..NOT.ok_orodr.OR..NOT.ok_orodr0.AND.
117     ,        ok_orodr )     THEN
118        PRINT 15, ok_orodr0, ok_orodr
119        PRINT 100
120       ENDIF
121
122       IF( ok_orolf0.AND..NOT.ok_orolf.OR..NOT.ok_orolf0.AND.
123     ,        ok_orolf )     THEN
124        PRINT 17, ok_orolf0, ok_orolf
125        PRINT 100
126       ENDIF
127
128       IF( ok_limitvr0.AND..NOT.ok_limitvrai.OR..NOT.ok_limitvr0.
129     ,     AND.ok_limitvrai )     THEN
130        PRINT 18, ok_limitvr0, ok_limitvrai
131        PRINT 100
132       ENDIF
133
134       PRINT 100
135       PRINT *,' *******************************************************
136     ,************'
137       PRINT 100
138
139 4     FORMAT(2x,5(1H*),' ok_mensuel = ',l3,2x,' ok_journe = ',l3,2x,'
140     . , ok_instan = ',l3,8x,5(1H*) )
141
142 7     FORMAT(2x,5(1H*),15x,'      ok_limitvrai   = ',l3,16x,5(1h*) )
143
144 8     FORMAT(2x,'*****             radpas    =                      ' ,
145     , i4,6x,' *****')
146
147 10    FORMAT(2x,5(1H*),'    Cycle_diurne = ',l3,4x,', Soil_model = ',
148     , l3,12x,6(1H*) )
149
150
151 11    FORMAT(2x,5(1H*),'  new_oliq = ',l3,3x,', Ok_orodr = ',
152     , l3,3x,', Ok_orolf = ',l3,3x,5(1H*) )
153
154
155 12    FORMAT(2x,'*****  Nb d appels /jour des routines de rayonn. = ' ,
156     , i4,6x,' *****')
157
158 13    FORMAT(2x,'$$$$$$$$   Attention !!  cycle_diurne  different  sur',
159     , /1x,10x,' startphy = ',l3,2x,' et  run.def = ',l3)
160
161 14    FORMAT(2x,'$$$$$$$$   Attention !!    soil_model  different  sur',
162     , /1x,10x,' startphy = ',l3,2x,' et  run.def = ',l3)
163
164 15    FORMAT(2x,'$$$$$$$$   Attention !!      ok_orodr  different  sur',
165     , /1x,10x,' startphy = ',l3,2x,' et  run.def = ',l3)
166
167 16    FORMAT(2x,'$$$$$$$$   Attention !!      new_oliq  different  sur',
168     , /1x,10x,' startphy = ',l3,2x,' et  run.def = ',l3)
169
170 17    FORMAT(2x,'$$$$$$$$   Attention !!      ok_orolf  different  sur',
171     , /1x,10x,' startphy = ',l3,2x,' et  run.def = ',l3)
172
173 18    FORMAT(2x,'$$$$$$$$   Attention !!  ok_limitvrai  different  sur',
174     , /1x,10x,' startphy = ',l3,2x,' et  run.def = ',l3)
175
176 20    FORMAT(/2x,'$$$$$$$$   Attention !!    iflag_con  different  sur',
177     , /1x,10x,' startphy = ',i3,2x,' et  run.def = ',i3 )
178
179 21    FORMAT(2x,'$$$$$$$$   Attention !!     nbapp_rad  different  sur',
180     , /1x,10x,' startphy = ',i3,2x,' et  run.def = ',i3 )
181
182 22    FORMAT(2x,'$$$$$$$$   Attention !!        radpas  different  sur',
183     , /1x,10x,' startphy = ',i3,2x,' et  run.def = ',i3 )
184
185 23    FORMAT(2x,'*****  Nb d appels /jour des routines de chimie = ' ,
186     , i4,6x,' *****')
187
188 24    FORMAT(2x,'*****            chimpas    =                      ' ,
189     , i4,6x,' *****')
190
191 25    FORMAT(2x,'$$$$$$$$   Attention !!     nbapp_chim different  sur',
192     , /1x,10x,' startphy = ',i3,2x,' et  run.def = ',i3 )
193
194 26    FORMAT(2x,'$$$$$$$$   Attention !!       chimpas  different  sur',
195     , /1x,10x,' startphy = ',i3,2x,' et  run.def = ',i3 )
196
197 100   FORMAT(/)
198
199       RETURN
200       END
Note: See TracBrowser for help on using the repository browser.