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