Changeset 1490 for LMDZ5/branches/LMDZ5V2.0-dev/libf/dyn3dpar/inidissip.F90
- Timestamp:
- Feb 18, 2011, 11:29:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
LMDZ5/branches/LMDZ5V2.0-dev/libf/dyn3dpar/inidissip.F90
r1489 r1490 11 11 ! ------------- 12 12 13 USE control_mod 13 USE control_mod, only : idissip,iperiod 14 14 15 15 IMPLICIT NONE … … 20 20 include "comvert.h" 21 21 include "logic.h" 22 23 LOGICAL lstardis 24 INTEGER nitergdiv,nitergrot,niterh 25 REAL tetagdiv,tetagrot,tetatemp 22 include "iniprint.h" 23 24 LOGICAL,INTENT(in) :: lstardis 25 INTEGER,INTENT(in) :: nitergdiv,nitergrot,niterh 26 REAL,INTENT(in) :: tetagdiv,tetagrot,tetatemp 27 28 ! Local variables: 26 29 REAL fact,zvert(llm),zz 27 30 REAL zh(ip1jmp1),zu(ip1jmp1),zv(ip1jm),deltap(ip1jmp1,llm) … … 32 35 REAL tetamin 33 36 REAL pseudoz 37 character (len=80) :: abort_message 34 38 35 39 REAL ran1 … … 66 70 67 71 IF ( zhmin .GE. zhmax ) THEN 68 PRINT*,' Inidissip zh min max ',zhmin,zhmax 69 STOP'probleme generateur alleatoire dans inidissip' 72 write(lunout,*)' Inidissip zh min max ',zhmin,zhmax 73 abort_message='probleme generateur alleatoire dans inidissip' 74 call abort_gcm('inidissip',abort_message,1) 70 75 ENDIF 71 76 … … 95 100 ! calcul des valeurs propres de gradiv (ii =1) et nxgrarot(ii=2) 96 101 ! ----------------------------------------------------------------- 97 print*,'calcul des valeurs propres'102 write(lunout,*)'inidissip: calcul des valeurs propres' 98 103 99 104 DO ii = 1, 2 … … 168 173 fact = rad*24./REAL(jjm) 169 174 fact = fact*fact 170 PRINT*,'coef u ', fact/cdivu, 1./cdivu171 PRINT*,'coef r ', fact/crot , 1./crot172 PRINT*,'coef h ', fact/cdivh, 1./cdivh175 write(lunout,*)'inidissip: coef u ', fact/cdivu, 1./cdivu 176 write(lunout,*)'inidissip: coef r ', fact/crot , 1./crot 177 write(lunout,*)'inidissip: coef h ', fact/cdivh, 1./cdivh 173 178 ! ENDIF 174 179 … … 196 201 197 202 198 PRINT*,'Constantes de temps de la diffusion horizontale'203 write(lunout,*)'inidissip: Constantes de temps de la diffusion horizontale' 199 204 200 205 tetamin = 1.e+6 … … 210 215 ENDDO 211 216 212 PRINT *,' INIDI tetamin dtvr',tetamin,dtvr,iperiod217 write(lunout,*)'inidissip: tetamin dtvr iperiod ',tetamin,dtvr,iperiod 213 218 idissip = INT( tetamin/( 2.*dtvr*iperiod) ) * iperiod 214 PRINT *,' INIDItetamin idissip ',tetamin,idissip219 write(lunout,*)'inidissip: tetamin idissip ',tetamin,idissip 215 220 idissip = MAX(iperiod,idissip) 216 221 dtdiss = idissip * dtvr 217 PRINT *,' INIDIidissip dtdiss ',idissip,dtdiss222 write(lunout,*)'inidissip: idissip dtdiss ',idissip,dtdiss 218 223 219 224 DO l = 1,llm 220 PRINT*,zvert(l),dtdiss*tetaudiv(l),dtdiss*tetaurot(l), &225 write(lunout,*)zvert(l),dtdiss*tetaudiv(l),dtdiss*tetaurot(l), & 221 226 dtdiss*tetah(l) 222 227 ENDDO
Note: See TracChangeset
for help on using the changeset viewer.